![]() |
Re: Anyone working on a modding tool yet?
Sj has a slot modder and a store modder out; I don't know of anything else.
|
Anyone working on a modding tool yet?
I was wondering if anyone has started work on a modding utility for the data files in starfury - like the editors for se4. Or should I just start up VB and make on myself?
|
Re: Anyone working on a modding tool yet?
|
Re: Anyone working on a modding tool yet?
I have a nifty VB library of functions for working with MM style datafiles if you want.
|
Re: Anyone working on a modding tool yet?
You do? VB 6, VB.NET, or some other Version? Post them, I might be able to use those... nah, I never get anything done http://forum.shrapnelgames.com/images/icons/tongue.gif
|
Re: Anyone working on a modding tool yet?
http://imagemodserver.mine.nu/miscel...-functions.zip
Most of it is meant for dealing with one-liner strings from the text files. For example, X$ = addvalue(X$,n) This looks for the := and then adds n to the number it finds there. Non-numbers or words count as zero and are changed into just n. "Get/Set first pos number" is for those "Ability # name := blah blah" type lines. The "Get/Set nth value" functions is a generalization of the previous, and is great for working on the damage at range line. |
Re: Anyone working on a modding tool yet?
You don't like comments, do you, SJ? http://forum.shrapnelgames.com/images/icons/tongue.gif
I've been spoiled by the latest IDEs' "you type a dot after something and it tells you all its properties and methods" and "you type an opening parenthesis and it tells you all the function's arguments"... and I STILL need comments to jog my memory! http://forum.shrapnelgames.com/images/icons/icon10.gif |
Re: Anyone working on a modding tool yet?
Heh. What's a comment, and how do I do a goto in this language? http://forum.shrapnelgames.com/images/icons/tongue.gif
|
Re: Anyone working on a modding tool yet?
Goto sucks!! EWwwwwwwwwwwwww!
|
Re: Anyone working on a modding tool yet?
Though there are times when I am tempted to use it instead of more "sophisticated" programming techniques... I mean, which is easier to read:
Old-Style Quick & Dirty Gotos </font><blockquote><font size="1" face="sans-serif, arial, verdana">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">foreach (Array innerArray in outerArray) { foreach (Item i in innerArray) { if (i == target) { foundit = true; goto done; } } } done:</pre><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">"Sophisticated" Procedural Programming Workaround </font><blockquote><font size="1" face="sans-serif, arial, verdana">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">foreach (Array innerArray in outerArray) { foreach (Item i in innerArray) { if (i == target) { foundit = true; // can't break out of more than one loop at once without a goto! break; } } // so I have to check again in each loop level to avoid wasting time searching for something I already found! // not too annoying with only 2 levels, but with more... :eek: if (foundit == true) break; }</pre><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">OK, that wasn't the best example (when was the Last time you had more than 3 levels of nested loops anyway? http://forum.shrapnelgames.com/image...s/rolleyes.gif ) but there ARE times when a goto would come in handy, but I couldn't make myself touch it for fear of being shunned for life http://forum.shrapnelgames.com/images/icons/tongue.gif |
All times are GMT -4. The time now is 03:56 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.