Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Idea about GANI's (https://forums.graalonline.com/forums/showthread.php?t=24117)

neomaximus2k 02-19-2002 08:44 PM

Idea about GANI's
 
Originally posted by Stefan
You can do it with showimgs, or with gani scripts.
Showimg will be laggy when displaying many
lights on many players, but will work everywhere.
You just have to do showimg index,image,x,y;
with index between 1 and 199.

Gani scripts are not laggy, but you will need
to make special ganis that hold the script
like lightswalk.gani, lightsidle.gani, and then
call replaceani idle,lightsidle; and replaceani
walk,lightswalk;
Inside the ganis add a script like this:

SCRIPT
if (playerenters || timeout) {
showimg 200,light2.png,playerx-2,playery-2;
changeimgcolors 200,1,1,1,0.99;
changeimgvis 200,3;
timeout = 0.05;
}
SCRIPTEND

Such ganiss are currently only allowed on servers with
npcserver (p2p servers).
--------------------------------------------------------------------------------



This should probably be in the new ideas forum, but why not add Gani scripting to the Grall Shop program rather than manually editing it
ok as you can see Stefan originally posted by stefan and i think that it should be placed into graal shop as it would be good for scripting :)

Well vote on it :)

zell12 02-19-2002 10:49 PM

Correction, only non-directional ganis are allowed on non-p2p servers

TDK_RC6 02-20-2002 01:24 AM

great idear

mikepg 02-20-2002 01:39 AM

Re: Idea about GANI's
 
Quote:

Originally posted by neomaximus2k
Originally posted by Stefan
You can do it with showimgs, or with gani scripts.
Showimg will be laggy when displaying many
lights on many players, but will work everywhere.
You just have to do showimg index,image,x,y;
with index between 1 and 199.

Gani scripts are not laggy, but you will need
to make special ganis that hold the script
like lightswalk.gani, lightsidle.gani, and then
call replaceani idle,lightsidle; and replaceani
walk,lightswalk;
Inside the ganis add a script like this:

SCRIPT
if (playerenters || timeout) {
showimg 200,light2.png,playerx-2,playery-2;
changeimgcolors 200,1,1,1,0.99;
changeimgvis 200,3;
timeout = 0.05;
}
SCRIPTEND

Such ganiss are currently only allowed on servers with
npcserver (p2p servers).
--------------------------------------------------------------------------------



This should probably be in the new ideas forum, but why not add Gani scripting to the Grall Shop program rather than manually editing it
ok as you can see Stefan originally posted by stefan and i think that it should be placed into graal shop as it would be good for scripting :)

Well vote on it :)

Well, see the tags SCRIPT and SCRIPTEND...thats IN Graal Shop (the GANI editor)....so, in other words, this post is pointless, seeing as what you said has already been done.

TDK_RC6 02-20-2002 03:41 AM

do u just put them in the regular box??

neomaximus2k 02-20-2002 04:13 AM

Re: Re: Idea about GANI's
 
Quote:

Originally posted by mikepg


Well, see the tags SCRIPT and SCRIPTEND...thats IN Graal Shop (the GANI editor)....so, in other words, this post is pointless, seeing as what you said has already been done.

i mean better support for it

Falcor 02-20-2002 07:19 AM

use freakin' notepad to put in scripts, lazy people =_=

TDK_RC6 02-20-2002 07:31 AM

Quote:

Originally posted by Falcor
use freakin' notepad to put in scripts, lazy people =_=
well in that case, then you should use notepad to script npcs in nw files, it would be nice and easier

Falcor 02-20-2002 07:49 AM

I do acually. well i script most stuff in notepad anyhow.

TDK_RC6 02-20-2002 08:07 AM

Quote:

Originally posted by Falcor
I do acually. well i script most stuff in notepad anyhow.

ahhhhhh

why do you have to be so difficult

zell12 02-20-2002 11:19 AM

lol I just script in the editor thing ;)


All times are GMT +2. The time now is 10:57 PM.

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