Picking up/dropping weapons

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
(RAPTOR)BENSTWO{SGT}
Command Sergeant Major
Command Sergeant Major
Posts: 280
Joined: Tue Jul 22, 2008 3:47 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Picking up/dropping weapons

Post by (RAPTOR)BENSTWO{SGT} »

Is it possible to have it where if you kill someone you pick up their weapon. Mabe you can also drop yours for something else too. It's the same principle as Call of Duty.
Last edited by (RAPTOR)BENSTWO{SGT} on Sat Feb 14, 2009 11:21 am, edited 1 time in total.
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

Re: Picking up/dropping weapons

Post by DarthD.U.C.K. »

vie extensive lua scripting it could be possible i think
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Re: Picking up/dropping weapons

Post by The_Emperor »

I think it was Zerted who knows how to do that, but if I recall correctly the biggest problem with it is that it's not just the unit picking up the weapon, but all units of the same class that are affected. So if one engineer picks up a rocketlauncher, all engineers will be carrying rocketlaunchers.
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: Picking up/dropping weapons

Post by [RDH]Zerted »

The_Emperor wrote:...So if one engineer picks up a rocketlauncher, all engineers will be carrying rocketlaunchers.
Correct.
Master_Ben
Lieutenant General
Lieutenant General
Posts: 675
Joined: Wed Nov 12, 2008 9:50 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: Watching your PC over your shoulder. No, the other sholder....

Re: Picking up/dropping weapons

Post by Master_Ben »

The only solution I see to this would be no AI on the team you play as, and a local team with the same classes in the same location.
User avatar
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Re: Picking up/dropping weapons

Post by Eggman »

Also, I'm pretty sure adding weapon slots is one of those instances where the unit needs to respawn before the change takes effect. For an example of this, you can play Spira: Besaid by Maveritchell (and take a look at the script he released with some assets). Although you don't gain the weapons of enemies you kill, the concept is similar.
User avatar
(RAPTOR)BENSTWO{SGT}
Command Sergeant Major
Command Sergeant Major
Posts: 280
Joined: Tue Jul 22, 2008 3:47 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Picking up/dropping weapons

Post by (RAPTOR)BENSTWO{SGT} »

If I remember correct there could be 8 weapon slots total.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Picking up/dropping weapons

Post by Fiodis »

(RAPTOR)BENSTWO{SGT} wrote:If I remember correct there could be 8 weapon slots total.
You are correct.
Post Reply