![]() |
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 ? |
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 |
Re: Planet Type and Colony tech
Quote:
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 ? |
Re: Planet Type and Colony tech
Maybe with an If statement, but I don't think it'll work like that.
|
Re: Planet Type and Colony tech
Add in a researchable % max pop size bonus for native planet types... http://forum.shrapnelgames.com/images/smilies/happy.gif
|
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!).
|
Re: Planet Type and Colony tech
So, will you do Adamant Mod, Fyron ?
|
Re: Planet Type and Colony tech
Quote:
Same with Light and Darkness powers http://forum.shrapnelgames.com/images/smilies/happy.gif [img]/threads/images/Graemlins/Cold.gif[/img] http://forum.shrapnelgames.com/images/smilies/evil.gif |
Re: Planet Type and Colony tech
Ragnarok-X said:
So, will you do Adamant Mod, Fyron ? I don't know... |
All times are GMT -4. The time now is 03:54 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.