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 08-11-2002, 11:10 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Pausing the player with Graalscript!

I think it would be useful if a command was added that literally pauses the player as if he or she pushed "p". That way I and others can make custom message displays; using freezeplayer doesn't protect the player from attacks of any kind.
__________________
Reply With Quote
  #2  
Old 08-11-2002, 11:21 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
lol, use disablepause
then script your own pause system

and use disabledefmovement =)
__________________
[signature]insert here[/signature]
Reply With Quote
  #3  
Old 08-11-2002, 11:36 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by screen_name
lol, use disablepause
then script your own pause system

and use disabledefmovement =)
You missed entirely what I said didn't you? I already knew about disablepause, etc. I want a command that will pause the player as if they pushed "p". I know how to lock the player, most people that can script NPCs do To actually make them invincible is another thing and doing playerhearts=playerfullhearts or whatever doesn't do what I want...they still get hurt and move.
__________________
Reply With Quote
  #4  
Old 08-11-2002, 11:53 AM
Cybnext Cybnext is offline
Registered User
Join Date: Jun 2002
Posts: 100
Cybnext is on a distinguished road
Quote:
Originally posted by G_yoshi


You missed entirely what I said didn't you? I already knew about disablepause, etc. I want a command that will pause the player as if they pushed "p". I know how to lock the player, most people that can script NPCs do To actually make them invincible is another thing and doing playerhearts=playerfullhearts or whatever doesn't do what I want...they still get hurt and move.
Do the damage and such serverside and check for 'playerpaused'.
Reply With Quote
  #5  
Old 08-11-2002, 11:55 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
use keypressed, strequals(#p(1),p)) and have a var keep track of the pause/unpaused and do what you want to the player while the var is true or somethin
Reply With Quote
  #6  
Old 08-11-2002, 10:01 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Like Cybnext said, you just need to script your own damage system.
__________________
Reply With Quote
  #7  
Old 08-11-2002, 10:37 PM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
Quote:
Originally posted by Kaimetsu
Like Cybnext said, you just need to script your own damage system.
Having to rescript a damage system just for the purpose of pausing a player is lame.

I have an idea....that should be in a new topic...
hhmmm.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #8  
Old 08-11-2002, 10:45 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by mikepg


Having to rescript a damage system just for the purpose of pausing a player is lame.

I have an idea....that should be in a new topic...
hhmmm.
You don't need to; you could always use the built-in pause. But if you want to customise your server and suchlike then you need to learn to script.
__________________
Reply With Quote
  #9  
Old 08-11-2002, 11:27 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by Kaimetsu


You don't need to; you could always use the built-in pause. But if you want to customise your server and suchlike then you need to learn to script.
actually, I just want something like 'pauseplayer' I already have somewhat of a custom damage system...the only problem is, getting around the engine's built-in animation checking. Every time the player swings their sword, the engine checks for that animation and then does whatever it needs to after that. Other than that, I already have it sending out triggeraction because I do a few things when 'S' is pushed
__________________
Reply With Quote
  #10  
Old 08-12-2002, 12:06 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by G_yoshi


actually, I just want something like 'pauseplayer' I already have somewhat of a custom damage system...the only problem is, getting around the engine's built-in animation checking. Every time the player swings their sword, the engine checks for that animation and then does whatever it needs to after that. Other than that, I already have it sending out triggeraction because I do a few things when 'S' is pushed
There must be some way to get around that. Use a different gani for sword striking if necessary.
__________________
Reply With Quote
  #11  
Old 08-12-2002, 11:56 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by Kaimetsu


There must be some way to get around that. Use a different gani for sword striking if necessary.
nada...doing replaceani sword,<newgani> doesn't change anything. Graal still reads it as sword
__________________
Reply With Quote
  #12  
Old 08-12-2002, 01:31 PM
Cybnext Cybnext is offline
Registered User
Join Date: Jun 2002
Posts: 100
Cybnext is on a distinguished road
Quote:
Originally posted by G_yoshi


nada...doing replaceani sword,<newgani> doesn't change anything. Graal still reads it as sword
Then rescript the swinging of the sword.
Reply With Quote
  #13  
Old 08-12-2002, 01:45 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by G_yoshi


You missed entirely what I said didn't you? I already knew about disablepause, etc. I want a command that will pause the player as if they pushed "p". I know how to lock the player, most people that can script NPCs do To actually make them invincible is another thing and doing playerhearts=playerfullhearts or whatever doesn't do what I want...they still get hurt and move.
o, lol, i just figured that you wasn't using regular damage system

lol,
__________________
[signature]insert here[/signature]
Reply With Quote
  #14  
Old 08-12-2002, 08:22 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Cybnext


Then rescript the swinging of the sword.
Indeed. Aren't you even using disabledefmovement, Yoshi?
__________________
Reply With Quote
  #15  
Old 08-12-2002, 08:32 PM
SingleChance SingleChance is offline
Kill Pirates
Join Date: Apr 2002
Location: Canada
Posts: 1,296
SingleChance is on a distinguished road
Talking


G...
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.