Use the force to drop, steal or pick up a weapon?

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
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Use the force to drop, steal or pick up a weapon?

Post by woner11 »

I think the answer is no, but just to make sure, you can't have someone drop a weapon, steal a weapon or use the force to pick up a weapon right?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Quick Question

Post by Maveritchell »

No-ish. You can fudge the appearance of those - maybe. Your question can be better answered if you put it in actual context instead of just tiptoeing around an idea.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

Re: Quick Question

Post by trainmaster611 »

I don't know if I'm going in the right direction with answer you with this.

Pickupable weapons are possible. But when a unit picks up a weapon, it changes his ODF along with anyone else of that unit class.

So if an engineer picksup SuperGigantoNormous Gun, all the other engineers suddenly get SuperGigantoNormous Gun also even though they didn't pick it up.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Quick Question

Post by Maveritchell »

woner11 wrote:@Mav- Ok here's the senario :? You take darth vader up to fight han and take the blaster out of his hand or throw it to the floor.
Not possible unless you plan on doing some serious animationwork and scripting, and not worth it in any case.
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: Quick Question

Post by [RDH]Zerted »

trainmaster611 wrote:Pickupable weapons are possible. But when a unit picks up a weapon, it changes his ODF along with anyone else of that unit class.
Use SetClassProperty() on the unit's class to mess with the weapon ODF values. If you don't know when to use it, reread the scripting documentation. All you need is to get a reference to the player you want to change.

Note: changing weapon stats may or may not cause crashes when used online with other human players.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Re: Quick Question

Post by woner11 »

Thanks a bunch!
Post Reply