Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-15-2005, 12:15 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
emitter autorotation help

Ok, i found something else that is clearly explained and should work just fine but no matter what i do, again, it will not work for me.

I checked with the wiki on making a particle effect rotate,
and I have working particles, but neither of these make the particles spin around:

HTML Code:
emitter.autorotation=1;
emitter.autorotation=true;
emitter.particle.autorotation=1;
emitter.particle.autorotation=true;
i tried them one at a time after the other emitter.attributes had been decalred and i got no spinning. please help ... i have had so much trouble with the scripting changes, that i think gs2 officially dosent like me ...
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #2  
Old 11-15-2005, 12:22 AM
MysticX2X MysticX2X is offline
Prince
MysticX2X's Avatar
Join Date: Sep 2005
Posts: 2,529
MysticX2X will become famous soon enough
wasnt it like emitter.spin or something like that or thats not what your talking about?
__________________
-Mystic

former acc: mystic2k


RIP Matt (NBK)
Reply With Quote
  #3  
Old 11-15-2005, 01:19 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
emitter.spin or any emitter with a .spin is not on the particle engine wiki page,
but i tried it : and it does not work online in an npc.

Anybody else know how to make this apparently undocumented feature work?

btw this is further evidence that the wiki should be better oranized or COMPLETELY documented of EVERY change that is made ... the lack of completeness in its documentation is proving most frustrating to me on many occasions. How else will we know how to learn the updated language, unless we can cross refrence >>everything<< accurately?
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #4  
Old 11-15-2005, 03:51 AM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally Posted by prozac424242
emitter.spin or any emitter with a .spin is not on the particle engine wiki page,
but i tried it : and it does not work online in an npc.

Anybody else know how to make this apparently undocumented feature work?

btw this is further evidence that the wiki should be better oranized or COMPLETELY documented of EVERY change that is made ... the lack of completeness in its documentation is proving most frustrating to me on many occasions. How else will we know how to learn the updated language, unless we can cross refrence >>everything<< accurately?
It is on the Wiki page... but it's for particles not emitters.

Quote:
TParticle (TGraalVar):
angle - float - the movement angle of the particle (horizontally on the (x,y) plane)
lifetime - float - in seconds, the particle will be destroyed when the lifetime is over
movementvector - string - says in which direction the particles moves, this is a combination of angle and zangle
speed - float - tiles per second
spin - float - automatic rotation of the particle (radiants each second)
zangle - float - the vertical movement angle - says if the particles goes up or down
Reply With Quote
  #5  
Old 11-15-2005, 06:54 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
ah yes, NOW I see it, and I got it to work. thanks Riot..

i read that same paragraph several times but never saw the spin attribute till it was on the forums.
Proving, at least to myself, that the wiki could most certainly be more user friendly. I mean some of the sentenences run on to the right double the width of a normal web page in 1024 resolution.

The old forums (4 or 5 years ago) were very user friendly, there were pictures with the examples for people learning to code, people were happy to give you a chunk of working code to learn from. bringing this sharing of knowledge back to the community can make the game more fun.
Reminder: yes, this is a game, and therefore should be fun.

(/end rant)
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:48 PM.


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