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 / Running With gear

Author
Message
Lucidx
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 3rd Sep 2009 05:17
I've created a sort of inventory script set, kind of like a secret stash that you can remove and add gear to, that will be available at least in 1 instance on every level of a game I'm working on.

I'm trying to figure out how to charge the running noise under certain conditions, does anyone know if Its possible to make a script so that when the player has X amount of items in his inventory, his running slows down and the noise changes to a sort of jingling 'gear' jogging noise.

I've been tinkering with it for a few hours but I cannot figure out how to do it, or a mod that has the capabilitys, does anyone know or have any ideas of how to do this?

Also, I'll release the inventory script a few weeks after my game is complete (which I don't know when its done)

Lucidx
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 3rd Sep 2009 05:27
u won't be able to change the running sound since it depends on the floor he's walking on and can't be changed in runtime it's all hard coded.. but u can decrease his speed though..

assign a globar var for weapons count, whenever the player picks a weapon add 1 to that variable (u'll have to edit the pickup script ofcourse).. if the value exceeds 3 for example decrease his speed (u'll need a mod for that I guess, PB mod will do fine)..

A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 3rd Sep 2009 14:30
Alternatively you could do what COD4/COD5 does and depending upon the weapon they have depends upon how fast they walk (LMG=40, SNG=80, ect...)


WWW.ARENAS4146.WEBS.COM

Login to post a reply

Server time is: 2024-11-25 06:36:46
Your offset time is: 2024-11-25 06:36:46