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 / Health Drain upon Sprinting

Author
Message
Fpsc Remaking Halo
12
Years of Service
User Offline
Joined: 4th Jun 2007
Location:
Posted: 15th Apr 2014 09:14
So I have been messing with FPS Creator again recently (finally after I replaced the Hard Drive with another)

So maybe I can get some helpful feedback, on why my Script will not work. I have been messing around with it for days, and I decided that I will ask for help from the Community, mainly, I was trying to do it myself.


NEW VERSION


By the way, I have tried this and does not work. [below]

OLD VERSION


Concept, an Original Idea. A Creation. Takes Effort & Pride.
Fpsc Remaking Halo
12
Years of Service
User Offline
Joined: 4th Jun 2007
Location:
Posted: 15th Apr 2014 18:32
So close to getting it work now, however, avoid the ones above. What happens, that I am trying to fix. Is when the player presses shift and w (shift must be held first) then will begin to lose health, however, it will only occur once and stop. Any suggestions?




Concept, an Original Idea. A Creation. Takes Effort & Pride.
ncmako
7
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 15th Apr 2014 23:09
Hi Fpsc Remaking Halo
The "scancodekeypressed" can be tricky at times. Trial and error?
There's always the "keypressed=X Y" You could try that?
But I would go with the "plrrunning" condition for this one.
As in ":plrrunning:state=1" There's also the "plrnotrunning"
condition.
best

You know you're a bad gamer when you're able to run out of infinite lives.
Fpsc Remaking Halo
12
Years of Service
User Offline
Joined: 4th Jun 2007
Location:
Posted: 15th Apr 2014 23:46
Thank you so much, I feel like such a noob!

I really appreciate the help

Concept, an Original Idea. A Creation. Takes Effort & Pride.
Seth Black
FPSC Reloaded TGC Backer
14
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 16th Apr 2014 18:20 Edited at: 18th Apr 2014 01:08
NVM



Fpsc Remaking Halo
12
Years of Service
User Offline
Joined: 4th Jun 2007
Location:
Posted: 17th Apr 2014 08:40
@Seth - Yeah I like that too, however, since mcmako told me about the plrrunning state, I made this and appreciate the script help

Downloaded the Syntax, since it is real useful

Script for others if you wish to use as well




Concept, an Original Idea. A Creation. Takes Effort & Pride.
unfamillia
9
Years of Service
User Offline
Joined: 26th Jul 2010
Location: Preston, Lancashire
Posted: 22nd Apr 2014 19:31
Why not help the player a little by making the health regenerate when they aren't running?

You could implement the plrnotrunning condition.

I see you have the 'running remove health' script repeating very 300 milliseconds. You could make it so the health regenerates at a slower rate (say 600 milliseconds)

Anyway, just an idea.

Cheers

Jay.

Login to post a reply

Server time is: 2019-09-19 01:54:08
Your offset time is: 2019-09-19 01:54:08