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.

Author
Message
Fuzz
18
Years of Service
User Offline
Joined: 14th Nov 2006
Location: Tasmania, Australia
Posted: 11th Jan 2008 07:55
Hi

i think this is in the right place.....

is it possible to make it so if you sprint you get game over

or

is it possible to disable sprint for one level thanks.

(\__/)
(O.o )
(> < )Please join groves inc.....World domination
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 11th Jan 2008 09:57
No it is not possible to do this without modifying the source, sorry.


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!
Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 12th Jan 2008 20:40
Maybe editing the hurtzone so when the shift key is pressed it will be activated and the players looses health.

sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 12th Jan 2008 21:33 Edited at: 12th Jan 2008 21:35
@ BVG

That's a good idea. You could do something like this:

state=0:state=1
state=1,scankeycodepressed=42:plraddhealth=-999:state=2
state=1,scankeycodepressed=54:plraddhealth=-999:state=2
state=2:state=1

Then have a hurt zone with this in the main AI this across the level and voila, shift kills you.

----Edit----

Now that I think about it, shift would do a rapid-fire, live draining, killing machine. Maybe sneaking in a couple of plralive conditions.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th Jan 2008 04:17
Hmmm, good idea BVG! I completely forgot about scancode checking for the shift key. Nice work.

@sps999:

I started thinking about this once you said that and thought maybe with a little source editting, you could make the sprint go SUPER fast, but slowly drain the player's life if they use it. That'll give them a reason to use it SOMETIMES, but definitally not all the time.


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!
Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 13th Jan 2008 11:16
Quote: "Hmmm, good idea BVG! I completely forgot about scancode checking for the shift key. Nice work.
"




3Dmajid
16
Years of Service
User Offline
Joined: 16th Dec 2007
Location: IRAN / TEHRAN
Posted: 16th Jan 2008 09:51 Edited at: 16th Jan 2008 11:43
Hmm ... The game will be hard.

The life is standby ... So decide for you'r target and then you'll see that you are arrived and get it.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 17th Jan 2008 06:26
Hard not to give in to the temptation to sprint? Lol, I would agree with that, however if the levels were designed just right, I think the player would find very few areas where he would even want to sprint.


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!
107295
17
Years of Service
User Offline
Joined: 26th May 2007
Location:
Posted: 8th Feb 2008 06:14
Isn't there an action for an immediate gameover?

So a Shepard said to his flock; "Thou shalt be confuseth!" and so they were.
Paul112
18
Years of Service
User Offline
Joined: 1st Jan 2006
Location: UK
Posted: 16th Feb 2008 20:15 Edited at: 16th Feb 2008 20:19
Not sure if it would work also...but when you build a game, there is a file that contains the scancodes for your actions. You could completely delete the one for sprint, or change it to an impossible value (999), but that might make the engine go crazy. Failing that, make the sprint key on the opposite side of the keyboard Then it would just be annoying to even use.

Edit: also, maybe set it as the escape button. If anyone tries to sprint, it will just pause the game and show the menu.

Paul

Login to post a reply

Server time is: 2024-11-28 00:14:55
Your offset time is: 2024-11-28 00:14:55