Page 1 of 2

SWITCHING WEAPONS

Posted: Sun Jul 10, 2016 11:00 am
by BLAZIN GUNS-PG-
When I get off a boat (zodiac) it changes to knife ... always used to give me primary ?

Re: SWITCHING WEAPONS

Posted: Sun Jul 10, 2016 12:27 pm
by huntor
Confirmed that there is some weird stuff with it going back to the primary weapnon. I am looking at the item def and I don't see anything that would cause that. I can get it to stick on the secondary weapon too. Sometimes on tanks this happens as well.
This is the item def below.

begin "BO Jungle Zodiac with M60"
id 111214
type vehicle
subtype Black_Ops
sid Dzdiac2
graphic Dzdiac4
attrib: AIData neutral Reflect PlayerControl forceasset DynamicShadow
ai_function cbot
move_function cbot
turn_rate 40
turn_rate2 25
acceleration 12
deceleration 24
water_speed 82
slip_slope 20
max_slope 25
mass 1
minai 1
torque 3
speedpitch 25
physics 1
lean 10
lean_velocity 13
pitch 10
pitch_velocity 3
score 5
bob 5
turnroll 60
particlefxw3 fx_sml_wk FX00
particlefxw4 fx_sml_wk_f FX01
render_function cveh
hp 3000
damage_reduc_pp 0.05 0.20
armor 10 10
criticalhp 300
criticaldrain 15
radarsig 500
default_aip d_zode
unit_type 5
particledeath Effect_smallBoatExp2
particlefire Effect_stingerExp
husk DzdiacX
husk_sub_part_types 01_HULL 02_CHUNK_S 03_CHUNK_S 04_CHUNK_S 05_CHUNK_S 06_CHUNK_S 07_CHUNK_S 08_CHUNK_S 09_CHUNK_S
addeweap ewep01 102004
sound_profile SP_Zodiac
end

Re: SWITCHING WEAPONS

Posted: Sun Jul 10, 2016 12:37 pm
by huntor
So after further testing. It seems to switch to what ever weapon form you used to at the time you connect to a weapon. So if I knife is in your hands you connect to the m60. Then get off of it. It then switches back to a knife. So you hit 3 to change to your primary. You now sit on the boat. Get off the boat. It goes back to the knife.

It is a bug in how the weapon switchings happens in the EXE and doesn't reset after each sit down. Only the last weapon you connected to.

So I can run over to the 50 cal on land. Hit 2 for secondary before connecting to it. Then when I get off of it, it then switches back to 2. Then I hit 3 to go to primary weapon. I then go over to the zodiac sit in the drivers seat then leave the seat it goes back to 2 secondary. It is what ever weapon you had in your hand at the time of the last weapon connect.

Its a shame that it doesn't reset per sitting as well. Then you would have what ever weapon you left off with prior to sitting.

Re: SWITCHING WEAPONS

Posted: Mon Jul 11, 2016 10:43 pm
by Country Joe-PG-
OMG. You mean I have to make an additional key stroke just to swap back to my
main weapon? Geez :geek: :D :lol:

Re: SWITCHING WEAPONS

Posted: Mon Jul 11, 2016 11:36 pm
by huntor
Well that would depend. If you switch to your main before you connect to a weapon. Then you don't have to click it again to go to your main weapon ;-)

Re: SWITCHING WEAPONS

Posted: Tue Jul 12, 2016 8:01 am
by Bubbachuk-PG-
I must be missing something here . . . regardless of what weapon I had when I attach to anything, whenever I detach I always end up with my primary weapon. I have my weapons selection keys on the numeric keypad so I don't know if that makes a difference or not.

Re: SWITCHING WEAPONS

Posted: Tue Jul 12, 2016 6:41 pm
by Tonto7-PG-
Ok now I am totally confused :? :? :? :? :? :roll: :roll: :roll: :roll: :?: :?: :?: :?: :?:

Re: SWITCHING WEAPONS

Posted: Wed Jul 13, 2016 1:02 am
by huntor
To test this you need to switch to something other than your primary weapon.
Connect to will say the m60 or another weapon. Shoot a round or two.

Then disconnect from that weapon.

Change back to your primary weapon.

Sit in a zodiac like your going to drive it.

Get out of the zodiac.

See if it goes to primary or the last weapon you had when connected to a weapon.

I did this test for slot 5 stinger.

When I got out of the boat. My stinger came up and not the primary weapon.

Re: SWITCHING WEAPONS

Posted: Wed Jul 13, 2016 7:31 pm
by HotStick
So in other words, just make sure you have your primary weapon in your hands before you attach to the boat... simple!

Re: SWITCHING WEAPONS

Posted: Mon Jul 18, 2016 4:17 am
by Tonto7-PG-
HotStick-PG- wrote:So in other words, just make sure you have your primary weapon in your hands before you attach to the boat... simple!
:ugeek: :ugeek: :ugeek: :lol: :lol: :lol: :lol: :lol: