Can a carrier type dispense a construction rig?
Moderators: GSH, VSMIT, Red Devil, Commando
Can a carrier type dispense a construction rig?
Or better yet can an armory dispense a construction rig on the battlefield?
Can a construction rig be set to automatically demolish enemy buildings when dropped off or dispensed near an enemy buildings?
I don't play much online stuff but I especially love to make my own custom maps for instant action game play on a home LAN. Could use some suggestions on how to accomplish this kind of stuff. Thanks.
How is it done...I've made carrier types that dispense custom units based off of the Cerberi Demon although it been a while since I've done this with success. I know it has to do with a custom weapons dispenser and an appropriate HP. Am I missing something else?
Can a construction rig be set to automatically demolish enemy buildings when dropped off or dispensed near an enemy buildings?
I don't play much online stuff but I especially love to make my own custom maps for instant action game play on a home LAN. Could use some suggestions on how to accomplish this kind of stuff. Thanks.
How is it done...I've made carrier types that dispense custom units based off of the Cerberi Demon although it been a while since I've done this with success. I know it has to do with a custom weapons dispenser and an appropriate HP. Am I missing something else?
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: Can a carrier type dispense a construction rig?
yes, the armo can sling pretty much anything. when i first started modding i had it slinging daywreckers and soldiers into their base and around the map just to watch.
demolishing would take dll work.
check the engageRange and aiRange settings.
demolishing would take dll work.
check the engageRange and aiRange settings.
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: Can a carrier type dispense a construction rig?
The bomber usesCan a construction rig be set to automatically demolish enemy buildings when dropped off or dispensed near an enemy buildings?
[BomberClass]
AiCommandToBomb = 3 // == CMD_GO
To drop its bomb at things.
If you set it to drop a constructor instead and set
AiCommandToBomb = 31 // == CMD_DEMOLISH
Then presumably it would do that, I have not tried it, so I don't know if it works, but I don't know of any other way that might work.
Re: Can a carrier type dispense a construction rig?
Would be cool if the destruct command worked. The bomber doesn't perform an action on the object you point at, but the spot of the ground said object was at.
- bigbadbogie
- Bull Dog
- Posts: 586
- Joined: Mon Feb 21, 2011 8:12 am
- Location: Ecuadorian Embassy
Re: Can a carrier type dispense a construction rig?
Hang on... is the AI command given to the bomber or to the bomb?
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: Can a carrier type dispense a construction rig?
My info is taken from Commando's mod log. So maybe he knows more than I.
I believe the command is from bomber to bomb and that CMD_GO is what causes the bomb to drift towards its target.
I have not tried dropping constructors and do not know if CMD_DEMOLISH will work or not.
I believe the command is from bomber to bomb and that CMD_GO is what causes the bomb to drift towards its target.
I have not tried dropping constructors and do not know if CMD_DEMOLISH will work or not.
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: Can a carrier type dispense a construction rig?
No, AIComamndToBomb is the # in the Menu that "Attack" appears.
The bomb falls because it's a powerup derived (daywrecker) class.
The DLL can tell said constructor to demolish nearest enemy building.
The bomb falls because it's a powerup derived (daywrecker) class.
The DLL can tell said constructor to demolish nearest enemy building.
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: Can a carrier type dispense a construction rig?
AiCommandToBomb determines what command is given to the bomb by the bomber that dropped it. By default, the GoTo command is given to the bomb which is why it heads for the target.
AiCommandToBomb allows you to override the behavior using the following values.
CMD_NONE, // == 0
CMD_SELECT, // == 1
CMD_STOP, // == 2
CMD_GO, // == 3
CMD_ATTACK, // == 4
CMD_FOLLOW, // == 5
CMD_FORMATION, // == 6
CMD_PICKUP, // == 7
CMD_DROPOFF, // == 8
CMD_UNDEPLOY, // == 9
CMD_DEPLOY, // == 10
CMD_NO_DEPLOY, // == 11
CMD_GET_REPAIR, // == 12
CMD_GET_RELOAD, // == 13
CMD_GET_WEAPON, // == 14
CMD_GET_CAMERA, // == 15
CMD_GET_BOMB, // == 16
CMD_DEFEND, // == 17
CMD_RESCUE, // == 18
CMD_RECYCLE, // == 19
CMD_SCAVENGE, // == 20
CMD_HUNT, // == 21
CMD_BUILD, // == 22
CMD_PATROL, // == 23
CMD_STAGE, // == 24
CMD_SEND, // == 25
CMD_GET_IN, // == 26
CMD_LAY_MINES, // == 27
CMD_LOOK_AT, // == 28
CMD_SERVICE, // == 29
CMD_UPGRADE, // == 30
CMD_DEMOLISH, // == 31
CMD_POWER, // == 32
CMD_BACK, // == 33
CMD_DONE, // == 34
CMD_CANCEL, // == 35
CMD_SET_GROUP, // == 36
CMD_SET_TEAM, // == 37
CMD_SEND_GROUP, // == 38
CMD_TARGET, // == 39
CMD_INSPECT, // == 40
CMD_SWITCHTEAM, // == 41
CMD_INTERFACE, // == 42
CMD_LOGOFF, // == 43
CMD_AUTOPILOT, // == 44
CMD_MESSAGE, // == 45
CMD_CLOSE, // == 46
CMD_MORPH_SETDEPLOYED, // For morphtanks // == 47
CMD_MORPH_SETUNDEPLOYED, // For morphtanks // == 48
CMD_MORPH_UNLOCK, // For morphtanks // == 49
CMD_BAILOUT, // == 50
CMD_BUILD_ROTATE, // Update building rotations by 90 degrees. // == 51
CMD_CMDPANEL_SELECT, // == 52
CMD_CMDPANEL_DESELECT, // == 53
This setting was added in 1.3 build 72h
- Zero Angel
- Attila
- Posts: 1536
- Joined: Mon Feb 21, 2011 12:54 am
- Contact:
Re: Can a carrier type dispense a construction rig?
Seems that it's a DLL triggered event. I tested in the editor with a bomber dropping "ivcons" with an order of 31 (demolish), and the con just stood there. I also tried with "ivapc" and an attack order (4) and the APC didnt do anything. Dropping scouts and other units with sub-attack routines did attack though since they would do that anyways when idle and in-range.
Re: Can a carrier type dispense a construction rig?
That wouldn't work ZA, even if it did what we think it does, since it would either have no target or only a vector target not a handle target.
Try CMD_BAILOUT and drop a scout from the bomber, if it blows up, this sends the command to the bomb. Most usable would be the command to make a minelayer lay mines or the command to make an aircraft or turret deploy.
As it is a standard enumeration it would make sense to expose the full array of command options in case someone got an idea, and because future commands might be added (unlikely, but look at the MORPH lock and unlock in there).
EDIT: Moved the topic to Modding
Try CMD_BAILOUT and drop a scout from the bomber, if it blows up, this sends the command to the bomb. Most usable would be the command to make a minelayer lay mines or the command to make an aircraft or turret deploy.
As it is a standard enumeration it would make sense to expose the full array of command options in case someone got an idea, and because future commands might be added (unlikely, but look at the MORPH lock and unlock in there).
EDIT: Moved the topic to Modding
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: Can a carrier type dispense a construction rig?

I have something new to play with...
Re: Can a carrier type dispense a construction rig?
Very nice. Maybe a carrier with several Hadean Xerrakis would do the trick. I wonder if it would work with a Bomber too? I remember a race I wanted to created years ago called BNG Genok's Raiders; basically a bunch of mixed race rebels set on ending the Bio wars being raged by the other races. The Raiders would be a kamakazi ready to give their lives for their leader Genok. Think it might work?