SWBF CUSTOM

The best way to custom your games.
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [unrésolu]Adding a New Award Weapon.

View previous topic View next topic Go down 
AuthorMessage
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: [unrésolu]Adding a New Award Weapon.   7/6/2012, 5:11 pm

How can this be done? Does it have something to do with this?

Code:
ScoreForMedalsType = 5
MedalsTypeToLock = 5

I'd like to add a new award weapon to a class. What code should I add to tell the game to remove the original weapon and add the award one to a players weapons when they unlock it in game.


Last edited by Glitch on 8/26/2012, 3:12 am; edited 1 time in total
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
avatar

Messages : 833
Registration Date : 2010-05-05
Age : 22

PostSubject: Re: [unrésolu]Adding a New Award Weapon.   7/6/2012, 5:41 pm

Go in the odf of the award one and change the .msh.
Back to top Go down
View user profile http://lephenixbeginnings.blogspot.fr/
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: Re: [unrésolu]Adding a New Award Weapon.   7/6/2012, 7:23 pm

Change the .msh to what? Embarassed

What changes to the odf have to be made to tell the game to replace one weapon with an award version once it has been unlocked in game?
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
avatar

Messages : 833
Registration Date : 2010-05-05
Age : 22

PostSubject: Re: [unrésolu]Adding a New Award Weapon.   7/6/2012, 8:50 pm

Ah! I thought you were talking about changing the model of the award weapon.
Do some search in the award weapons odf to see their setups, and in the ***_default_///.odf
***: name of the side
///: soldier class
And experiment Wink .
Back to top Go down
View user profile http://lephenixbeginnings.blogspot.fr/
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: Re: [unrésolu]Adding a New Award Weapon.   7/7/2012, 1:40 am

So far no luck. I don't know what else to do. Every time I switch to pistol the primary weapon disappears. Whether its the award weapon or the normal version. (I tried to mimic the pistol odfs both had this)

Code:
MedalsTypeToUnlock = 0
ScoreForMedalsType = 0
So I entered this in both of my weapon odf's

Code:
MedalsTypeToUnlock = 6
ScoreForMedalsType = 6

cis_weap_inf_omm_rifle.odf

cis_weap_award_omm_rifle.odf

I'm pretty sure I did something wrong, haha. Could you pleasse explain how to fix this? Crying or Very sad
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
avatar

Messages : 833
Registration Date : 2010-05-05
Age : 22

PostSubject: Re: [unrésolu]Adding a New Award Weapon.   7/7/2012, 10:24 am

Try with 0 instead of 6.
Back to top Go down
View user profile http://lephenixbeginnings.blogspot.fr/
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: Re: [unrésolu]Adding a New Award Weapon.   7/7/2012, 3:00 pm

Derp...Thanks. I was thinking the award weapons used different numbers. x-x

Edit: Gah still no progress. It always removes both rifles. Do you know of any award weapon tutorials?
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
avatar

Messages : 833
Registration Date : 2010-05-05
Age : 22

PostSubject: Re: [unrésolu]Adding a New Award Weapon.   7/7/2012, 9:07 pm

No sorry. It's probably hard coded.
Back to top Go down
View user profile http://lephenixbeginnings.blogspot.fr/
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: Re: [unrésolu]Adding a New Award Weapon.   7/7/2012, 11:34 pm

Lephenix wrote:
No sorry. It's probably hard coded.

Crying or Very sad Aw
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
kinetosimpetus
PFC
PFC
avatar

Messages : 24
Registration Date : 2011-09-09

PostSubject: Re: [unrésolu]Adding a New Award Weapon.   7/8/2012, 2:59 pm

Basic pistol sould have MedalsTypeToLock and award should have MedalsTypeToUnlock
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: [unrésolu]Adding a New Award Weapon.   

Back to top Go down
 

[unrésolu]Adding a New Award Weapon.

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Additional Hand Weapon AND Shield
» Weapon "patterns"
» weapon underestimated???
» Looking for a weapon from the original Castle Greyskull. MOTU collectors PLEASE help!!
» Buying Liquid Green Weapon Skin

Permissions in this forum:You cannot reply to topics in this forum
SWBF CUSTOM :: Star Wars Battlefront Games :: Modding-