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

Notification

Icon
Error

sub4gman Offline
#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
adrianemapmaker Offline
#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,114
Philippines
Location: Norzagaray,Bulacan

Thanks: 312 times
Was thanked: 181 time(s) in 145 post(s)
remove their ejectpilot die module
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb






sub4gman Offline
#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?
UTD^Force Offline
#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: 793
Jordan
Location: Middle east

Thanks: 448 times
Was thanked: 161 time(s) in 145 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.
<3
The lilacs where the robin built,
And where my brother set
The laburnum on his birthday,
The tree is living yet!

"I rarely have many failures. If I'm baking a cake and it fails, it becomes pudding."

"Sometimes I sit and wonder, "why am I not in a mental asylum?" Then I take a good look at everyone around me and realize, maybe I am."

A flower does not think of competing to the flower next to it. It just blooms.
Zatsupachi Offline
#5 Posted : Sunday, April 19, 2020 8:15:15 PM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 4 times
Was thanked: 212 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.

Powered by YAF 1.9.6.1 | YAF © 2003-2020, Yet Another Forum.NET
This page was generated in 0.527 seconds.