Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-31-2001, 06:31 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
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.
Reply With Quote
  #2  
Old 12-31-2001, 08:24 AM
craig_bomy craig_bomy is offline
NINJA MOTHERFCUKER *BANG*
craig_bomy's Avatar
Join Date: Oct 2001
Location: England
Posts: 1,757
craig_bomy is on a distinguished road
Send a message via ICQ to craig_bomy Send a message via AIM to craig_bomy
what about the opposite boots on classic, they make you go backwards?
__________________
Craig and Spekkio
guess who did what with who and when
Reply With Quote
  #3  
Old 12-31-2001, 11:16 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
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.
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?
Reply With Quote
  #4  
Old 12-31-2001, 06:21 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster


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.
Reply With Quote
  #5  
Old 01-01-2002, 02:49 PM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~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?
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #6  
Old 01-02-2002, 09:25 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally posted by entravial
[B superbombblowingupinacirclearoundtheplayerandhurti ngeverythingandmakingthingsgoboom!

[/B]
No arugments? That kind of command needs aruguments!
Reply With Quote
  #7  
Old 01-02-2002, 02:46 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
I'd like a #a(index)...
and for testplayer(x,y) not to run itself into an infinite loop when used online...=_=
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #8  
Old 01-03-2002, 05:27 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
actually, #a(index) does exsist, but for some reason it was never listed...(at least that is my experience)
Reply With Quote
  #9  
Old 01-03-2002, 06:04 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
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) >.<
Reply With Quote
  #10  
Old 01-03-2002, 06:11 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
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?
Reply With Quote
  #11  
Old 01-03-2002, 10:16 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
#f=filename of the npc's image
#f(index) would be the filename of npc index's image. Very handy too.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #12  
Old 01-03-2002, 12:30 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
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
__________________

subliminal message: 1+1=3
Reply With Quote
  #13  
Old 01-04-2002, 02:56 AM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Unhappy

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!!!!!
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #14  
Old 01-04-2002, 03:30 AM
TheFrozenFiend TheFrozenFiend is offline
Registered User
TheFrozenFiend's Avatar
Join Date: Apr 2001
Posts: 582
TheFrozenFiend is on a distinguished road
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........
__________________



Also known as TDM
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:54 AM.


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