Private Joined: 10/10/2022(UTC) Posts: 7
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
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
|
|
|
|
General Joined: 5/13/2013(UTC) Posts: 1,537 Location: Right Behind You Thanks: 574 times Was thanked: 166 time(s) in 144 post(s)
|
Originally Posted by: Cpt.Parker 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? 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. Edited by user Wednesday, August 2, 2023 11:35:34 PM(UTC)
| Reason: shortened |
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there. |
|
|
|
Private Joined: 10/10/2022(UTC) Posts: 7
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
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.
|
|
|
|
Private Joined: 10/10/2022(UTC) Posts: 7
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
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.
|
|
|
|
General Joined: 3/8/2016(UTC) Posts: 1,158 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
iirc other respectable mods use the crates, they spawn crates at those units to get them be collected by the unit itself. |
|
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.