Author Topic: how to stop enemy ai entering the barcspeeder ?  (Read 170 times)

wsa30h

how to stop enemy ai entering the barcspeeder ?
« on: October 11, 2019, 10:18:12 AM »
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.

oldsnake

  • Frequent Poster
  • ****
  • Posts: 125
    • View Profile
    • Awards
Re: how to stop enemy ai entering the barcspeeder ?
« Reply #1 on: October 13, 2019, 01:46:02 AM »
hi did you try to set the team/sides ai    imp_inf_storm_trooper.odf
Code: [Select]
NoEnterVehicles = 1
Code: [Select]
[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.
Code: [Select]
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
« Last Edit: October 13, 2019, 07:04:44 AM by oldsnake »

wsa30h

Re: how to stop enemy ai entering the barcspeeder ?
« Reply #2 on: October 13, 2019, 02:57:23 AM »
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.

Sereja

  • Master Modder
  • This Man Has No Life
  • ***
  • Posts: 1307
  • Waiting for medal.
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront Recognizes an exceptional artist on this site. Halloween Modding Contest 2012 To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
Re: how to stop enemy ai entering the barcspeeder ?
« Reply #3 on: October 13, 2019, 11:25:01 AM »
Quote
how do i stop the enemy from entering the barcspeeder ?
You need to open barcspeeder odf and find this line;
Code: [Select]
AvailableForAnyTeam = 1and change it to the
Code: [Select]
AvailableForAnyTeam = 0
Beauty is, the way to perfection.

Glory to Ukraine!  :mf:

wsa30h

Re: how to stop enemy ai entering the barcspeeder ?
« Reply #4 on: October 13, 2019, 01:19:55 PM »
i changed the line from 1 to 0 the still get on

oldsnake

  • Frequent Poster
  • ****
  • Posts: 125
    • View Profile
    • Awards
Re: how to stop enemy ai entering the barcspeeder ?
« Reply #5 on: October 15, 2019, 06:47:23 PM »
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

wsa30h

Re: how to stop enemy ai entering the barcspeeder ?
« Reply #6 on: October 16, 2019, 04:38:16 AM »
thanks old snake the hex editor thing works. even a after a fresh munge i still had to hex edit.