selfpush

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
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

selfpush

Post by DarthD.U.C.K. »

Im trying to mak a selfpushweapon (it should be episodeI like, but i cant find something to edit in the odfs, like:
TargetEnemy = "0"
TargetNeutral = "0"
TargetFriendly = "0"
player = "1"
or something like this, can anyone help me please?
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 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: selfpush

Post by Qdin »

you want the player to get affected by some kindof recoil when fireing? maybe making it drop an invisible grenade which explodes in an instant would help?

btw, tried TargetSelf = "1" ?
Master Fionwë
Rebel Colonel
Rebel Colonel
Posts: 598
Joined: Wed May 30, 2007 3:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: At RCTC
Contact:

RE: selfpush

Post by Master Fionwë »

Would this work for a force push? If it hit something within a reasonable distance from teh player, like right in front of him, it would bounce off the object and hit him?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: RE: selfpush

Post by Maveritchell »

Master Fionwë wrote:Would this work for a force push? If it hit something within a reasonable distance from teh player, like right in front of him, it would bounce off the object and hit him?
Physics + BF /= true. Newton's third law doesn't really apply in Battlefront.

Something that might work, like Qdin suggested, would be an invisible explosive ordnance, like a grenade, that exploded instantaneously and had TargetFriendly = 1. I'm not sure if it would work, but if you wanted to be pushed forwards, you'd have to adjust the speed of the ordnance to a negative number.
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: Re: RE: selfpush

Post by [RDH]Zerted »

I tried making a negative jump height and it crashes the game (sometimes you can see yourself going down just before the crash). I would expect the same result with a negative speed.
Post Reply