Two Shield questions
Moderator: Moderators
- Fluffy_the_ic
- 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
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
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.
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.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Two Shield questions
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).
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).
