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-28-2005, 04:42 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
gscript question

How would you change what sprites a server uses?
Reply With Quote
  #2  
Old 05-28-2005, 05:12 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
That's quite a vague question. If you want to change the appearance of characters, use replaceani or rescript movement.
__________________
Reply With Quote
  #3  
Old 05-28-2005, 05:26 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Kaimetsu
That's quite a vague question. If you want to change the appearance of characters, use replaceani or rescript movement.
What I mean by sprites is sprites.png.
Reply With Quote
  #4  
Old 05-28-2005, 05:32 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Most of the relevant stuff can be rescripted.
__________________
Reply With Quote
  #5  
Old 05-28-2005, 05:33 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
I don't believe you can through ordinary means. You're best bet is rescripting it entirely.
__________________
In a world of change... Who'll you believe?
Reply With Quote
  #6  
Old 05-28-2005, 05:41 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Velox Cruentus
I don't believe you can through ordinary means. You're best bet is rescripting it entirely.
Well, the thing is. I am using the old tileset, a couple of the old imgs need the old sprites. Was wondering if u could replace them or something. guess not..owell
Reply With Quote
  #7  
Old 05-28-2005, 06:47 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
Quote:
Originally Posted by KuJi
How would you change what sprites a server uses?

it's impossible to do so but Stefan said he might add this command in the future
__________________

Reply With Quote
  #8  
Old 05-29-2005, 02:56 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Alright, another question:

I've tried almost everything with keydown2 and strequals(#p(0),#))

I can't get CTRL to work.

- keydown2 is fixed, when you dont add 256,512 or 1024
(shift, control, alt) to the key number then it doesn't
return 'true' when those special keys are not pressed;
a few keycodes that can be used in keydown2 to check for
normally unaccessible keys (have not test all of them though):
8 - back
9 - tab
13 - return
16 - shift
17 - control
18 - alt
33 - page up
34 - page down
35 - end
36 - home
42 - print key
45 - insert
46 - delete
91 - left windows key
92 - right windows key
93 - mouse popup key
112-123 - F1-F12
144 - numlock
160 - left shift
161 - right shift
162 - left control
163 - right control
164 - left alt/menu
165 - right alt/menu


Tried all Controls
Reply With Quote
  #9  
Old 05-29-2005, 03:18 AM
PrinceDark PrinceDark is offline
Criminal X
PrinceDark's Avatar
Join Date: Feb 2003
Location: Miami, Florida
Posts: 662
PrinceDark will become famous soon enough
I guess it depends on how you use it. I tried it with keypressed also and it didn't work. I tried this online and my results was fine.
NPC Code:

//#CLIENTSIDE
if ( playerenters || timeout ) {
if ( keydown2(17,true) )
setplayerprop #c,true;
timeout = 0.05;
}

__________________
- Criminal X: certified nut case
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 02:16 PM.


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