Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Changes to leveledit (including temp presets) in scripts 4.1
Changes to leveledit (including temp presets) in scripts 4.1 [message #485809] Fri, 07 February 2014 20:16 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

Some new command line options have been added to leveledit in Scripts 4.1. These are intended to make it possible to batch-compile level files.
The new command line options are:
-mod <name of mod> (bypass the mod package dialog and load with the specified mod.)
-map <name of map< (automatically load the specified map. Will also turn off the music and sound effect checkboxes. Only works if -mod is passed.)
-light (runs "compute vertex solve" after the map has been opened)
-save (automatically save the map file, creating the .ldd and .lsd files then exit LE after saving. Only works if -map is passed.)

Note that I have no idea what will happen if you pass a non-existent mod package or map to these parameters so dont do it Smile

Also, if you want to produce a mix file after building the map, you can use makemix.exe to do that.

Also, some changes have been made to the way leveledit handles temp presets (changes designed to make things a bit more reliable and less prone to temp preset corruption)

In 4.1, temps20.ddb is no longer used. Instead, each lvl has its own set of temp presets. If you wish to copy the temp presets from one map to another, you just need to make a duplicate of the .ddb file for the first map and give it the name of the second map.

If you want to make a new map with an existing set of temps, open LE, save a new empty map with the desired name then copy the temps file over to the new map before re-starting LE and opening the new map.

If you start LE (or file-new) and created temp presets without saving the map first, they will not be saved until you save the map.

Note that if you do a "Save as" and save the map under a new name, the temp presets do get copied over to the new name.


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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Construction Yard tutorial for renegade modders
Next Topic: Helipad tutorial for renegade modders
Goto Forum:
  


Current Time: Thu Nov 21 22:12:47 MST 2024

Total time taken to generate the page: 0.00758 seconds