Deployable barrier floats over terrain when dispensed

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Deployable barrier floats over terrain when dispensed

Post by Bob »

I want to make something like this.
the problem is:
Hidden/Spoiler:
Image
Please remember to use hide tags with large images, -Staff

EDIT: sorry about this -Bob

knows anybody how to avoid flying barriers?
Last edited by Bob on Fri Sep 03, 2010 8:17 am, edited 1 time in total.
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Deployable barrier floats over terrain when dispensed

Post by Lagomorphia »

Deployable barriers? It's a good idea, but won't it cause problems with AI pathing?
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Deployable barrier floats over terrain when dispensed

Post by Bob »

of course, but this doesnt matter on my map
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Deployable barrier floats over terrain when dispensed

Post by Sky_216 »

Lagomorphia wrote:Deployable barriers? It's a good idea, but won't it cause problems with AI pathing?
Shouldn't do, there's an "autobarrier" odf function.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Deployable barrier floats over terrain when dispensed

Post by Bob »

good to know but back to topic: any ideas?

EDIT: wich line does this? I deleted nearly everything of the original odf...
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Deployable barrier floats over terrain when dispensed

Post by Lagomorphia »

That might be why it floats. It might think it's a recon droid. Could you post the odfs please?
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Deployable barrier floats over terrain when dispensed

Post by Bob »

the dispenser:
Hidden/Spoiler:
[WeaponClass]
ClassParent = "com_weap_inf_autoturret_dispenser"

[Properties]
OrdnanceName = "rep_bldg_inf_deckung"

//**********************************************
//****************** SOUND *********************
//**********************************************


FireLoopSound = ""
ReloadSound = "com_weap_inf_equip_med"
ChargeSound = ""
ChargeSoundPitch = ""
ChangeModeSound = "com_weap_inf_equip_med"
WeaponChangeSound = "com_weap_inf_equip_med"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
//ProneSound = "com_weap_inf_rifle_mvt_lie"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
the barrier:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "destructablebuilding"
GeometryName = "com_prop_barrier_single.msh"

[Properties]
GeometryName = "com_prop_barrier_single"
MaxHealth = "5000.0"

FoleyFXGroup = "metal_foley"
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Deployable barrier floats over terrain when dispensed

Post by FragMe! »

Did you make the barrier?
If you did how was the bottom of the barrier in relation to the 0,0,0 axis in whatever modelling program you used. If you moved it up to be at 0 did you freeze the model and freeze all transforms prior to export.

You can go in to fake console in BFmodtool.exe and turn on collision renders then in free cam mode you can see what collision is being applied to the model.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Deployable barrier floats over terrain when dispensed

Post by Bob »

Its not my model, its from the NPT source file
Post Reply