SWBF CUSTOM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SWBF CUSTOM

The best way to custom your games.
 
HomeLatest imagesSearchRegisterLog 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
Glitch

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

[unrésolu]Adding a New Award Weapon. Empty
PostSubject: [unrésolu]Adding a New Award Weapon.   [unrésolu]Adding a New Award Weapon. I_icon_minitime7/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
Lephenix

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

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

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

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

[unrésolu]Adding a New Award Weapon. Empty
PostSubject: Re: [unrésolu]Adding a New Award Weapon.   [unrésolu]Adding a New Award Weapon. I_icon_minitime7/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
Lephenix

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

[unrésolu]Adding a New Award Weapon. Empty
PostSubject: Re: [unrésolu]Adding a New Award Weapon.   [unrésolu]Adding a New Award Weapon. I_icon_minitime7/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
http://lephenixbeginnings.blogspot.fr/
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

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

[unrésolu]Adding a New Award Weapon. Empty
PostSubject: Re: [unrésolu]Adding a New Award Weapon.   [unrésolu]Adding a New Award Weapon. I_icon_minitime7/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
Lephenix

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

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

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

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

[unrésolu]Adding a New Award Weapon. Empty
PostSubject: Re: [unrésolu]Adding a New Award Weapon.   [unrésolu]Adding a New Award Weapon. I_icon_minitime7/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
Lephenix

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

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

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

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

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

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

Crying or Very sad Aw
Back to top Go down
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
kinetosimpetus
PFC
PFC
kinetosimpetus

Messages : 24
Registration Date : 2011-09-09

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

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




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

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

-
» Multiple Weapons Sharing One Award Weapon
» [résolu]Adding Zoom to a Weapon
» [unrésolu]Vehicles acting as AI?
» [unrésolu]Random Heroes?
» [unrésolu]AI playing as heroes?

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