.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: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old September 30th, 2002, 07:00 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Modding question...facilities

Is this a correct statement?

"A facility can be upgraded to one in the same family that has a higher roman numeral."

Is there anything more to it, or is that it for upgrading facilities?

Also, what happens if you have two facilities with the same family number and the same roman numeral? Will the game crash on that?

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #2  
Old September 30th, 2002, 07:50 PM

tesco samoa tesco samoa is offline
General
 
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
tesco samoa is on a distinguished road
Default Re: Modding question...facilities

upgrades occur on same Facility Family and the increase in Roman Numeral

but..
I have noticed that duplicates just overright themselves...
and the one that is further down the facilities.txt is shown as the latest. When there are dups.
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg

Hey GUTB where did you go...???

He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
Reply With Quote
  #3  
Old September 30th, 2002, 07:52 PM

Hotfoot Hotfoot is offline
Corporal
 
Join Date: May 2001
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Hotfoot is on a distinguished road
Default Re: Modding question...facilities

Quote:
Originally posted by geoschmo:
Also, what happens if you have two facilities with the same family number and the same roman numeral? Will the game crash on that?

Geoschmo
You mean if you assign the exact same identifier to two different variables, what will happen?

My guess is that either the game says "What are you doing?" and crashes, or only uses one of the two.
__________________
L* GdY $? Fr? C--- S* T? Sf* Tcp- A++ M>M+ Mp!>Mp* RHP!>RV Pw Fq ND? Rp+ G++ AuO MM++
Reply With Quote
  #4  
Old September 30th, 2002, 07:57 PM
Rollo's Avatar

Rollo Rollo is offline
Brigadier General
 
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
Rollo is on a distinguished road
Default Re: Modding question...facilities

My guess is that it will use the one that is further down the list.

Rollo
__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
Reply With Quote
  #5  
Old September 30th, 2002, 08:51 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Modding question...facilities

Ok, I confirmed that much. The game does not crash or anything. You can build any of the same family/numeral faciliites, but when you decide to upgrade them it will upgrade to the Last one in the list.

What I am trying to do is mod some way to make monolith facilities an option. They are great and all for resource production, but they are jsut so darned expensive that in the typical multiplayer game that Lasts 100-150 turns they jsut aren't practical. THey take so long to build that you would do way better jsut building the resource specific facility.

Anyway, I came up with a suggestion. I don't know if this a totally original idea. I don't recall anyone doing it exactly like this. But the idea is for a reto facility that costs around what a single resourse facility would, and only produces one resource, but is upgradable to a standard monilith facility.

Using these you can build whatever resource specific fac you need to have at the moment due to immediate empire needs. But for a slight decrease in production, and a sligth increase in construction costs, build it in such a way the it is convertable to a monolithe facility down the road when the planet is full and isn't doing anything else.

We do this sort of thing now when we build power plants. Modern coal, oil and nuclear plants are designed to make it easier to retrofit them down the road if neccesary due to shortages or environmental/political concerns. Makes sense to me resource facilities in teh future would be able to do something similer.

What do you think?

Geoschmo

code:
Name                := Retrolith Facility - Min
Description := Universal tool which can harvest all of a planet's resources.
Facility Group := Resource Extraction
Facility Family := 4
Roman Numeral := 0
Restrictions := None
Pic Num := 58
Cost Minerals := 2500
Cost Organics := 2500
Cost Radioactives := 2500
Number of Tech Req := 1
Tech Area Req 1 := Stellar Manipulation
Tech Level Req 1 := 1
Number of Abilities := 1
Ability 1 Type := Resource Generation - Minerals
Ability 1 Descr := Mines 600 minerals each turn.
Ability 1 Val 1 := 600
Ability 1 Val 2 := 0
|
Name := Retrolith Facility - Org
Description := Universal tool which can harvest all of a planet's resources.
Facility Group := Resource Extraction
Facility Family := 4
Roman Numeral := 0
Restrictions := None
Pic Num := 58
Cost Minerals := 2500
Cost Organics := 2500
Cost Radioactives := 2500
Number of Tech Req := 1
Tech Area Req 1 := Stellar Manipulation
Tech Level Req 1 := 1
Number of Abilities := 1
Ability 1 Type := Resource Generation - Organics
Ability 1 Descr := Mines 600 organics each turn.
Ability 1 Val 1 := 600
Ability 1 Val 2 := 0
|
Name := Retrolith Facility - Rad
Description := Universal tool which can harvest all of a planet's resources.
Facility Group := Resource Extraction
Facility Family := 4
Roman Numeral := 0
Restrictions := None
Pic Num := 58
Cost Minerals := 2500
Cost Organics := 2500
Cost Radioactives := 2500
Number of Tech Req := 1
Tech Area Req 1 := Stellar Manipulation
Tech Level Req 1 := 1
Number of Abilities := 1
Ability 1 Type := Resource Generation - Radioactives
Ability 1 Descr := Mines 600 radioactives each turn.
Ability 1 Val 1 := 600
Ability 1 Val 2 := 0



[ September 30, 2002, 20:13: Message edited by: geoschmo ]
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #6  
Old September 30th, 2002, 08:57 PM
Ragnarok's Avatar

Ragnarok Ragnarok is offline
General
 
Join Date: Mar 2002
Location: Indiana
Posts: 3,229
Thanks: 0
Thanked 0 Times in 0 Posts
Ragnarok is on a distinguished road
Default Re: Modding question...facilities

I like the idea. I always wished there was a way I could just push the upgrade button and have monoliths be built where they arn't already. Instead of having to do it all manually. Which, IMO is a pain in the butt. But yes, very good idea Geo.
__________________
Ragnarok - Hevordian Story Thread
-------------------
I think...therefore I am confused.
They were armed. With guns, said Omari.
Canadians. With guns. And a warship. What is this world coming to?
The dreaded derelict dwelling two ton devil bunny!
Every ship can be a minesweeper... Once
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 04:42 AM.


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