Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / can drop weapon .. but unable to add new one in that slot

Author
Message
xymore
8
Years of Service
User Offline
Joined: 9th Jun 2011
Location: East coast, USA
Posted: 25th Jun 2011 09:28
in the manual it says a player can only have up to nine different weapons during a game.

im wanting a large selection of weapons to pick up as player goes to new levels

i know it says can have only 9 weapons,
but i thought you could drop weapons and pick up new ones




im using version 1.18 ... is that possible ???




ive tried using "pickupcandrop"




i can drop weapon from let say slot key 1,
but when i pick up new weapon it goes into slot key 2


can i drop weapon from slot 1,
pickup and add new weapon into slot 1

seeking ways to allow player to use more than 9 weapons in a game
Ched80
9
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 14th Jul 2011 11:16
xymore,

great concept!

you may need to use "removecurrentweapon" in the line starting ":state=1,"

You will also need to add "state=2" to this line in order to pick it up again.

let me know if this works.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
2Beastmode4u
8
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 15th Jul 2011 00:13
That just could work. Great job xymore!


Cheers.

God help me, Please.

Come on down to my site at Unleashed FPSCreators
xymore
8
Years of Service
User Offline
Joined: 9th Jun 2011
Location: East coast, USA
Posted: 15th Jul 2011 21:24
hello
still working on this
i am new to fps & am learning to script

need list of all script commands (actions/conditions)


im using version 1.18

want to drop current weapon
and pick up new one in its place
( want player to be able to pick up drop weapon if they want to )


Example

can drop weapon from slot 1

can pick up new weapon and have it appear in slot 1






this script almost works

but only seems to work if im only holding 2 weapons

if i hold more than 2 weapon, they dissappar if player drops thems.


if i have 4 weapons in inventory and i start dropping weapons
when i go back to pick them up ... i end up with only 2 ???? sometimes just 1 out of 4


Function wanted recap -

want player to be able to choose from
a large selection of weapons to pick up as they go through levels.
i know it says can have only 9 weapons, but want player to be able drop current weapon and pick up new one in its place .. and be able to pick up droped weapon again if they want to


always thankful for any and all help

Login to post a reply

Server time is: 2019-09-20 16:10:47
Your offset time is: 2019-09-20 16:10:47