• 🏆 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!

How to revert Day-Night models back to vanilla? And about Lightning Z axis

Status
Not open for further replies.
Level 26
Joined
Mar 19, 2008
Messages
3,140
About Z lighting:
JASS:
native MoveLightningEx              takes lightning whichBolt, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns boolean
Where z1 & z2 sets the height of given lighting effect and x & y parameters are coordinates.

Day/Nitght models, use:
JASS:
call SetDayNightModels( "Environment\\DNC\\DNCAshenvale\\DNCAshenvaleTerrain\\DNCAshenvaleTerrain.mdl", "Environment\\DNC\\DNCAshenvale\\DNCAshenvaleUnit\\DNCAshenvaleUnit.mdl" )
To revert day/night models from ("","").
 
Status
Not open for further replies.
Top