• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

AIP making help :hosolon

Started by hosolon, December 27, 2008, 08:09:00 PM

Previous topic - Next topic

Red Devil

Nope.  Each AIP type (013als) does a different thing and are triggered by the DLL depending upon game state, so you need to set them up that way.

0 == startup (collect pools)

1/3 General action

A == Ant-Assault

S == Anti-Siege

L == Late Game
What box???

mrtwosheds

#16
In pb4a there is a switch.

[Start]
DLLCanSwitch = False
to turn off dll switching if you want to, but then you have to supply commands like this to make it switch when you want it to.

[Plan1]
MinTtlScrap = 100
//HisMinTtlScrap = 100
planCondition = "HisExists"
planConditionClass = "dbfact"
planConditionCount = 1
planCondition2 = "HisExists"
planConditionClass2 = "dbarmo"
planConditionCount2 = 1
planCondition3 = "HisExists"
planConditionClass3 = "dbsbay"
planConditionCount3 = 1
planPriority = 255
planType = "SwitchAIP"
NextAIP = "LOS13_dd6.aip"

Im hoping to make my aips a bit smarter with this, but making aip sets takes some mental dedication and time to do, its not easy.

hosolon

this is what a pre-made .aip file looks like.
planType = "CollectPool"
planType = "CollectPool"
planType = "CollectPool"
planType = "BuildMinimums"
planConditionClass = "fbforg"
buildType1 = "fvscout"
planType = "Attacker"
attackType2 = "fvscout"
planType = "CollectField"
planType = "BuildMinimums"
buildType1 = "fvcons"
planType = "BaseBuildMinimums"
planConditionClass = "fbforg"
buildType1 = "fbkiln"
planType = "Upgrade"
planConditionClass = "fbforg"
planType = "Attacker"
attackType1 = "fvscout"
planType = "BaseBuildMinimums"
buildType1 = "fbspir"
planType = "Attacker"
planType = "BaseBuildMinimums"
buildType1 = "fbdowe"
buildType2 = "fbstro"
[Plan]
planType = "Attacker"

where is the switch from 0 to 1 or 3 or from a to l?
my question is do i have to make an .aip file 6 times or just once?
      the pre-made ones have all 6 :?

TheJamsh

you have to make 6 AIP files. they DONT get split up in-game.

all six are different


BZII Expansion Pack Development Leader. Coming Soon.

mrtwosheds

The stock aips do not use the DLLCanSwitch = False switch.

The dll switches aip's when certain conditions are met, like
Going near the enemy base
building 3 assault vehicles etc etc.

I was just pointing out that DLLCanSwitch = False can be used to customise this switching, you could use it so that you just use 2 simple aip's, or maybe 10 huge and complex ones!

Thorough reading of the modlog's is essential to gain an understanding of what is now possible with aip's.