• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Possible setting the light intensity with animation index for light model(ex.tourch)

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
Possible setting the light intensity with animation index for light model(ex.tourch)

at light model i mean a model like tourch without the tourch model texture, just glowing.

so i meant possible make something like set animation index to a model and it make more lighter (more intensive light, light up more area)/darker.

so something like if animation index is 0 then dont ahve light effect, if animation index is 1 then light cover 50 range in game, if index is 2 then 100 ranged, etc
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
The intervals decide which frames belong to an animation. You can then react on the triggering of these frames to change different properties of the model like the visibility of the lights. So you need them to make the appearance of your model differ, to enable different light ranges. I took intervals of 999/1000 in length here only because I would have guessed that it might be more performant since it does not need to restart everytime and fire the time events. I do not know the details of modeling either, you would better have had this thread posted in the designated section.
 
Status
Not open for further replies.
Top