Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-01-2006, 08:25 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Req: Gani parameters for attributes

Wee! I'm on a roll with the requests!

I was wondering if parameters could be given to ganis set to attr[1-30]?
I had a light effect that spins around the player. You could customize the color and number of lights. At first, I set it to #P2. However, when the player logged off of Graal and logged back on, they would experience incredibly high lag. It was so bad that they weren't able to move. I had to use a showani instead.

I've only done this with GS1, v2, so please correct me if it's been changed in v4.
The script I used to set the attribute was something to the effect of:
PHP Code:
setplayerprop #P2, lightdance.gani, 1, 0, 0, 6; 
To sum it all up.. It shows fine when it's first set. When the player relogs, it still shows, but the player experiences lag that basically freezes Graal.
  #2  
Old 01-01-2006, 09:15 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
?

setplayerprop #P2,lightdance.gani,1,0,0,6;

should work fine, only it'll set it to "lightdance.gani,1,0,0,6".

Then in your script tokenize it?
  #3  
Old 01-01-2006, 10:47 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
No, the problem is that when people logged off and back on, any gani with parameters would basically freeze Graal unless it's removed.
I'm not even sure what caused it, because it couldn't be debugged, due to the freeze.

And it did use the 1, 0, 0, 6 as parameters; not the gani name.


Nevermind, ignore everything I posted. x-x' It seems it only happens with this one gani.
I have one gani that can input the colors of the lights.
I have another that's just black and only uses one parameter, for the number of lights.
The one with customized colors freezes people when they relog.
The one that's just black doesn't.
 


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 10:35 AM.


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