Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-25-2001, 08:35 AM
Zayjee Zayjee is offline
Registered User
Join Date: May 2001
Posts: 50
Zayjee is on a distinguished road
Question n00b scripting question no.1

Is there anyway to change (increase/decrease) the player's speed directly? I know that the Lizard Shield makes the player speed up, but how? BTW, thanx for reading this post, and many thanx if you reply!
__________________
-(v)4fu|<13
Reply With Quote
  #2  
Old 05-25-2001, 08:38 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
this sounds simple but its kinda complicated..
that i know of there are no direct ways of doing this .
u have to do a few things..
1 timeout with the speed addition (like if u want the player to move 1/2 tile faster u do +.5 to whatever dir hes moving ..)
and the hardest part is the onwall .. depending on the speed the onwall will differ..
onwall i kinda suck at. . well not really but i havent made (almost!) a 100% perfect onwall..
its not that hard to make a pretty good one tho..

__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #3  
Old 05-26-2001, 01:33 AM
Cyboars Cyboars is offline
Registered User
Cyboars's Avatar
Join Date: Mar 2001
Location: Everwhere.
Posts: 209
Cyboars will become famous soon enough
Send a message via AIM to Cyboars Send a message via Yahoo to Cyboars
me make level 10 shield, level 10 shield be fast as Peg boots and let arrows go through you.me not done yet but soon.
Reply With Quote
  #4  
Old 05-26-2001, 02:43 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
Quote:
Originally posted by Cyboars
me make level 10 shield, level 10 shield be fast as Peg boots and let arrows go through you.me not done yet but soon.
No
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #5  
Old 05-26-2001, 04:25 AM
Cyboars Cyboars is offline
Registered User
Cyboars's Avatar
Join Date: Mar 2001
Location: Everwhere.
Posts: 209
Cyboars will become famous soon enough
Send a message via AIM to Cyboars Send a message via Yahoo to Cyboars
Angry

Whaddya mean "no"?
Reply With Quote
  #6  
Old 05-26-2001, 06:44 AM
Cyboars Cyboars is offline
Registered User
Cyboars's Avatar
Join Date: Mar 2001
Location: Everwhere.
Posts: 209
Cyboars will become famous soon enough
Send a message via AIM to Cyboars Send a message via Yahoo to Cyboars
i stole the pegasus boots script and added an if (playerisshot) {playerhearts=+.5;} type of thing.
Reply With Quote
  #7  
Old 05-26-2001, 09:37 AM
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
[QUOTE]i stole the pegasus boots script and added an if (playerisshot) {playerhearts=+.5;} type of thing.[QUOTE]

umm, that won't really work...
if you want it to go through him, and you use that, it'll hit him, then make the hearts go up. then you've got if they use Fireball =/


__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #8  
Old 05-30-2001, 09:57 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
Chances are better of just detecting the box around the player, scanning all arrows, if their x and y is in the box reflectarrow (which in multi makes the arrow seem to turn around and continue through you), or just remove it altogether.

You can do the same with explosions, but it's not very tidy.
__________________
"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
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 08:06 PM.


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