Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Playerspeed (https://forums.graalonline.com/forums/showthread.php?t=20021)

Slaktmaster 12-31-2001 06:31 AM

Playerspeed
 
Playerspeed - Please add support for this stefan!
Making control scripts for players will be much easier with that.

playerspeed-=playernormalspeed*2;

Would make the player go backwards. :D

craig_bomy 12-31-2001 08:24 AM

what about the opposite boots on classic, they make you go backwards?

haunter 12-31-2001 11:16 AM

Re: Playerspeed
 
Quote:

Originally posted by Slaktmaster
Playerspeed - Please add support for this stefan!
Making control scripts for players will be much easier with that.

playerspeed-=playernormalspeed*2;

Would make the player go backwards. :D

if (playerenters) {toweapons SuperPoo;}

if (isweapon) {timeout=0.05;}
if (timeout) {
if (keydown(1)) {playery--;}
//blah blah blah
timeout=0.05;}

// or summin like that 0.o?

Slaktmaster 12-31-2001 06:21 PM

:rolleyes:

It would be much better if the speed was a set variable because right now you can't know the exact speed, and besides, scripting some things would be much easier. :)

entravial 01-01-2002 02:49 PM

~AlphaFlame~

if (playerenters)toweapons Bootsies;
if (weaponfired){this.mode=1-this.mode;timeout=.05;}
if (timeout && this.mode=1){
playerx+=vecx(playerdir)*keydown(playerdir);
playery+=vecy(playerdir)*keydown(playerdir);
timeout=.05;
}

Now if I were really bored, I could add onwall detection in a for () loop to detect walls in a line to that and have a simple speed script... sure, requires some scripting, but it's really better than having everything made into a command.

Ooo, I know, let's make a command: superbombblowingupinacirclearoundtheplayerandhurti ngeverythingandmakingthingsgoboom!

Hmm? Any support there? ;)

haunter 01-02-2002 09:25 AM

Quote:

Originally posted by entravial
[B superbombblowingupinacirclearoundtheplayerandhurti ngeverythingandmakingthingsgoboom!

[/B]
No arugments? That kind of command needs aruguments!

Tyhm 01-02-2002 02:46 PM

I'd like a #a(index)...
and for testplayer(x,y) not to run itself into an infinite loop when used online...=_=

Faheria_GP2 01-03-2002 05:27 AM

actually, #a(index) does exsist, but for some reason it was never listed...(at least that is my experience)

Loriel 01-03-2002 06:04 AM

I guess playerspeed is better than this scriptins solution, because if it's scripted, how do you make it know when not to move?
I want #f(index) >.<

Slaktmaster 01-03-2002 06:11 AM

Quote:

Originally posted by Loriel
I guess playerspeed is better than this scriptins solution, because if it's scripted, how do you make it know when not to move?
I want #f(index) >.<

And #f(index) means?

Tyhm 01-03-2002 10:16 AM

#f=filename of the npc's image
#f(index) would be the filename of npc index's image. Very handy too.

Falcor 01-03-2002 12:30 PM

Yeah, In some cases... I forget what case it was where i needed it ;\ owell. It was probably an old idea that was stupid anyhow

mhermher 01-04-2002 02:56 AM

WTS!!!!!
GIve me all this good thigns!
I came up the idea i told arachon in swedish adn he posted !!!!!!!!

EBIL!!! JÄVLA BAJS KNULLARE!!!!! ;)

TheFrozenFiend 01-04-2002 03:30 AM

Quote:

Originally posted by mhermher
WTS!!!!!
GIve me all this good thigns!
I came up the idea i told arachon in swedish adn he posted !!!!!!!!

EBIL!!! JÄVLA BAJS KNULLARE!!!!! ;)

You stole my idea in english turned it to spanish and told arachone who then posted it in english again. So you are both evil........ :p


All times are GMT +2. The time now is 04:29 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.