(04-24-2012, 05:44 PM)Youcef Wrote: (04-22-2012, 03:46 PM)Rapture Wrote: Just to make sure I'm not missing anything, but can FogAreas, Billboards be edited in game? I was hoping to have the entire intro in one gigantic map and reuse the same areas. But it seems I have to split it into a minimum of two.
you can edit the global fog:
void SetFogActive(bool abActive);
void SetFogColor(float afR, float afG, float afB, float afA);
void SetFogProperties(float afStart, float afEnd, float afFalloffExp, bool abCulling);
And there's a way to edit Billboards in game and that's by attaching them to a light entity, then if you deactivate the light, the Billboards will disappear with it.
void SetLightVisible(string& asLightName, bool abVisible);
Well I meant FogAreas Areas, that you place from the toolbox (Ctrl+1) on the left side. The global fog wasn't hiding the FogAreas enough anyways.
But, Amensia kept crashing because my maps were way to big I think. (Could be purely coincidental, but after 10+ crashes I got fed up and split them up and the problem went away.)
Deactivating billboards by use of attached lights, interesting!