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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEV Modders Knowledge Base

Reply
 
Thread Tools Display Modes
  #1  
Old October 15th, 2006, 09:13 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: Modding SEV Thread Questions

Possible.

requirement 1:
Get_Empire_Tech_Level("x") >= (1 + ([%Level%] - 12))
requirement 2:
Get_Empire_Tech_Level("y") >= (1 + ([%Level%] - 3))

should do it..
__________________
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
  #2  
Old October 15th, 2006, 09:46 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Modding SEV Thread Questions

I think you meant to put multiplication instead of subtraction.

This should work better:
requirement 1:
Get_Empire_Tech_Level("x") >= ([%Level%] * 11 - 10)
requirement 2:
Get_Empire_Tech_Level("y") >= ([%Level%] * 2 - 1)

Level 1 requires X >= (11-10 = 1) and Y >= (2-1 = 1)
Level 2 requires X >= (22-10 = 12) and Y >= (4-1 = 3)
Reply With Quote
  #3  
Old October 15th, 2006, 11:06 PM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Modding SEV Thread Questions

Apologies gentlemen; however, I am just too slow to follow those examples. I have decided to leave them as separate components that phase out. Now how about something a little less complex, how would I tackle this one?

I have the component “Bottomless Fiend Grinder” [BFG] and I want another generation to come available every other level. So for example:

At tech level 1 you get BFG 1.
At tech level 3 you get BFG 2.
At tech level, ya Ok you get the idea…

How would I do that?
__________________
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
Reply With Quote
  #4  
Old October 16th, 2006, 01:35 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Modding SEV Thread Questions

Requirement:

GETL("x") > [%Level%] * 2
Reply With Quote
  #5  
Old October 16th, 2006, 07:40 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: Modding SEV Thread Questions

Quote:
Suicide Junkie said: GETL("x") > [%Level%] * 2
...or GETL("x") > (([%Level%] * 2) - 1) for an odd series.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #6  
Old October 16th, 2006, 08:52 AM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Modding SEV Thread Questions

Ok; now I understand this and the other formula (1st and 12th tech level)! I was way over thinking the whole thing. Thanks guys, back to the grind till the next question.
__________________
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
Reply With Quote
  #7  
Old October 16th, 2006, 10:45 AM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Modding SEV Thread Questions

If I use a formula that generates a fraction what will SE do? Choke and die, round up, round down, or ignore all fractions?
__________________
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
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 01:29 AM.


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