Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Cpt.Parker  
#1 Posted : Monday, July 31, 2023 7:59:59 AM(UTC)
Cpt.Parker
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
Sponsor
Offline Gameanater  
#2 Posted : Wednesday, August 2, 2023 11:34:27 PM(UTC)
Gameanater
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 5/13/2013(UTC)
Posts: 1,537
United States
Location: Right Behind You

Thanks: 574 times
Was thanked: 166 time(s) in 144 post(s)
Originally Posted by: Cpt.Parker Go to Quoted Post
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.
Offline Cpt.Parker  
#3 Posted : Friday, August 4, 2023 4:36:37 PM(UTC)
Cpt.Parker
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.
Offline Cpt.Parker  
#4 Posted : Saturday, August 5, 2023 11:47:47 PM(UTC)
Cpt.Parker
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.

Offline AdrianeMapMaker  
#5 Posted : Monday, August 7, 2023 7:20:14 AM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

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.
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





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.