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

[1.32] Custom/modified unit classic blob shadows bug.

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
Many people are claiming that Classic graphics is missing blob shadows. This is not correct as blob shadows do still exist and work. One can see this in the World Editor when running classic graphics and in melee games.

However there is currently a bug with custom units and blob shadows. For custom units the shadow data fields are not being read/generated correctly in game. For copied unit data this results in all shadow fields being interpreted as 0 values even when defaults are meant to be inherited. For modified unit data this results in any modified shadow field being interpreted as a 0 value irrespective of what the user sets it to.

Attached is a demonstration map showing this problem.

The left Blood Mage (Standard Blood Mage) uses standard unmodified shadow data so has a working blob shadow.
The right Blood Mage (Custom Blood Mage) is a copy and paste of the standard one. It appears to be missing its blob shadow in game.
The top Mountain King (Modified Mountain King) is a standard unit with modified shadow data. It appears to be missing its blob shadow in game

A screenshot is provided showing what can be experienced by running the map with 1.32 with Classic graphics. The correct behaviour would be that all 3 units have blob shadows visible, like in World Editor when running Classic graphics.

Note the white square artefacts shown around the Blood Mages in the screenshot is a screenshot only bug. They appear visually fine during actual gameplay.
 

Attachments

  • WC3ScrnShot_020220_040209_001.png
    WC3ScrnShot_020220_040209_001.png
    3 MB · Views: 193
  • Broken Custom Unit Blob Shadows.w3m
    13 KB · Views: 54
Level 6
Joined
May 29, 2013
Messages
127
Newly produced units(Units already placed on the map are normal. lol)
also have a bug that projectile scaling is turned off.
If you turn it back on using a new function(BlzSetUnitBooleanFieldBJ), it works fine.
But shadows seem impossible. As a result of my testing
 
Last edited:
Status
Not open for further replies.
Top