![]() |
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.
|
Re: Plague extension
I see my answer was missed earlier:
Quote:
|
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. |
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) |
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. |
Re: Plague extension
Quote:
|
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. http://forum.shrapnelgames.com/images/smilies/cool.gif 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. |
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( |
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) |
Re: Plague extension
What's the range of the missile tho? They do naturally fizzle when their damage at range hits zero.
|
All times are GMT -4. The time now is 06:45 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.