.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 > SEV Modders Knowledge Base

Reply
 
Thread Tools Display Modes
  #171  
Old October 15th, 2006, 03:37 PM

Spectarofdeath Spectarofdeath is offline
Sergeant
 
Join Date: Jun 2004
Posts: 305
Thanks: 0
Thanked 0 Times in 0 Posts
Spectarofdeath is on a distinguished road
Default Re: Modding SEV Thread Questions

Are we able to build or mod in a certain structure that can only be built once?
Reply With Quote
  #172  
Old October 15th, 2006, 08:56 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

What if I have a ship component and I want the first version of it to be open for development at tech level x1 and tech level y1. However, I do not want the second version to be developed till tech level x12 and tech level y3. Can that be coded? Put another way:

I want to make a ship component “Funky Monkey 1” and “Funky Monkey 2”.

Funky Monkey 1 can be developed at tech level x =1 and tech level y =1.
Funky Monkey 2 can be developed at tech level x=12 and tech level y=3.

I want this to be generational (one component) so I can write the component Maximum Level as 2. At this time I have them written as two components with Funky Monkey 1 set to disappear when research for Funky Monkey 2 has been completed.
__________________
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
  #173  
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
  #174  
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
  #175  
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
  #176  
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
  #177  
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,623
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
  #178  
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
  #179  
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
  #180  
Old October 16th, 2006, 11:11 AM
Captain Kwok's Avatar

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

Most formulas can do decimal entries and the result is either rounded off or used as is depending on what it is affecting. For example, damage is rounded to whole number, while population reproduction or sight level is not. Formula fields that don't use decimals usually return a value of 0.
__________________
Space Empires Depot | SE:V Balance Mod
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 09:46 AM.


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