Yurci
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|
Yurci
Member
|
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 |
|
khces
Member
|
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 |
|