- Joined
- Sep 19, 2011
- Messages
- 829
I have one problem with swapping of models from high to low, it still lag because I used a periodic event every 1 seconds of game time. I am unfamiliar with the sc2 triggers, after searching for 2 days I couldn't find a condition or something to prevent the action from happening all the time, constantly. I am hoping someone can figure this out. The system work the following way; I made a sphere in 3ds max, with 2 models, one high and one low. It has 2 animations, stand and spell. Stand will be the High quality while spell will hide the HQ and sow the low quality and basically that is all there is to it, the model swaps animation in a specific camera distance. Because of the 1 sec event even the animation gets restarted and it's really a problem with animated trees, their animation will stop and repeat halfway which is why I need a condition that deactivate the timer while the camera distance from the object has been reached so it will be only one time. The reason I made a periodic event is because I need it to constantly update while the camera moves closer or away from the objects.
There is another triggers there that hides details like grass and rocks it works the same way only it does not require any model animation, that one works fine so ignore it, the object of interest is the sphere.
LOD FPS DEMO
The fps camera triggers are taken from the generic fps\tps maps.
- To activate have Num Lock on
- Page up\down to go in to tps\fps
- Right pad 1 and 2 for tps\fps mode (To see the effects of the LOD triggers better, go in to fps mode 2!)
See the original post for more information on the project SC2 FPS MODE