I know this should be posted in the HD2 modding section but i want everyone to read this and it looks like nearly nobody looks into the modding section. So pls don?t move it
As i already posted this month on the GS forum I wrote a MAXScript that?s able to import a bunch of 4ds files into 3ds Max. Textures are not supported yet.
There?s also a problem with sectors cause sub objects are not positioned correctly by the script yet. Also, it supports currently only standart 4ds and not the scene.4ds files but i?ve also included a few functions trying to import the maps (usually you would edit the scene.4ds files in a level editor an not 3ds max).
DOWNLOAD LINK AT THE BOTTOM - I?ve also commented the script and an (outdated) data tree is included
What are 4ds files?
They are the 3d model files of H&D2. Every map and every object, weapon, verhicle etc you see in H&D2 is based on these files
What can I do with these files?
You can only import them for now. But I hope we?re moving further so we can write a fully working exporter.
So can we create complete new maps soon?
Making a completed new map from scratch may be possible. But we would have to develop a level editor cause i think it?s not possible to export a whole map from 3ds max.
Fortunatly i have some programming experience and I?ve also started developing a (very simple) level editor but:
- It?s my first 3d programming project (I?m using Python 2.6 and OpenGL atm)
- I don?t have much time, so developing this as a one-man-project would take too long
You need the program 3ds Max (don?t know by which versions the script is supported).
To run the script:
- open 3ds Max
- click "MAXScript" in the menu bar
- click "Run Script" and select the the script file
- a file dialog appears, now select the .4ds file you want to import
Here a few renderings from imported files:
And finally here?s the script: