Two Shield questions

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
User avatar
Fluffy_the_ic
Hoth Battle Chief
Hoth Battle Chief
Posts: 3223
Joined: Thu Jan 24, 2008 7:03 pm
xbox live or psn: fluffytherc
Location: she/her
Contact:

Two Shield questions

Post by Fluffy_the_ic »

Okay. This may sound a little odd, but One:is it possible to make a weapon that creates a shield on whatever it hits, and Two: is it possible to make a shield that prevents anything from leaving it, but things can enter?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Two Shield questions

Post by Caleb1117 »

1. I don't think so, unless you could settle for a weapon that spawns a geometry temporarily.

2. That depends... Do you want it as a trap sort of? Just thinking out loud, but someone could make a "Shield" model, with a collision, that is not "closed" in the back, people could walk through one side of the collision, but not the other.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Two Shield questions

Post by [RDH]Zerted »

1) Yes, but what do you mean by shield? The way I'm thinking, it would be the same shield as used in the Holocron game mode.
2) Assuming you can create an entity with the properties you want, I know how to get it to the correct location ingame. Err, I'm thinking you mean some sort of trap weapon? You fire it, and an one-way shield forms around whatever you hit (could be yourself). Or did you want to place the one-way shield in ZeroEdit?

Both deal with weapon hit detection, meaning you will need to use that 'took damage' even callback (its correct name is in the scripting doc).
Post Reply