how to stop enemy ai entering the barcspeeder ?

Started by wsa30h, October 11, 2019, 09:18:12 AM

Previous topic - Next topic
how do i stop the enemy from entering the barcspeeder ? i changed the available for both teams from 1 to 0 that didnt work so i removed the line completely and they still use it.
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh

October 13, 2019, 12:46:02 AM #1 Last Edit: October 13, 2019, 06:04:44 AM by oldsnake
hi did you try to set the team/sides ai    imp_inf_storm_trooper.odf
NoEnterVehicles = 1
[GameObjectClass]

ClassLabel = "soldier"
GeometryName = "tat_inf_jawa.msh"

[Properties]
FootWaterSplashEffect = "watersplash_sm"
WaterSplashEffect = "watersplash_md"
WakeWaterSplashEffect = "watersplash_wade"

UnitType = "support"
MapTexture = "troop_icon"
MapScale = 1.4

GeometryName = "tat_inf_jawa"
SkeletonName = "tat_inf_jawa"
GeometryLowRes = "tat_inf_jawa_low1"
SkeletonLowRes = "tat_inf_jawa_lowres"
AnimationName = "all_inf_snowtrooper"

SkeletonRootScale = "0.6"
SkeletonRootScaleLowRes = "0.6"
CollisionRootScale = "0.6"

CAMERASECTION = "STAND"

EyePointOffset = "0.0 2.0 0.0"
TrackOffset = "0.0 -0.25 3.5"
TiltValue = "10"

CAMERASECTION = "CROUCH"

EyePointOffset = "0.0 1.6 0.0"
TrackOffset = "0.0 -0.25 3.5"
TiltValue = "10"

CAMERASECTION = "PRONE"

EyePointOffset = "0.0 1.0 0.0"
TrackOffset = "0.0 -0.25 3.0"
TiltValue = "10"

MaxHealth = 200.0

Acceleraton = 30.0
MaxSpeed = 4.0
MaxStrafeSpeed = 3.0
MaxTurnSpeed = 2.25


WeaponName1 = "tat_weap_inf_jawa_fusioncutter"
WeaponAmmo1 = 0

AimFactorPostureSpecial = 50
AimFactorPostureStand = 100
AimFactorPostureCrouch = 140
AimFactorPostureProne = 160
AimFactorStrafe = 60
AimFactorMove = 70

HurtSound = "tat_inf_jawa_hurt"
DeathSound              = "tat_inf_jawa_death"
//LeftFootstepSound        = "soldierstepleft"
//RightFootstepSound      = "soldierstepright"
AcquiredTargetSound      = "tat_inf_jawa_chatter"
HidingSound              = "tat_inf_jawa_chatter"
ApproachingTargetSound  = "tat_inf_jawa_chatter"
FleeSound                = "tat_inf_jawa_chatter"
PreparingForDamageSound = "tat_inf_jawa_chatter"
HeardEnemySound          = "tat_inf_jawa_heard"
//WaterWadingSound        = "com_inf_wading"
//ShockFadeOutTime        = "0.8"
//ShockFadeInTime          = "2.0"
//RollSound                = "com_inf_roll"
JumpSound                = ""
LandSound                = ""
ClothingRustleSound      = ""
LowHealthSound              = "tat_inf_jawa_chatter"
LowHealthThreshold          = "1.1"



AISizeType = "SOLDIER"

DropItemClass = "com_item_powerup_ammo"
DropItemProbability = 0.5
NextDropItem = "-"
DropItemClass = "com_item_powerup_health25"
DropItemProbability = 0.4
NextDropItem = "-"
DropItemClass = "com_item_powerup_health100"
DropItemProbability = 0.1

i tested it on ps2 server.
on the ps2 des.lvl use hex search: 28 F2 AF 53 4F 4C 44 49 45 52 00 50 52 4F 50 06 00 00 00 85 99 9B 93 31 00 00 00 50 52 4F 50
change to: 28 F2 AF 53 4F 4C 44 49 45 52 00 50 52 4F 50 06 00 00 00 85 99 9B 93 30 00 00 00 50 52 4F 50

setting 1 to 0 for the jawa. in default they can not enter the tanks. setting to 0 they can use tank now. it would seem they take the tanks all or none other vehicles will not get used. https://mega.nz/#!qchzXKQQ!OM03qwWsJM5kEEcIngeQKc-V517kujTbXanBFRzqac4

do that go in the trooper odf i just want to stop enemy ai entering the barcspeeder still want them to be able to use other vehicles.
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh

Quotehow do i stop the enemy from entering the barcspeeder ?
You need to open barcspeeder odf and find this line;
AvailableForAnyTeam = 1
and change it to the
AvailableForAnyTeam = 0
Beauty is, the way to perfection.

Glory to Ukraine!  :mf:

i changed the line from 1 to 0 the still get on
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh

hi if the changes are not sticking after munge you can confirm using hex editor
AvailableForAnyTeam = 1 find in hex editor your munged side: 50 52 4F 50 06 00 00 00 06 3C FE 0F 31
replace 31 with 30

thanks old snake the hex editor thing works. even a after a fresh munge i still had to hex edit.
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh