Jedi with guns

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

Abiter
Posts: 4
Joined: Mon Dec 07, 2009 5:09 am

Re: Jedi with guns

Post by Abiter »

It suprises me that noone else here has figured out how to make melee weapons work without troubles alongside gun with no ill effects after all this time. The fix is quite simple really you just need to make sure that the melee weapon is the very last weapon in the units odf like so:

Code: Select all

WEAPONSECTION   = 1
WeaponName      = "rep_weap_inf_rifle"
WeaponAmmo      = 0

WEAPONSECTION   = 2
WeaponName      = "rep_weap_inf_detpack"
WeaponAmmo      = 8
WeaponChannel   = 1

WEAPONSECTION   = 3
WeaponName     = "rep_weap_inf_buff_defense"
WeaponAmmo      = 1
WeaponChannel   = 1


WEAPONSECTION   = 4
WeaponName      = "rep_weap_lightsaber_anakin"
WeaponAmmo      = 0

User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Jedi with guns

Post by Maveritchell »

Abiter wrote:It suprises me that noone else here has figured out how to make melee weapons work without troubles alongside gun with no ill effects after all this time. The fix is quite simple really you just need to make sure that the melee weapon is the very last weapon in the units odf like so
A query:
Is it more likely that a community of modders has simply missed something very basic or is it more likely that you simply haven't tested the setup you posted fully (and are missing the bugs working in it)?

(Hint: the second one - no disrespect intended, kudos for playing around with solutions, but what you posted isn't any better than the solutions we already use, and it has its own bugs.)
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 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: Jedi with guns

Post by Sky_216 »

Abiter wrote:It suprises me that noone else here has figured out how to make melee weapons work without troubles alongside gun with no ill effects after all this time. The fix is quite simple really you just need to make sure that the melee weapon is the very last weapon in the units odf like so:

Code: Select all

WEAPONSECTION   = 1
WeaponName      = "rep_weap_inf_rifle"
WeaponAmmo      = 0

WEAPONSECTION   = 2
WeaponName      = "rep_weap_inf_detpack"
WeaponAmmo      = 8
WeaponChannel   = 1

WEAPONSECTION   = 3
WeaponName     = "rep_weap_inf_buff_defense"
WeaponAmmo      = 1
WeaponChannel   = 1


WEAPONSECTION   = 4
WeaponName      = "rep_weap_lightsaber_anakin"
WeaponAmmo      = 0

Been done before, been released before for that matter. Still doesn't work properly. In fact its even more buggy than just having one weapon slot only (more buttons get remapped.)
Abiter
Posts: 4
Joined: Mon Dec 07, 2009 5:09 am

Re: Jedi with guns

Post by Abiter »

I suspect it's more the missed something option as me and a friend noticed that putting it in the last place stopped the switching weapons bug and the secondary weapon fire key bug on a sides mod we've been playing on for almost 2 years and never expecienced any problems with the units using combinations of melee weapons and other ones together at all.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Jedi with guns

Post by Maveritchell »

Abiter wrote:I suspect it's more the missed something option
:lol:
I apologize for my seemingly too-subtle brush of sarcasm - you are wrong, it is option two. Like Skyhammer says above, it's been done before and it has its own issues. I doublechecked it personally before I posted anything, and just in the five minutes I spent looking at it I can tell you it plays havoc with the fire rate of certain types of secondary weapons and it creates issues with using any saber block.

You can work around any bugs you have with this with either specific weapon combinations or specific instructions to the user, but neither are ideal as they aren't catch-alls - workarounds are never solutions. That's why, when someone asks the question, we'll give the solutions to a problem that has them (in this case, either don't have secondaries or don't have multiple primaries with a melee weapon) rather than list workarounds.
Post Reply