|
|
|
 |
|

October 14th, 2006, 02:48 PM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding SEV Thread Questions
Looks ok to me.
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|

October 14th, 2006, 05:24 PM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Modding SEV Thread Questions
I need another formula help. What if I want to create a damage formula with the following values:
Range: 0 – 10 – 20 – 30 – 40 – 50 – 60 – 70 – 80 – 90 – 100 – 110 – 120
Damage inflicted: 30 – 30 – 20 – 20 – 20 – 10 – 10 – 10 – 10 – 10 – 10 – 10 – 10
How would I do this? I know that I only need to do the formula once as I want a flat damage rate so the min and max formula would be the same. Apologies but the formatting isn’t coming out and I don’t want to make it into columns.
__________________
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
|

October 14th, 2006, 05:29 PM
|
Corporal
|
|
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding SEV Thread Questions
Why don't you use the exact same formula as for accuracy (below) but changing the weight and limits ?
kind of :
iff %range% <=10 ,30,iff %range% <=40 , 20,iff %range% <=120,10,0
|

October 14th, 2006, 05:47 PM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Modding SEV Thread Questions
Quote:
Elsemeravin said:
Why don't you use the exact same formula as for accuracy (below) but changing the weight and limits ?
kind of :
iff %range% <=10 ,30,iff %range% <=40 , 20,iff %range% <=120,10,0
|
Can I do that? SJ, CPT Kwok, Phoenix-D? Is that a legal formula to use for the damage? How would I place the range limit on it? Something like
>=121, 10000, 0
The >= is for the cut off point.
The 10000 is to change all damage to 0 past that point.
I have no idea why the last 0 is in there(?).
__________________
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
|

October 14th, 2006, 06:10 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Modding SEV Thread Questions
You don't want 10000 damage; that would be huge.
Give me 10 minutes, and I'll tweak my equation parser program to show values at range.
__________________
Things you want:
|

October 14th, 2006, 06:17 PM
|
 |
Captain
|
|
Join Date: Apr 2004
Location: Texas
Posts: 962
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Re: Modding SEV Thread Questions
Yaa...I know what PES is working on...

|

October 14th, 2006, 06:38 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Modding SEV Thread Questions
http://imagemodserver.mine.nu/other/...angeLister.zip
The one thing to keep in mind is that SE5's formula parser is not as flexible as this one.
SE5 demands whitespace everywhere, for example.
Note:
If you're not sure what is causing an error condition, press the "verbose" button, and it will tell you what it thinks is wrong with your formula.
__________________
Things you want:
|

October 14th, 2006, 06:46 PM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Modding SEV Thread Questions
Quote:
Kana said:
Yaa...I know what PES is working on...
|

__________________
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
|

October 14th, 2006, 05:28 PM
|
Second Lieutenant
|
|
Join Date: Sep 2006
Posts: 482
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding SEV Thread Questions
AI colonies...
-Main script calls function to give ship orders.
-If its a colony ship, it calls the colony minister function.
-The minister looks for a planet to colonize (doesn't seem to care about any details, just if it can).
The AI has a function to pick a colony type, what calls that? It also seems to base what colony type based off of how many other colonies of the same type there are?
|

October 14th, 2006, 07:24 PM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Modding SEV Thread Questions
Quote:
aegisx said:The AI has a function to pick a colony type, what calls that? It also seems to base what colony type based off of how many other colonies of the same type there are?
|
The file Script_AI_ColonyType.txt contains the syntax for the AI to choose a colony type. In stock, it chooses a colony type based on a set percentage desired for each type. If it picked a resource type, then it would pick what resource by the value. Of course this meant a lot of times the AI was using good resource planets for stupid things. However, in the Balance Mod I switched this for the AI to pick a one of the resource colonies if the planet value was good to excellent and if it was poor in value to pick one of the other types based on a desired percentage in the empire.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
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
|
|
|
|
|