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 next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
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
Re: Changes to leveledit (including temp presets) in scripts 4.1 [message #485814 is a reply to message #485809] Sat, 08 February 2014 01:19 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Cool Thumbs Up

http://s18.postimage.org/jc6qbn4k9/bricks3.png
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 Go to previous messageGo to next message
Stallion is currently offline  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
Re: Changes to leveledit (including temp presets) in scripts 4.1 [message #485825 is a reply to message #485809] Sat, 08 February 2014 11:12 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Can you change the way temps are handled so it accepts subfolders?
I have to copy the map's lvl,ldd,lsd,ddb to the /Levels/ folder now or else it won't load.
This is a pain in the butt if you have many maps in your Levels folder. To keep things organized we use subfolders :/
And now the maps won't load until you move those files up 1 folder.............Work on it, then save it, copy it back to subfolder to yet again organize it lol...

Plz change it so it accepts subfolders Very Happy

index.php?t=getfile&id=14857&private=0


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: Changes to leveledit (including temp presets) in scripts 4.1 [message #485832 is a reply to message #485809] Sat, 08 February 2014 18:12 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

4.1RC3 (which should be released very soon) has fixes to make folders work properly again.


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 #485843 is a reply to message #485809] Sat, 08 February 2014 23:48 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Alright very nice, thanks! Very Happy

https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: Changes to leveledit (including temp presets) in scripts 4.1 [message #485844 is a reply to message #485809] Sun, 09 February 2014 00:05 Go to previous messageGo to next message
Mauler
Messages: 448
Registered: May 2003
Location: Alberta, Canada
Karma: 0
Commander
Still does not work...
Re: Changes to leveledit (including temp presets) in scripts 4.1 [message #485845 is a reply to message #485844] Sun, 09 February 2014 00:11 Go to previous messageGo to next message
Stallion is currently offline  Stallion
Messages: 222
Registered: April 2006
Karma: 0
Recruit
Stallion wrote on Sun, 09 February 2014 02:11

Stallion wrote on Sun, 09 February 2014 02:11

Mauler wrote on Sun, 09 February 2014 02:05

Still does not work...






PLEASE GIVE OPTION FOR OLD OR NEW VERSION!
I want my preset tabs!














Level edit is my play ground

[Updated on: Sun, 09 February 2014 00:16]

Report message to a moderator

Re: Changes to leveledit (including temp presets) in scripts 4.1 [message #485880 is a reply to message #485809] Sun, 09 February 2014 13:56 Go to previous message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Stallion: Come on irc.ultraaow.com and talk to me ill help you fix it.
Or add me on skype: MPFzunnie


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Previous Topic: Construction Yard tutorial for renegade modders
Next Topic: Helipad tutorial for renegade modders
Goto Forum:
  


Current Time: Fri Nov 22 15:30:16 MST 2024

Total time taken to generate the page: 0.00767 seconds