|
|
|
 |

January 22nd, 2007, 02:22 AM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Work on MainStrings.txt
Mainstrings.txt only controls how strings are interpreted. For example, you could change the name of the ability "Master Computer" to "Command Computer", which means you would have to change the Master Computer entry in Components.txt to use the ability "Command Computer", but it would still do the same thing as it did before. It's only really useful for making translations, such as if you were making a German version, you'd want to re-name all the abilities to German names etc. Alternatively you could re-name resource types but you wouldn't be able to add any new ones.
|

January 22nd, 2007, 10:01 AM
|
First Lieutenant
|
|
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Work on MainStrings.txt
Yeah, I've tried, and it looks like it's impossible to add anything to that file: the main executable expects it to be of a certain size so it wont let you start the game if you do add something.
|

January 22nd, 2007, 10:11 AM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Work on MainStrings.txt
I know you can't add any new lines. I tried and it does complain. However, in this case I found open lines so you are not adding any new ones. I would agree with you CPT Kwok except by adding there I think you can script it elsewhere then have SE5 act on the instructions we have given. There are a few references in the first pdf he put out with the 1.20 patch (?) that mention scripting and defining functions. I think as long as we add an entry here SE5 wont complain if that entry is added elsewhere. I'm not saying you can get planets to mine the base three and another new one. More like you can get SE5 to treat a new entry as a resource. I'm pulling from thin air based on speculation. If anything like that proves true can you imagine the possibilities? I said something about SE5 starting the Golden Age of modders but if this holds true or if Aaron can add it in for us saying Golden Age would be an understatement.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
|

January 22nd, 2007, 01:22 PM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Work on MainStrings.txt
I don't think so. Each entry corresponds to a specific item like an ability or displayed text. The empty entries won't do anything because they are not currently used in the game. There's no way for us to code in a function to treat a new entry or even a current entry in a different way.
The coolness of MainStrings.txt lies in the fact that for a mod like Space Food Empires - I could rename the resources and even the abilities associated with them to what I wanted. For example, I change Minerals to Carbohydrates and so I would change the ability "Mined Resource Generation - Minerals" to something like "Resource Point Generation - Carbohydrates" etc.
|

January 22nd, 2007, 05:59 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Work on MainStrings.txt
Or "Nutrient Extraction" 
__________________
Things you want:
|

January 22nd, 2007, 06:01 PM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Work on MainStrings.txt
Actually SJ, I've been waiting for you to rename the resource types etc. for your GGmod.
|

January 22nd, 2007, 06:11 PM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Work on MainStrings.txt
I have already done some renaming, so I knew that part. 
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|