Page 2 of 3

Re: Race Project?

Posted: Sun Dec 15, 2013 7:50 pm
by General BlackDragon
Yeah, I generally throw away the STOCK method of AIPs as well, and use generic, ALL in ONE aips, that only care about the CPU Race.

Re: Race Project?

Posted: Sun Dec 15, 2013 10:09 pm
by Red Devil
can't imagine where you got that idea from...

Re: Race Project?

Posted: Sun Dec 15, 2013 11:46 pm
by Nielk1
Red Devil wrote:can't imagine where you got that idea from...
NOT YOU

Considering it was being dabbled with before you even touched G66 and before the current VIRTUAL CLASSes ever existed, but you just love to take credit for anything you can by implication.

Re: Race Project?

Posted: Sun Dec 15, 2013 11:51 pm
by MrTwosheds
It is the fairly obvious course of action, once you read all the AIP bits in changelogs.

Re: Race Project?

Posted: Sun Dec 15, 2013 11:57 pm
by General BlackDragon
Red Devil wrote:can't imagine where you got that idea from...
Allow me to show you:

Code: Select all

- Fix for mantis #183 (condition counts). Was only running down craft
lists. Changed planCompare to be a string, which makes a whole lot
more sense. Also added another parameter, planConditionClassProvided,
which runs down the provideName="blah" of each unit checked.

planCondition = "Exists"
planConditionClass = "ibarmocpu"
planConditionCount = 1
planCompare = "==" // or "!=" or "<" or "<=" or ">" or ">="
planConditionClassProvided = false // false:direct match only. True: check provides
planCondition2 = "Exists"
planConditionClass2 = "ibsbaycpu"
planConditionCount2 = 1
planCompare2 = "==" // or "!=" or "<" or "<=" or ">" or ">="
planConditionClassProvided2 = false // false:direct match only. True: check provides

[NM]
   Compiles, but is otherwise untested. [NM]

Code: Select all

- Work on mantis 228: Added to AIP files:

[Plan##]
planType = "Attacker" or "ClearArea" or "DefendArea" or "Defender" or "Explorer" or "CollectField" or "CollectPool" or "Hold" or "Service"
CheckProvides = true

   This provides tends to be used for both supply & targets -- e.g.,
in an attacker plan, the CheckProvides setting is used for both
targetType = "xyz" and attackType# = "abc". I think I got all the
cases, but I'm not sure. [There's a metric boatload of duplicated
code in that file...]  [NM]

Code: Select all

- Added, to AIP files

[Start]
CheckProvides = true // true = default

   The value read by this is used by all plan chunks as their default
value. Should allow modders to tweak this value fairly quickly. [NM]
So, When I decided to fix BZC's IA/MPI, and make the AIPs for it, I added non race specific provide names for each craft, and made the AIP not care what race the human was. I did that on my own in July 2010 when I made BZC's IA/MPI work. No way was I going to use the Stock method.


I believe you mentioned making G66 AIPs generic sometime a year or so after that...

Re: Race Project?

Posted: Mon Dec 16, 2013 12:19 am
by Nielk1
This was also the reason why the VIRTUAL classes were later added in 1.3, though no current AIPs use them. Had nothin' to do with RD.

Re: Race Project?

Posted: Mon Dec 16, 2013 3:19 am
by MrTwosheds
I used virtual classes in my (unfinished) mod, the only thing that still needs to be race specific are the things the AIP builds.
I imagine a clever dll and rigid naming conventions could overcome that too to some extent, then you could just use conditions to perform race specific attacks, like the bomber.

Re: Race Project?

Posted: Mon Dec 16, 2013 6:50 am
by Red Devil
of course, you misunderstand, as usual.

Re: Race Project?

Posted: Mon Dec 16, 2013 10:43 am
by Red Spot
Red Devil wrote:N = number of AIP''s needed

R= number of races

A = number of AIP's in a set

R² x A = N
You however do not have to make 'sets', that is just one method of making AIPs .. a method that happened to be used, but not the only method that could be used.

Basicly all you need is: R² = N
Or for generic AIPs: R = N
And you can even make 1 AIP for several races, but that just makes things more complicated than needed .. but that would mean: 1 = N

Re: Race Project?

Posted: Mon Dec 16, 2013 3:19 pm
by General BlackDragon
Red Devil wrote:of course, you misunderstand, as usual.
?

Re: Race Project?

Posted: Tue Dec 17, 2013 1:08 am
by Red Devil
Red Spot wrote:
Red Devil wrote:N = number of AIP''s needed
snip
that is what is called preaching to the choir.

about generic AIP's:

in the interest of saving labor - my labor - i made Natty's G66 AIP's 'generic' - before anyone else did - by eliminating the second race requirement in the G66 dll, drastically reducing the number of AIP's needed.

by eliminating the requirement for the second race requirement in the dll, i was able to reduce the amount of work needed on his AIP's and still retain Natty's vision and flexibility.

if some insecure glory hound wants to take credit for what i did - or the ideas that others have come up with before that... and say, 'oh, i knew/know how to do that!', or whatever, that's just...sad. :|

Re: Race Project?

Posted: Tue Dec 17, 2013 2:05 am
by General BlackDragon
You did that before July 2010?

It doesn't matter who did what first.
Red Devil wrote:can't imagine where you got that idea from...
Your sentence there implies that I stole the idea from you.

I merely wished to explain that, that is not the case. :)

If I did mis-understand the quoted sentence, I'm not sure how, and would like to know.

Re: Race Project?

Posted: Tue Dec 17, 2013 3:12 am
by Nielk1
Not to mention that is own later post he talks about people wanting to steal credit, like credit means anything. Just the usual implication that he did it, followed by people taking notice and saying "not you didn't", followed by him saying that people were too dumb to understand him (hence the "as usual" part of the comment) and then using what he just did to try to accuse them of it (taking credit). Laughable and transparent.

Re: Race Project?

Posted: Tue Dec 17, 2013 4:06 am
by Baconboy
Red Devil wrote:of course, you misunderstand, as usual.
:?

Re: Race Project?

Posted: Tue Dec 17, 2013 2:17 pm
by Red Spot
General BlackDragon wrote:You did that before July 2010?

It doesn't matter who did what first.
Well, I already build semi-generic AIPs around 2000 ... 8-)