LevelRedit, a .mix to .lvl converter! [message #284227] |
Thu, 13 September 2007 18:30 |
|
Hello together!
Finally, after few weeks of hard work, I finished a program to convert Renegade maps back to LevelEdit level files.
Please report warnings, unusual errors and bugs to yrr@icefinch.net.
Download: http://www.icefinch.net/files/LevelRedit.zip
Usage:- Add one or more Renegade .mix maps.
- Set the output folder (you'd use your LevelEdit folder).
- Click on 'Convert Now!'.
- After converting, open LevelEdit and choose the mod package which has the same name as the map you just converted.
- Open the .lvl file for the map you converted.
After conversion, to complete the map:- Remove pathfind generators you don't need. The converter automatically creates pathfind generators in front of each carmaker, which could be too much.
- Remove duplicate tiles. The converter may add tiles which were already imported with the terrain and therefor may be duplicates.
- Add pathfind blockers as you need them.
- Save the map.
- In the menu, choose 'Pathfind' > 'Generate sectors...'. This may take much time.
- Save the map.
- In the menu, choose 'Lightning' > 'Compute Vertex Solve', check 'Check Occlusion' and hit OK. This may take much time.
- Save the map.
- You should add and apply VIS points to improve the map's performance. Skip this if you only want to test the map.
Restrictions:- As mentioned above, LevelRedit may produce duplicate tiles.
- No editor only objects will be generated, you have to add them by yourself.
- No VIS points will be generated, you have to add them by yourself.
Protection:- If you don't want your map to be converted back to a LevelEdit level file, place a light anywhere on your map and set it's ambient light color to RGB(51,102,153).
- You cannot protect old maps you already released.
Yrr.
Creator of...
Resurrection, a Command & Conquer: Renegade Modification
LevelRedit, a .mix to .lvl converter
|
|
|
|
|
|
|
|
|
|
|
Re: LevelRedit, a .mix to .lvl converter! [message #284322 is a reply to message #284227] |
Fri, 14 September 2007 07:19 |
|
jamiejrg
Messages: 403 Registered: February 2007 Location: Canada
Karma: 0
|
Commander |
|
|
Wow, this app came together quick. Your dedication is astounding.
Jamie
cncnick13 wrote on Fri, 24 August 2007 23:39 | ok im using my dektop right now
|
cncnick13 wrote on Sun, 26 August 2007 00:04 | umm whats the edit button
|
|
|
|
Re: LevelRedit, a .mix to .lvl converter! [message #284353 is a reply to message #284227] |
Fri, 14 September 2007 11:56 |
|
IronWarrior
Messages: 2460 Registered: November 2004 Location: England UK
Karma: 0
|
General (2 Stars) |
|
|
Quote: | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
<LevelRedit v1.00>
Started log output at 2007-09-14 19:54:05
--------------------------------------------------------------------------------
Loading default preset database 'data\objects.ddb'...
Converting map 'Z:\Games\Westwood\RenegadeFDS\AOWServer\Data\C&C_FieldTS.mix'...
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
Warning: Assertion failed in .\source\converter\westwood\EditorObject.cpp:163 (code 'this->name').
ERROR: Skipping map because of too many warnings.
Conversion finished (1 error, 20 warnings)!
--------------------------------------------------------------------------------
Finished log output at 2007-09-14 19:54:08
--------------------------------------------------------------------------------
|
Got this today, when I'll was trying to convert an modded FieldTS.mix
Still made an .lvl file which opened.
[Updated on: Fri, 14 September 2007 12:02] Report message to a moderator
|
|
|
|
|
Re: LevelRedit, a .mix to .lvl converter! [message #284364 is a reply to message #284227] |
Fri, 14 September 2007 12:33 |
|
Yrr.
Yes, I wanted to do something new and this tool took me only few weeks
ANd it helps me improving other projects, since I know much about .mix, .ldd, .lsd, .ddb, .tdb and .lvl file formats now
Yrr.
Creator of...
Resurrection, a Command & Conquer: Renegade Modification
LevelRedit, a .mix to .lvl converter
|
|
|
|
|
Re: LevelRedit, a .mix to .lvl converter! [message #284391 is a reply to message #284227] |
Fri, 14 September 2007 14:12 |
|
Slave
Messages: 607 Registered: December 2006
Karma: 0
|
Colonel |
|
|
In other news, i loaded up metro_ts.
But this doesnt seem quite right. Happens to every light, and it's obvious whats wrong. Mixup!
edit: I just checked it out, and it appears to be wrong on at least 3 other maps too. Most likely any.
edit: Also, why are all lights directional? Spotlight would be the weapon of choice.
-
Attachment: swapped.png
(Size: 23.16KB, Downloaded 2366 times)
[Updated on: Fri, 14 September 2007 14:23] Report message to a moderator
|
|
|
|
Re: LevelRedit, a .mix to .lvl converter! [message #284406 is a reply to message #284227] |
Fri, 14 September 2007 16:13 |
|
Slave
Messages: 607 Registered: December 2006
Karma: 0
|
Colonel |
|
|
Hey,
I don't want to spam your topic with something that might be a dumb remark. But I was unsure why the following get's done.
Right after converion, scripts.dll and scripts2.dll show up in the Scripts folder of a package. It's your provided scripts.dll and scripts2.dll from my renegade directory. Wich is pretty much the same file. Is there any reason why this gets done?
Also +1 cookie for the update. Thanks.
edit: and ofcourse i meant "Point" lightning instead of "Spotlight" in my above post. You fixed it the right way, it's all good now.
[Updated on: Fri, 14 September 2007 16:18] Report message to a moderator
|
|
|
|
|
Re: LevelRedit, a .mix to .lvl converter! [message #284442 is a reply to message #284227] |
Fri, 14 September 2007 18:56 |
|
I took a look at the skirmish scripts a while back and 90% of the work is done by 3 scripts, MSK_Info_Zone, MSK_Soldier and MSK_Controller.
The real work happens in MSK_Controller which is VERY hardcoded (including object IDs for various objects located on the map)
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
|
|