Make award weapons a primary 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
User avatar
YTGTangerine
Command Sergeant Major
Command Sergeant Major
Posts: 270
Joined: Sat Aug 16, 2008 7:53 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: Aw man I can't think of anything creative...

Make award weapons a primary weapon

Post by YTGTangerine »

Is it possible to say, make the Rep award and the CIS award rifles a primary weapon for units? Just wondering.
User avatar
jedimaster745
First Lance Corporal
First Lance Corporal
Posts: 136
Joined: Sun Sep 07, 2008 5:05 pm

Re: Make award weapons a primary weapon

Post by jedimaster745 »

to do so you would need to play around with the .odfs. I think that would be in the category of 'cheating' and if so i advise you not.
User avatar
YTGTangerine
Command Sergeant Major
Command Sergeant Major
Posts: 270
Joined: Sat Aug 16, 2008 7:53 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: Aw man I can't think of anything creative...

Re: Make award weapons a primary weapon

Post by YTGTangerine »

Okay. What I'm getting at here is I'm trying to make an "elite" blaster rifle, a more powerful one than the standard for a commander unit. But I still want the normal rifleman to have the standard blaster rifle. Would I have to just make a copy of the rep_inf_blasterrifle and rename it and increase it's power, or is there an asset I can download?
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Make award weapons a primary weapon

Post by kinetosimpetus »

i don't think it's cheating if everyone on the map has the same opportunity to use it...

but to make an "elite" rifle you could copy the common award rifle rename to com_weap_inf_elite_rifle.odf and change ScoreForMedalsType and MedalsTypeToLock to -1 (change MedalsTypeToUnlock to MedalsTypeToLock). Then copy the rep award rifle rename to rep_weap_inf_elite_rifle.odf and change the class parent to com_weap_inf_elite_rifle
then change the unit's weaponsection to rep_weap_inf_elite_rifle
User avatar
jedimaster745
First Lance Corporal
First Lance Corporal
Posts: 136
Joined: Sun Sep 07, 2008 5:05 pm

Re: Make award weapons a primary weapon

Post by jedimaster745 »

Off-Topic:
kinetosimpetus wrote:i don't think it's cheating if everyone on the map has the same opportunity to use it..
Correct. I forgot that he was probably trying to make a map and use the rifles for a unit. It was pretty late where i am when i posted that and my computer was about to self-shutdown because i was almost out of bateries, so i hurried my post and it came out like that.

@ YTGTangerine: If you took my previous post offensively, or if i sounded too rude, then i apologize.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Make award weapons a primary weapon

Post by MercuryNoodles »

I'd suggest making a new odf that has no parent or award lines, using only the necessary lines to have a working weapon. kinetosimpetus is mostly on the right track, but, as I just pointed out, you can do this without using the parenting or the award lines, thus eliminating the need to mess with multiple odfs aside from copying the lines you need.
Post Reply