View topic - SpringModEdit



All times are UTC + 1 hour


Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: SpringModEdit
PostPosted: 11 Nov 2010, 02:10 
Moderator

Joined: 12 Oct 2007, 08:24
http://code.google.com/p/zero-k/source/ ... ingModEdit

Useful batch lua unitdef editor which has been around for a long time yet noone has explained how to use it. Licho made it so I don't know anything technical, I will just explain how I use it.

To do a batch edit
1. Start CaEdit.exe in /bin
2. Click "Mod" -> "Load", browse to select .sdd folder of required mod and click load.
3. Load a procedure
4. Click execute
5. "Mod" -> "Save"

Note that when saving it will use a certain format, not necessarily the one you had originally.

Procedures are placed in /Procedures and are simple lua scripts. There are plenty of procedures in that folder already so anyone who knows a bit of lua should be able to learn the commands and make their scripts.

Many of the examples have doPreviewOnly. For the batch edit to change anything doPreviewOnly needs to be false.


Top
 Offline Profile  
 
 Post subject: Re: SpringModEdit
PostPosted: 11 Nov 2010, 02:12 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
Outdated link ? Moved to zero-k project btw..


Top
 Offline Profile  
 
 Post subject: Re: SpringModEdit
PostPosted: 11 Nov 2010, 02:27 
Moderator

Joined: 12 Oct 2007, 08:24
Oh ok, I will update the link. I didn't think you were going to move anything that wasn't actively developed.


Top
 Offline Profile  
 
 Post subject: Re: SpringModEdit
PostPosted: 11 Nov 2010, 02:28 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
It is actively developed, we add procedures all the time.


Top
 Offline Profile  
 
 Post subject: Re: SpringModEdit
PostPosted: 11 Nov 2010, 12:24 
User avatar

Joined: 19 Aug 2009, 15:09
Location: Sol 3
That sounds like very helpful tool.
Sometimes I don't mange stuff that are obvious to others, so please explain: how do i download it?


Top
 Offline Profile  
 
 Post subject: Re: SpringModEdit
PostPosted: 11 Nov 2010, 15:47 
User avatar

Joined: 19 Aug 2009, 15:09
Location: Sol 3
Thanks, i got it. Apparently i had to click 'View raw file' to download.

The tool doesn't work well with my mod, though. I like to put my units in sub folders named after their faction. Spring still finds them. But it seems the mod editor doesn't. Not sure if I should sacrifice my personal tidiness preferences and ensuing oversight.

(edit: Also not sure why the post attempting to answer my question is gone. Kinda makes me look like I'm talking to my self.)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.