.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: Starfury

Reply
 
Thread Tools Display Modes
  #21  
Old June 17th, 2004, 08:42 PM
MooseUpNorth's Avatar

MooseUpNorth MooseUpNorth is offline
Private
 
Join Date: Apr 2004
Location: The Maritimes
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
MooseUpNorth is on a distinguished road
Default Re: Modding Tools

To answer the inherent questions:

1) It'll be gradually rolled into one program. Since everything is essentially interconnected anyway, it makes more sense to have everything in one place. That way a change in one area can be "seen" to affect others.

2) Because this is going to involve a great deal of string handling and dynamic allocation, but not require much in the way of efficiency, I'm going to be using the Last fully stable Version of an older (somewhat obsolete) language I can get the most out of using the least progging time.

It's gone through a number of naming incarnations, but you can find the product here: www.emediat.com if you're curious. With all of it's excentricities, it's the best language I've ever encountered for string handling.

It's going to work, and work bloody well, but it's going to look dated and nowhere near as slick as something you might get out of .net SDKs.

3) Exan, you might look to see if your Version of C# or C++ supports the strtok function in the string.h header package. It dates to ANSI C, so it should be there. That's probably the most effective way to parse a line for text, but the extrenious spaces in the text might make it more difficult to use.

As for dealing with spaces, you can first locate the :=. Every non-leading/terminating space character before it is your variable. Every non-leading/terminating space character after it is your data.

Substring type functions can make this convenient to code, but it's not necessarily going to be particularly optimal code.

Still, that isn't going to matter in this type of application. You only need to worry about it if you were writing something real-time in tighter processing conditions.

I may have some time to code this weekend, if there are no additional surprises.
__________________
What is this talk of release? Klingons do not [i]release</i] software. Our software [i]escapes</i],
leaving a bloody trail of designers and quality assurance personnel in its wake.
- Qu'Koth son of Klagg, Senior Software Engineer
Reply With Quote
  #22  
Old June 17th, 2004, 11:59 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Modding Tools

Yuck!
Please don't post long-line code in code tags

Anyways:
http://imagemodserver.mine.nu/other/MM

You can browse down the tree to SF/Tools and grab my stuff.


-----

Handy things like Get/Set Value, Get/Set stringValue, increment/add/multiply/exponent value
and get/set Nth Value which is very handy for damage at range in SE4.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:30 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.