Game Development Community

FxGrassReplicator Doesn't appear in editor

by Vincent BILLET · in Torque Game Engine · 05/25/2005 (3:02 pm) · 2 replies

I've just download fxGrassReplicator, I've followed all instructions, (including twSurfaceReference).
No compilation problem appear. But When I launch a starter.fps session, and going into editor (F11 - F4) there is no fxgrassreplicator in my treeview ! I follow the instructions again and found no errors. what i've missed?
In my EditorGui.cs (in function Creator::init) i've
%Environment_Item[0]  = "Sky";
   %Environment_Item[1]  = "Sun";
   %Environment_Item[2]  = "Lightning";
   %Environment_Item[3]  = "Water";
   %Environment_Item[4]  = "Terrain";
   %Environment_Item[5]  = "AudioEmitter";
   %Environment_Item[6]  = "Precipitation";
   %Environment_Item[7]  = "ParticleEmitter";
   %Environment_Item[8]  = "fxSunLight";
   %Environment_Item[9]  = "fxShapeReplicator";
   %Environment_Item[10] = "fxFoliageReplicator";
   %Environment_Item[11] = "twSurfaceReference";
   %Environment_Item[12] = "fxGrassReplicator";   
   %Environment_Item[13] = "fxLight";
fxFoliageReplicator Appear
twSurfaceReference and fxGrassReplicator doesn't appear
fxLight Appear !

I really don't undersand! Can someone give me a way of investigation?

(Sorry for my poor english, I'm a frenchy guy :) )

#1
05/25/2005 (3:38 pm)
Yeah afew people seem to get that (works fine for me though)

Try adding the info from grass-settings.txt to your mission to see if the grass shows up.



In case it helps... My EditorGui.cs is setup like this...

%Environment_Item[0]  = "Sky";
   %Environment_Item[1]  = "Sun";
   %Environment_Item[2]  = "Lightning";
   %Environment_Item[3]  = "Water";
   %Environment_Item[4]  = "Terrain";
   %Environment_Item[5]  = "AudioEmitter";
   %Environment_Item[6]  = "Precipitation";
   %Environment_Item[7]  = "ParticleEmitter";
   %Environment_Item[8]  = "fxSunLight";
   %Environment_Item[9]  = "fxShapeReplicator";
   %Environment_Item[10] = "fxFoliageReplicator";
   %Environment_Item[11] = "fxLight";
   %Environment_Item[14] = "fxGrassReplicator";
   %Environment_Item[15] = "twSurfaceReference";
#2
05/25/2005 (3:51 pm)
I've put grass-settings.txt in my mission file, AND... no grass :(
I see them into the editor (upper part) but not in F4 TreeView :(

what's wrong?