RUNNING WITH RIFLES
http://runningwithrifles.com/phpBB3/

Change primary weapon to secondary weapon
http://runningwithrifles.com/phpBB3/viewtopic.php?f=7&t=2461
Page 1 of 1

Author:  sanemax [ Fri Jul 17, 2015 4:45 pm ]
Post subject:  Change primary weapon to secondary weapon

is it possible to change the primary weapon to secondary weapon?
so my character can carry 2 different type of weapon..
i've tried to change the :
<weapon file= base_primary.weapon>into<weapon file= base_secondary.weapon>

and adding it to "faction".secondary.resource
still didn't work though.. any idea guys?

Author:  The Soldier [ Sat Jul 18, 2015 2:40 pm ]
Post subject:  Re: Change primary weapon to secondary weapon

You have to change the "slot" from 0 to 1, 0 being the primary and 1 being the secondary. Take a look at some of the pistol code to see what I'm talking about.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/