How to stop enemies to walk through an allied shield?

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
Redline
2nd Lieutenant
2nd Lieutenant
Posts: 396
Joined: Tue Jan 16, 2007 4:22 pm
Projects :: Space to Ground [reworking]
Games I'm Playing :: Different Games
xbox live or psn: No gamertag set
Location: The left side of the moon
Contact:

How to stop enemies to walk through an allied shield?

Post by Redline »

I've never tried this before, but does anybody know if it's possible to block enemies from passing through an allied shield? :)
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: How to stop enemies to walk through an allied shield?

Post by Lorul1 »

I’m not 100% sure what you mean by this can you reexplain ? If this helps at all though sometimes I will change they AI type for certain teams from SOILDER to something like HOVER and then give them there own barriers and paths. So if you set the enemy’s to HOVER then make a barrier around whatever shield you have set up so that HOVER can not cross you should be good to go
Redline
2nd Lieutenant
2nd Lieutenant
Posts: 396
Joined: Tue Jan 16, 2007 4:22 pm
Projects :: Space to Ground [reworking]
Games I'm Playing :: Different Games
xbox live or psn: No gamertag set
Location: The left side of the moon
Contact:

Re: How to stop enemies to walk through an allied shield?

Post by Redline »

Lorul1 wrote:I’m not 100% sure what you mean by this can you reexplain ? If this helps at all though sometimes I will change they AI type for certain teams from SOILDER to something like HOVER and then give them there own barriers and paths. So if you set the enemy’s to HOVER then make a barrier around whatever shield you have set up so that HOVER can not cross you should be good to go
The properties for the shield should be like: No collision for allied team and collision for the enemy team.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: How to stop enemies to walk through an allied shield?

Post by Teancum »

The best you can do is the workaround mentioned above. Setting the enemy types in the odf to a different class than Soldier you can block them out
Redline
2nd Lieutenant
2nd Lieutenant
Posts: 396
Joined: Tue Jan 16, 2007 4:22 pm
Projects :: Space to Ground [reworking]
Games I'm Playing :: Different Games
xbox live or psn: No gamertag set
Location: The left side of the moon
Contact:

Re: How to stop enemies to walk through an allied shield?

Post by Redline »

Teancum wrote:The best you can do is the workaround mentioned above. Setting the enemy types in the odf to a different class than Soldier you can block them out
That's mean, I've to change the com_inf_default?
But I can't find the the com_inf_default.odf
All I can find is com_jedi_default.odf and com_hero_default.odf

But wait com is default for all units, right?

Maybe, that's means I've to put it like this:
Exsample: imp_inf_default.odf
Hidden/Spoiler:
[code][GameObjectClass]
// Base class for all imperial soldiers, inherits from com_inf_default

ClassParent = "com_inf_default"
ClassLabel = "hover" // <--- Something like this? But it does not work. It has no effect ingame.


[Properties]
// general VO
HurtSound = "imp_inf_com_chatter_wound"
DeathSound = "imp_inf_com_chatter_death"
//AcquiredTargetSound = "imp_inf_com_chatter_acquired"
//HidingSound = "imp_inf_com_chatter_hide"
//ApproachingTargetSound = "imp_inf_com_chatter_approach"
//FleeSound = "imp_inf_com_chatter_flee"
//PreparingForDamageSound = "imp_inf_com_chatter_predamage"
//HeardEnemySound = "imp_inf_com_chatter_heard"
DamageRegionSound = "impmalechoke"
ChokeSound = "impmaleforcechoke"
//ShockFadeOutTime = "0.8"
//ShockFadeInTime = "2.0"
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
LowHealthSound = ""
//LowHealthThreshold = ".25"
FoleyFXClass = "imp_inf_trooper"
[/code]
Post Reply