SWORD-insane aip for mpi games.Extract in battlezone folder.

Moderators: GSH, VSMIT, Red Devil, Commando

User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

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

Post 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.
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

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

Post 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.
Last edited by Ded10c on Sun Feb 23, 2014 8:04 pm, edited 1 time in total.
battlezone.wikia.com needs your help!
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

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

Post 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.
The Silence continues. The War Of Lies has no end.
User avatar
DarkCobra262
Sabre
Posts: 275
Joined: Sat Feb 25, 2012 9:13 pm
Contact:

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

Post 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
Modding/Modelling like a noob...
Protrector
Thunderbolt
Posts: 105
Joined: Mon Sep 30, 2013 4:01 pm

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

Post by Protrector »

Removed link.
Last edited by Protrector on Sun Mar 02, 2014 5:59 pm, edited 1 time in total.
Building aips for everyone.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

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

Post 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.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
Protrector
Thunderbolt
Posts: 105
Joined: Mon Sep 30, 2013 4:01 pm

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

Post 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?
Building aips for everyone.
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

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

Post 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. :)
The Silence continues. The War Of Lies has no end.
Protrector
Thunderbolt
Posts: 105
Joined: Mon Sep 30, 2013 4:01 pm

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

Post by Protrector »

Removed link.
Last edited by Protrector on Sun Mar 02, 2014 5:59 pm, edited 1 time in total.
Building aips for everyone.
Protrector
Thunderbolt
Posts: 105
Joined: Mon Sep 30, 2013 4:01 pm

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

Post by Protrector »

Removed link.
Building aips for everyone.
User avatar
DarkCobra262
Sabre
Posts: 275
Joined: Sat Feb 25, 2012 9:13 pm
Contact:

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

Post 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.
Modding/Modelling like a noob...
Post Reply