Cpt.Parker
2 years ago
Hello Reader,
My goal is to make an "Overdrive"-Mode for the Battlemaster Tank, which can be activated, once the Nuclear Tank Upgrade has been purchased. WHile in this mode, the Battlemaster losses health every second, gains a higher rate of fire, and drives faster than normal.

I figured out how to handle the damage per second through the chinese reactor overload command.
The switch from "normal" to "Overdrive" mode is handled as well through the chinese nuclear artilery payload switch option.

My problem is that I can't use a "locomotor = SET_NORMAL_UPGRADED (Locomotorname)" again, as the Nuclear Tank Upgrade uses this one.

My Idea to solve this isue is to use the Panic Mode to get around this.
locomotor = SET_PANIC (Locomotorname)"

Unfortunatly, I didn't find any hints in the INIZH.big File, on how to change the State of a Unit to PANICKING.
Does anybody know hot to grant this conditionstate somehow?

Thank you very much for your time.
Kind Regards
Cpt. Parker
Sponsor
Gameanater
2 years ago

Unfortunatly, I didn't find any hints in the INIZH.big File, on how to change the State of a Unit to PANICKING.
Does anybody know hot to grant this conditionstate somehow?

Originally Posted by: Cpt.Parker 



From what i can tell looking at the Civilian infantry, PANICKING is only something that happens if they see a unit on their faction being damaged or killed, causing them to start running away for a short time. I think it has to do with having the KindOf "CAN_BE_REPULSED"

Best I can tell, there's not another way to impose this "PANICKING" state. You might have better luck trying to do something with CombatCycle rider logic since that unit changes both its weapon and locomotor depending on its rider.
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
Cpt.Parker
2 years ago
I was trying around withe the CombatBike Rider Logic for some time.
Unfortunatly I can't make a proper chnage, without actualy giving the tank the ability to take on a Rider to change to ^^'
But I will try again, as I don't see any other option to achieve my idea.
Cpt.Parker
2 years ago
Do you, or anyone that reads this, know how to chnage the payload (rider) or the RIDERN status, without sending another unit to man the tank?
I tried using the StatusBitsUpgrade module, but either I use the wrong status names (tried with RIDERX and with STATUS_RIDERX, both tries didn't yield any results except the game won't even start now.

Thank you in advance for any answers and clues.

AdrianeMapMaker
2 years ago
iirc other respectable mods use the crates, they spawn crates at those units to get them be collected by the unit itself.
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage