Page 8 of 8

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Sun Feb 23, 2014 5:36 pm
by General BlackDragon
i dont think u can make AI use both factories.

MAYBE if u put them on a different baseSlot. But when I tried that I was unable to get it to work with the AI.

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Sun Feb 23, 2014 7:18 pm
by Ded10c
Protrector wrote:

Code: Select all

[GameObjectClass]
classLabel = "ivtank"



/////// weapons ////////////////////

weaponMask = 00111
weaponHard1 = "HP_CANNON_1"
weaponName1 = "gplasma_c"
weaponAssault1 = 0
weaponHard2 = "HP_CANNON_2"
weaponName2 = "gplasma_c"
weaponAssault2 = 0
weaponHard3 = "HP_GUN_1"
weaponName3 = "glaser_c"
weaponAssault3 = 0
weaponHard4 = "HP_GUN_2"
weaponName4 = "glaser_c"
weaponAssault4 = 0

///////////////////////////////////

[CraftClass]

[HoverCraftClass]

[Lod1]

[Lod2]
It makes tanks with sp stab, not with plasma....
This might not be what's causing your issue, but that .odf has an incorrect weapon structure; Sabres only have one HP_CANNON. Re your issue, make sure your AIP refers to the correct file.

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Sun Feb 23, 2014 7:57 pm
by MrTwosheds
It makes tanks with sp stab, not with plasma....
classLabel = "ivtank" does not have 2 cannons...you need to inherit from the Heavy Sabre that has 2 cannons, whatever that is called.
Is this one correct?
You have given it the combat laser glaser_c, it should be glaser_a ( or you change to weaponAssault1 = 0)

Two factories is probably not going to work, without some serious modding and dll support.
Check the logic of your aip, it should not build 2.

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Sun Feb 23, 2014 8:03 pm
by DarkCobra262
MrTwosheds wrote:
It makes tanks with sp stab, not with plasma....
classLabel = "ivtank" does not have 2 cannons...you need to inherit from the Heavy Sabre that has 2 cannons, whatever that is called.
Is this one correct?
You have given it the combat laser glaser_c, it should be glaser_a ( or you change to weaponAssault1 = 0)

Two factories is probably not going to work, without some serious modding and dll support.
Check the logic of your aip, it should not build 2.
Heavy Sabre = ivtankm2a

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Mon Feb 24, 2014 4:19 pm
by Protrector
Removed link.

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Tue Feb 25, 2014 8:43 am
by Red Devil
noticed you have maxLoops entries in the BuildMinimum plans, so it's uncertain whether you intended them to be BuildMinimum plans or BuildLoop plans.

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Tue Feb 25, 2014 5:09 pm
by Protrector
Yes, but if I do not set max loops, it will loop endlessly, won't it?

Also, how to give plasma to sabre?

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Tue Feb 25, 2014 8:18 pm
by MrTwosheds
That is what build minimums is supposed to do.
To place limits on it use conditions such as this (non stock race!)

Code: Select all

[Plan55]//Build level 1 assault units
planCondition = "Exists"
planConditionClass = "dbfact"
planConditionClassProvided = true 
planConditionCount = 1
planCompare = "="        ////If the AI factory exists
planConditionOr = false  ////and...
planCondition2 = "NotExists"
planConditionClass2 = "VIRTUAL_CLASS_TECHCENTER"
planConditionClassProvided2 = true
planConditionCount2 = 1
planCompare2 = "="      ////there is no AI techcenter
planConditionOr2 = false ////and...
planCondition3 = "NotExists"
planConditionClass3 = "VIRTUAL_CLASS_BARRACKS"
planConditionClassProvided3 = true
planConditionCount3 = 1
planCompare3 = ">="  //// there are no AI barracks
MinTtlScrap = 100       ////when the AI have 100 scrap capacity or more. (3 pools)
HisMinTtlScrap = 80    ////and the player has  at least 80 scrap capacity (2 pools)
planType = "BuildMinimums" ////do this
planPriority = 750
buildType1 = "dvmbike"
buildCount1 = 2
buildType2 = "dvrckt"
buildCount2 = 1
buildType3 = "dvatank"
buildCount3 = 1
This is basically the first tech level assault units plan, it ensures there is a factory to build them, that the tech center and barracks have not been built yet and that the AI has enough scrap capacity to build assault units. It also checks the Player for only having one pool...in which case another plan rushes him with cheaper faster ships :twisted:
Once the tech center or barracks have been built, this plan stops being used and another assault plan builds units with better weapons.
Also, how to give plasma to sabre?
You figure out whats going wrong with what you did. :)

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Thu Feb 27, 2014 6:27 pm
by Protrector
Removed link.

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Sun Mar 02, 2014 12:49 pm
by Protrector
Removed link.

Re: SWORD-insane aip for mpi games.Extract in battlezone fol

Posted: Sun Mar 02, 2014 9:56 pm
by DarkCobra262
I like the removed links. Me being me, I'd say you can create a ODF that has a Sabre with plasma... since it's just an AIP.