Page 1 of 1
Weapon Switching
Posted: Sat Aug 02, 2014 4:35 pm
by Hill400
Hello, I've recently been having issues with weapon switching. I modified the sbdroid's tri-shot so it functions like a pistol, but my issue is that I've got it working, but once it switches to the trishot it won't switch back to the wrist blaster. Anyone have any thoughts?
Re: Weapon Switching
Posted: Sat Aug 02, 2014 4:37 pm
by thelegend
1. Can we see your weapon's odf file please?
2. Does your weapon has an award weapon? What I mean if you kill a few enemies do you 'should' get an award's weapon or have you removed that?
Re: Weapon Switching
Posted: Sat Aug 02, 2014 4:45 pm
by Hill400
Thanks for the help! No, there is no award weapon by the way. Here's the odf.
Re: Weapon Switching
Posted: Sat Aug 02, 2014 4:50 pm
by thelegend
I think just test it with RoundsperClip to RoundsPerClip = "5". Just as a test. I am not 100% sure. If nothing happens can you post your characters odf. I would like to see which weapons you load/want for your unit.
Re: Weapon Switching
Posted: Sat Aug 02, 2014 4:58 pm
by Hill400
I tried changing the Roundsperclip to "5" but it didn't affect the issue. The weapon still wouldn't chabge back. I'm posting the side now.
Re: Weapon Switching
Posted: Sat Aug 02, 2014 5:02 pm
by MileHighGuy
Just a guess, but try to change maxpressedtime and roundsperclip (whole number only) to a number greater than 0. Also clean and remunge.
Re: Weapon Switching
Posted: Sat Aug 02, 2014 5:19 pm
by Hill400
It didn't work, I'm just going to abandon the idea I had entirely. Thanks for your help, but this has become too much of a hassle. I'll figure something else out. I'm sorry for wasting your time.
Re: Weapon Switching
Posted: Sat Aug 02, 2014 6:23 pm
by thelegend
No no. Why we should waste our time. I am always glad if I can help someone who has/had problems with something and I (or others) know the solution. I do not waste time. I spend time. And if anything may work where you had your problems it would make me happy and a little bit proud if I have helped you.
Re: Weapon Switching
Posted: Sat Aug 02, 2014 7:02 pm
by razac920
This sounds exactly like an award weapon issue. I see that your unit does not have cis_weap_award_wrist_blaster as a weapon. I suspect that the reason you can't switch back is because cis_weap_inf_wrist_blaster is locked once you get an award. Since you didn't seem to have to get kills for this bug to happen, I'd guess you have the Frenzy award at Legendary. Did you try removing the wrist_trishot weapon? If it is an award weapon issue, the game should freeze and crash when you try to switch from the wrist_blaster. Alternatively, you could just check if you have this award at legendary. At any rate, to fix it, if it is what I think it is, you should (assuming you don't want this unit to have an award weapon to replace cis_weap_inf_wrist_blaster) just add these lines to cis_weap_inf_wrist_blaster.odf
Code: Select all
ScoreForMedalsType = -1
MedalsTypeToUnlock = -1