|
|
|
|
|
October 18th, 2006, 06:48 PM
|
|
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Plague extension
It's important to note that the amounts of Engines/LS/CQ that the AI will add to a vehicle size is "hard-coded" and they will continue to follow them regardless of how you change the data file. You'll need to edit Script_AI_GlobalSettings.txt file to correct for this and recompile all the AIs.
|
October 18th, 2006, 08:13 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: Plague extension
I see my answer was missed earlier:
Quote:
Imperator Fyron said:
Adding a max per ship can be done via the vehicle hulls, as in that LCX thread, or you could probably work something into the placement requirements of the component.
|
|
October 18th, 2006, 11:23 PM
|
|
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Plague extension
No I was just using the battleship as an example; I thought the “Burger King” gave it away (he-he). My dry humor doesn’t work in written word either I see! At least I’m consistent.
The good news is that Fyron’s AI Tag (his example) works as will any actual ability. For example I used sight range and it worked.
The bad news is the ability will not work in the components; it will only work in the vehicles.
On a last note, I have no idea why I want to stick an “a” in digraph. At this point it has become the joke of the class.
__________________
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 18th, 2006, 11:53 PM
|
|
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Plague extension
Would this be a legal statement and a self terminating seeker at range 40?
Weapon Seeker Tonnage Structure Formula := 10 - iif ([%Range%] >= 40, 0)
__________________
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 19th, 2006, 12:01 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Plague extension
No, but that's because your iif only has two parts.
iff( <condition>, <do-if-true>, <do-if-false> )
In addition, subtracting zero from 10 equals 10.
There is also the question of what range means to a seeker in flight.
__________________
Things you want:
|
October 19th, 2006, 12:04 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Plague extension
Quote:
President_Elect_Shang said:
...
On a last note, I have no idea why I want to stick an “a” in digraph. At this point it has become the joke of the class.
|
Perhaps because you are thinking of "diagram"?
__________________
Things you want:
|
October 19th, 2006, 12:22 AM
|
|
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Plague extension
I keep getting the error: Could not parse formula.
So I will have make a note of how they work, I have a feeling there will be plenty of other errors when I do a first test run. Hard way to learn but I will learn. I don’t have the slightest notion how it would treat range, I needed a way to make the seeker either inflict no damage or what I am truly trying for is to “self destruct” itself (so-to-speak) at a certain cutoff range. How about :
iif ([%Range%] <= 40, 10, 0)
I draw diagrams for some of the more complex digraphs so that could be it. Or maybe because it makes the kids laugh and that has reinforced it to the point of habit.
Edit:
Need to correct myself: I already have the seekers doing no damage past a certain range, well I am fairly confident that is what I did.
__________________
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 19th, 2006, 12:25 AM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Plague extension
The syntax for the forumlas has to be fairly exact.
DON'T put that space between the iif and the (, for example. Just plain iff(
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|
October 19th, 2006, 12:37 AM
|
|
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: Plague extension
YES!!!!!!!!!!!!!!!!
Ladies and gentlemen the seeker self-destructed at a range of 40! The weapon flew at the other ship and at the correct range there was an explosion and the seeker disappeared even though it was nowhere close to the other ship!
Formula used: iif([%Range%] <= 40, 10, 0)
__________________
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 19th, 2006, 12:45 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: Plague extension
What's the range of the missile tho? They do naturally fizzle when their damage at range hits zero.
__________________
Things you want:
|
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
|
|
|
|
|