About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Particles
Author Message
Yurci Offline
Member

Post: #1
Particles
Hey

I put in world editor some particles from SDK.... but... how to enable them "in code" ?
That same question about grass.


C'ya.
(This post was last modified: 06-07-2010 09:03 PM by Yurci.)
06-07-2010 08:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Particles
you should just attach object container with Game::ObjParticles to the world
if you place grass with OBJ_GRASS access mode then it should be handled automatically (enable D.grass.. D.grassRange)
06-07-2010 09:44 PM
Find all posts by this user Quote this message in a reply
Yurci Offline
Member

Post: #3
RE: Particles
Quote:/******************************************************************************/
Game::Obj *Lit ; // highlighted world object //
Game::ObjMemx<Static > Statics; //
Game::ObjMemx<Item > Items; //
Game::ObjMemx<AI > AIs; //
Game::ObjMemx<Player > Players; //
Game::ObjMemx<LightBulb > LightBulbs; //
Game::ObjParticles Part;
/******************************************************************************/

?
(This post was last modified: 06-07-2010 10:08 PM by Yurci.)
06-07-2010 10:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
khces Offline
Member

Post: #4
RE: Particles
/******************************************************************************/
typedef Game::ObjParticles ObjParticles;

Game::Obj *Lit ; // highlighted world object //
Game::ObjMemx<Static > Statics; //
Game::ObjMemx<Item > Items; //
Game::ObjMemx<AI > AIs; //
Game::ObjMemx<Player > Players; //
Game::ObjMemx<LightBulb > LightBulbs; //
Game::ObjMemx<ObjParticles> Part ;
/******************************************************************************/
06-08-2010 04:58 AM
Find all posts by this user Quote this message in a reply
Yurci Offline
Member

Post: #5
RE: Particles
Thanks smile
06-09-2010 08:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply