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 02-28-2002, 06:20 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
GANI Scripts accessing strings

can they?
Reply With Quote
  #2  
Old 02-28-2002, 06:37 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
*bump*
Reply With Quote
  #3  
Old 02-28-2002, 06:41 AM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Re: GANI Scripts accessing strings

Quote:
Originally posted by Faheria_GP2
can they?
No they can't, only zoom, lighting and all those other effects
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #4  
Old 02-28-2002, 06:42 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
*read* strings
Reply With Quote
  #5  
Old 02-28-2002, 06:44 AM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by Faheria_GP2
*read* strings
? and what is all that about?
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #6  
Old 02-28-2002, 07:47 AM
Phenom1K Phenom1K is offline
Registered User
Join Date: Dec 2001
Location: Somewhereoffthecoastof, Paradise
Posts: 138
Phenom1K is on a distinguished road
Send a message via AIM to Phenom1K Send a message via Yahoo to Phenom1K
No need, just access it directly from the NPC that causes you to have that animation. If it's needed for something in the animation, use it as a parameter.
__________________
The following is a message brought to you in part by JR

The procedding was a message brought to you in part by JR
Reply With Quote
  #7  
Old 02-28-2002, 09:14 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
well, I am making a guy that floats, and I want a shadow to be displayed below the player by reading string "altitude", so yes, maybe a parameter is the best way
Reply With Quote
  #8  
Old 02-28-2002, 10:02 AM
Phenom1K Phenom1K is offline
Registered User
Join Date: Dec 2001
Location: Somewhereoffthecoastof, Paradise
Posts: 138
Phenom1K is on a distinguished road
Send a message via AIM to Phenom1K Send a message via Yahoo to Phenom1K
Quote:
Originally posted by Faheria_GP2
well, I am making a guy that floats, and I want a shadow to be displayed below the player by reading string "altitude", so yes, maybe a parameter is the best way

Hey! If you want that, you don't need a parameter. Just save the player x and y+3, put a little shadow image there, and then change the player's y- according to the specified altitude, and then have the shadow move along with the player. Is that genius or what?
__________________
The following is a message brought to you in part by JR

The procedding was a message brought to you in part by JR
Reply With Quote
  #9  
Old 02-28-2002, 10:11 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
hey, maybe I want whatever lag there will be to be in synch with the lag of the player? so the altitude won't appear to change when it really isn't
Reply With Quote
  #10  
Old 02-28-2002, 10:13 AM
Phenom1K Phenom1K is offline
Registered User
Join Date: Dec 2001
Location: Somewhereoffthecoastof, Paradise
Posts: 138
Phenom1K is on a distinguished road
Send a message via AIM to Phenom1K Send a message via Yahoo to Phenom1K
Quote:
Originally posted by Faheria_GP2
hey, maybe I want whatever lag there will be to be in synch with the lag of the player? so the altitude won't appear to change when it really isn't
Can't be done yo
__________________
The following is a message brought to you in part by JR

The procedding was a message brought to you in part by JR
Reply With Quote
  #11  
Old 02-28-2002, 10:19 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
yes, the gani does the showimg clientside for each player who sees the gani, so the shadow will always appear to be "in synch" with wherever the player seems to be for each user
Reply With Quote
  #12  
Old 02-28-2002, 02:24 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by Kaimetsu
Supersonic is right. If the gani scripts can get the info then they can draw it properly.
i've never really messed with gani scripting but
cant he create a GANI with different frames in and then use a command to over but only show certain frames???
that way he can put the char shadow at different heights in the gani

If not then why hasn't it been invented!!!!
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #13  
Old 02-28-2002, 02:48 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by Kaimetsu
So you're saying something like make a gani with a million frames and then have the gani's script choose one?

Pretty icky way to do it. Why not let the gani draw it itself?
i mean a range of frames.
ok lets use the example above
make a hovering Gani 10 frames long. then within that same gani create another one 10 frames long but make the shadow a bit further down, etc etc
obv not a big gani but lets say you do 5 of these.
the rather than using showimg or any other way of doing it you could use a script to play first of ll
0 to 9
then if the altatidu is higher you could oplay
40 to 49
see what i mean?
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #14  
Old 02-28-2002, 10:51 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by Kaimetsu
Yes. But it leads to bigger files etc - what's wrong with simple gani scripts?
nothing i dont think i havn't tried scripting with gani's tho so i wouldn't know
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #15  
Old 03-01-2002, 12:19 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Gani scripts can only read things like #Px,
because if they could read normal variables then
you could add script to display the value and
possibly cheat or so
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 12:02 AM.


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