Changes to leveledit (including temp presets) in scripts 4.1 [message #485809] |
Fri, 07 February 2014 20:16 |
|
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
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
|
|
|
|
Re: Changes to leveledit (including temp presets) in scripts 4.1 [message #485824 is a reply to message #485809] |
Sat, 08 February 2014 11:05 |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
any chance this would fuck with the current setup for those that have vs 2012 right now?
out of nowhere my shit fucked up on me, I lost my presets, le crashed on load of map, and my game says it can't connect to the update server when I start it.
I thought maybe it was something I did, or that somehow the registry got messed up but I couldn't find anything wrong at it.
I'm currently reinstalling ren...
Level edit is my play ground
|
|
|
|
|
|
|
|
|