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

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old October 8th, 2006, 02:16 PM

Elsemeravin Elsemeravin is offline
Corporal
 
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Elsemeravin is on a distinguished road
Default 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 ?
Reply With Quote
  #2  
Old October 8th, 2006, 02:27 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #3  
Old October 8th, 2006, 02:39 PM

Elsemeravin Elsemeravin is offline
Corporal
 
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Elsemeravin is on a distinguished road
Default 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

?
Reply With Quote
  #4  
Old October 8th, 2006, 03:12 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default 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
Reply With Quote
  #5  
Old October 8th, 2006, 03:21 PM

MasterChiToes MasterChiToes is offline
Corporal
 
Join Date: Sep 2006
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
MasterChiToes is on a distinguished road
Default Re: Planet Type and Colony tech

Add in a researchable % max pop size bonus for native planet types...
Reply With Quote
  #6  
Old October 8th, 2006, 05:51 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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!).
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #7  
Old October 8th, 2006, 05:52 PM
Ragnarok-X's Avatar

Ragnarok-X Ragnarok-X is offline
Major General
 
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
Ragnarok-X is an unknown quantity at this point
Default Re: Planet Type and Colony tech

So, will you do Adamant Mod, Fyron ?
Reply With Quote
  #8  
Old October 9th, 2006, 02:31 AM

Elsemeravin Elsemeravin is offline
Corporal
 
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Elsemeravin is on a distinguished road
Default 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]
Reply With Quote
  #9  
Old October 9th, 2006, 03:20 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Planet Type and Colony tech

Ragnarok-X said:
So, will you do Adamant Mod, Fyron ?


I don't know...
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
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 07:48 AM.


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