|
|
|
 |

October 8th, 2006, 02:16 PM
|
Corporal
|
|
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
SEV: Planet Type and Colony tech
While waiting to get the full version (SEV), I'm having an idea using the demo and searching data files :
Setting the following in PlanetPhysicalTypes.txt:
Name := Solid Rock
Description :=
Picture Index := 2
Tech Area For Colonization := Native Solid Rock Planet Colonization
Name := Ice
Description :=
Picture Index := 1
Tech Area For Colonization := Native Ice Planet Colonization
Name := Gas Giant
Description :=
Picture Index := 3
Tech Area For Colonization := Native Gas Giant Colonization
Name := Flooded
Description :=
Picture Index := 1
Tech Area For Colonization := Native Flooded Planet Colonization
Name := Volcanic
Description :=
Picture Index := 1
Tech Area For Colonization := Native Volcanic Planet Colonization
Then the tech tree would have: the following requirement:
For the native colonization tech, a requirement making impossible to research (like have already level 1 in that tech or racial something necessary)
Then 5 Advanced colonization tech:
Advanced Solid Rock Planet Colonization
Requirement:
Native Solid Rock Planet Colonization >=1
OR Advanced Ice Planet Colonization >=3
OR Advanced Gas Giant Colonization >=9
OR Advanced Flooded Planet Colonization >=7
OR Advanced Volcanic Planet Colonization >=4
Advanced Ice Planet Colonization
Requirement:
Native Ice Planet Colonization >=1
OR Advanced Solid Rock Planet Colonization >=4
OR Advanced Gas Giant Colonization >=8
OR Advanced Flooded Planet Colonization >=3
OR Advanced Volcanic Planet Colonization >=9
Advanced Gas Giant Colonization
Requirement:
Native Gas Giant Colonization >=1
OR Advanced Solid Rock Planet Colonization >=9
OR Advanced Ice Planet Colonization >=9
OR Advanced Flooded Planet Colonization >=4
OR Advanced Volcanic Planet Colonization >=6
Advanced Flooded Planet Colonization
Requirement:
Native Flooded Planet Colonization >=1
OR Advanced Solid Rock Planet Colonization >=5
OR Advanced Ice Planet Colonization >=5
OR Advanced Gas Giant Colonization >=3
OR Advanced Volcanic Planet Colonization >=8
Advanced Volcanic Planet Colonization
Requirement:
Native Volcanic Planet Colonization >=1
OR Advanced Solid Rock Planet Colonization >=5
OR Advanced Ice Planet Colonization >=7
OR Advanced Gas Giant Colonization >=8
OR Advanced Flooded Planet Colonization >=7
This way everyone can research every colonization tech, but the kind of planet you choose determine the one would be able to colonize first.
2 Questions to people having the full version already or the beta tester (should I say beta modder?) around:
1] Can the restriction on native tech be easily possible ?
2] Can such "OR" combination made on the tech tree ?
|

October 8th, 2006, 02:27 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: Planet Type and Colony tech
You can make OR requirements. It would look something like:
Requirements Evaluation Availability := OR
Requirements Evaluation Allows Placement := TRUE
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in A.
Requirement 1 Formula := Get_Empire_Tech_Level("A") >= 1
Requirement 2 Description := Empire must have at least tech level 1 in B.
Requirement 2 Formula := Get_Empire_Tech_Level("B") >= 1
Requirement 3 Description := Empire must have at least tech level 1 in C.
Requirement 3 Formula := Get_Empire_Tech_Level("C") >= 1
|

October 8th, 2006, 02:39 PM
|
Corporal
|
|
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Planet Type and Colony tech
Quote:
Imperator Fyron said:
You can make OR requirements. It would look something like:
Requirements Evaluation Availability := OR
Requirements Evaluation Allows Placement := TRUE
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in A.
Requirement 1 Formula := Get_Empire_Tech_Level("A") >= 1
Requirement 2 Description := Empire must have at least tech level 1 in B.
Requirement 2 Formula := Get_Empire_Tech_Level("B") >= 1
Requirement 3 Description := Empire must have at least tech level 1 in C.
Requirement 3 Formula := Get_Empire_Tech_Level("C") >= 1
|
Would it be possible to do the same as:
Requirements Evaluation Availability := AND
Requirements Evaluation Allows Placement := TRUE
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in A.
Requirement 1 Formula := Get_Empire_Tech_Level("A") >= 1 OR Get_Empire_Tech_Level("B") >= 1 OR Get_Empire_Tech_Level("C") >= 1
?
|

October 8th, 2006, 03:12 PM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Planet Type and Colony tech
Maybe with an If statement, but I don't think it'll work like that.
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|

October 8th, 2006, 03:21 PM
|
Corporal
|
|
Join Date: Sep 2006
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Planet Type and Colony tech
Add in a researchable % max pop size bonus for native planet types... 
|

October 8th, 2006, 05:51 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: Planet Type and Colony tech
Yes, that should work. You can use ORs in the req formula, since it is a boolean logic conditional evaluation. It's a little more clear with the other way, but you can build much more complex requirement possibilities with the inline ORs and ANDs (as well as NORs and NANDs with NOT; exclusive techs, oh my!).
|

October 8th, 2006, 05:52 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
|
|
Re: Planet Type and Colony tech
So, will you do Adamant Mod, Fyron ?
|

October 9th, 2006, 02:31 AM
|
Corporal
|
|
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Planet Type and Colony tech
Quote:
Imperator Fyron said:
(as well as NORs and NANDs with NOT; exclusive techs, oh my!).
|
Could make a nice combination between ecology and nuclear weapon. The first one you discover make you unable to research the other.
Same with Light and Darkness powers  [img]/threads/images/Graemlins/Cold.gif[/img] 
|

October 9th, 2006, 03:20 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: Planet Type and Colony tech
Ragnarok-X said:
So, will you do Adamant Mod, Fyron ?
I don't know...
|
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
|
|
|
|
|