| [unrésolu]Adding a New Award Weapon. | |
|
Author | Message |
---|
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: [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 |
|
| |
Lephenix Scout Trooper Sergeant
Messages : 833 Registration Date : 2010-05-05 Age : 29
| Subject: 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. |
|
| |
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: Re: [unrésolu]Adding a New Award Weapon. 7/6/2012, 7:23 pm | |
| Change the .msh to what? 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? |
|
| |
Lephenix Scout Trooper Sergeant
Messages : 833 Registration Date : 2010-05-05 Age : 29
| Subject: 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 . |
|
| |
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: 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? |
|
| |
Lephenix Scout Trooper Sergeant
Messages : 833 Registration Date : 2010-05-05 Age : 29
| Subject: Re: [unrésolu]Adding a New Award Weapon. 7/7/2012, 10:24 am | |
| |
|
| |
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: 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? |
|
| |
Lephenix Scout Trooper Sergeant
Messages : 833 Registration Date : 2010-05-05 Age : 29
| Subject: Re: [unrésolu]Adding a New Award Weapon. 7/7/2012, 9:07 pm | |
| No sorry. It's probably hard coded. |
|
| |
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: Re: [unrésolu]Adding a New Award Weapon. 7/7/2012, 11:34 pm | |
| - Lephenix wrote:
- No sorry. It's probably hard coded.
Aw |
|
| |
kinetosimpetus PFC
Messages : 24 Registration Date : 2011-09-09
| Subject: Re: [unrésolu]Adding a New Award Weapon. 7/8/2012, 2:59 pm | |
| Basic pistol sould have MedalsTypeToLock and award should have MedalsTypeToUnlock |
|
| |
Sponsored content
| Subject: Re: [unrésolu]Adding a New Award Weapon. | |
| |
|
| |
| [unrésolu]Adding a New Award Weapon. | |
|