sub4gman
  • sub4gman
  • 51% (Neutral)
  • Private Topic Starter
6 years ago
How to make a vehicle cannot be hijacked or depilot? Can someone help me.
Sponsor
AdrianeMapMaker
5 years ago
remove their ejectpilot die module
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




sub4gman
  • sub4gman
  • 51% (Neutral)
  • Private Topic Starter
5 years ago

remove their ejectpilot die module

Originally Posted by: adrianemapmaker 



Where is that exactly?
UTD^Force
5 years ago
He/she is talking about this module in the codes of the units you want to edit.

Object AmericaVehicleHumvee
:.....
  Behavior = EjectPilotDie ModuleTag_16
    DeathTypes = ALL -CRUSHED -SPLATTED
    ExemptStatus = HIJACKED
    ; The following added out per hotlist request 10/9 as above ML
    VeterancyLevels =  ALL -REGULAR ;only vet+ gives pilot
    GroundCreationList = OCL_EjectPilotOnGround
    AirCreationList = OCL_EjectPilotViaParachute
  End
:.....
End
---------------------
You can find this in ...\zero hour's folder\Data\INI\Object in files like AmericaVehicle.ini.
If you want to change this for a single map, you will need to make a map.ini files in the map's folder in your documents and the code for the unit you want to edit.
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
Zatsupachi
5 years ago
Anti-hijack protection, since that's besides removing the 'VEHICLE' KindOf so that Hijackers don't see the vehicles as a vehicle.

For KILL_PILOT, just make the unit an ArmorSet immune to the KILL_PILOT damage type.


Armor VehicleArmorWithImmunityToKillPilot
;//standard vehicle protections, just copy the kind of armor of your choice and add this:
KILL_PILOT 0%
End

Now it's not fullproof but I doubt there's AoE KILL_PILOT weapons in your mod.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
Users browsing this topic