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

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline sub4gman  
#1 Posted : Wednesday, April 8, 2020 10:44:41 PM(UTC)
sub4gman
Private
Joined: 4/8/2020(UTC)
Posts: 20

Thanks: 4 times
How to make a vehicle cannot be hijacked or depilot? Can someone help me.
Sponsor
Offline AdrianeMapMaker  
#2 Posted : Thursday, April 9, 2020 7:42:38 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)
remove their ejectpilot die module
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





Offline sub4gman  
#3 Posted : Thursday, April 9, 2020 11:00:37 PM(UTC)
sub4gman
Private
Joined: 4/8/2020(UTC)
Posts: 20

Thanks: 4 times
Originally Posted by: adrianemapmaker Go to Quoted Post
remove their ejectpilot die module


Where is that exactly?
Offline UTD^Force  
#4 Posted : Saturday, April 11, 2020 3:58:51 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
He/she is talking about this module in the codes of the units you want to edit.

Code:
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.
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Offline Zatsupachi  
#5 Posted : Sunday, April 19, 2020 8:15:15 PM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
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.

Code:

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/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
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.