• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Special effects no longer appearing as of 1.31b

Status
Not open for further replies.
Level 13
Joined
Oct 10, 2009
Messages
439
Hey all!

Special effects aren't appearing anymore for a project I've been slowly working on.
Here's an example of code that no longer functions:

Code:
private constant string SFX_ORA_STRIKE = "war3mapImported\\IceNova.mdl"
...

local real casterX = GetUnitX(this.caster)
local real casterY = GetUnitY(this.caster)

local real sfxX = casterX + punchSfxOffset * Cos(this.targetAngle + this.punchSfxOffsetAngle)
local real sfxY = casterY + punchSfxOffset * Sin(this.targetAngle + this.punchSfxOffsetAngle)

set sfx = AddSpecialEffect(SFX_ORA_STRIKE, sfxX, sfxY)
call BlzSetSpecialEffectAlpha(sfx, 50)
call BlzSetSpecialEffectScale(sfx, 0.4)
call BlzSetSpecialEffectHeight(sfx, this.punchSfxHeight)
call DestroyEffect(sfx)

Here's what they look like now:
Before 1.3b:
https://webm.red/xhQl.webm

After 1.3b (I got this videos name wrong, forgive me rip):
https://webm.red/R2RR.webm

Someone please help me. A lot of my abilities in the game are now broken =*((
 
Level 13
Joined
Oct 10, 2009
Messages
439
Yep. I've got graphics on high.

Even something basic like this isn't working anymore:
HTML:
(BD_Caster is defined earlier)
Set Point[1] = (Position of BD_Caster)
Set Point[0] = (Point[1] offset by 90.00 towards (Facing of BD_Caster) degrees)
Special Effect - Create a special effect at Point[0] using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
Special Effect - Destroy (Last created special effect)

Oh, and these special effects are visible in the editor when assigned to a dummy unit, so the models themselves can't be broken....
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
Restart the computer. Do not just say "shutdown" and then power it on with the button as that might not force drivers to reload.

It is a well known issue that graphic drivers can get into a bugged state and stop showing some models. The solution is to reload the graphic drivers, usually by restarting the computer. Intel drivers are the most well known to suffer from this problem, but I think some people reported it with NVidia as well.
 
Level 13
Joined
Oct 10, 2009
Messages
439
Restart the computer. Do not just say "shutdown" and then power it on with the button as that might not force drivers to reload.

It is a well known issue that graphic drivers can get into a bugged state and stop showing some models. The solution is to reload the graphic drivers, usually by restarting the computer. Intel drivers are the most well known to suffer from this problem, but I think some people reported it with NVidia as well.

DSG you legend, that solved my issue!
TIL Restart has distinctly different behaviour than Power off / on.
 
Status
Not open for further replies.
Top