• 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.

[Spell] Can't see spell effect in reforged in new map

Status
Not open for further replies.
Level 12
Joined
May 16, 2020
Messages
660
Hi guys,

Question about the following spell in WC3 Reforged:
Frozen Orb v1.01

After downloading the spell and using it the downloaded map, everything works correctly. However, when I c&p the trigger, units and abilities to a completely new map I don't see the frozen orb nor the spikes shooting from it.

Weirdly enough the enemy units are still hit by the spell and spikes (they get damaged and die). So behind the scene the spell is working. It's just that the frozen orb and spikes are invisible. The two lines responsible for the art of the spell are correcly in the trigger though...

globals
//Art of the main orb unit
private constant string ORB_ART = "Abilities\\Weapons\\FrostWyrmMissile\\FrostWyrmMissile.mdl"

//Art of the released bolts. The bolts released when the orb explodes uses this art too.
private constant string MISSILE_ART = "Abilities\\Weapons\\LichMissile\\LichMissile.mdl"


Can someone please confirm this?
Not sure if this is reforged bug, but seems weird that in the original map everything works and when c&p to a new map it doesn't, so probably rather my mistake but I don't know what is wrong.

Thanks!


Edit: attached a pic
 

Attachments

  • WC3ScrnShot_051820_215211_001.png
    WC3ScrnShot_051820_215211_001.png
    5.6 MB · Views: 34
Level 12
Joined
Jan 30, 2020
Messages
875
I am not very familiar with custom spells in vJass, but wait...

You said you copied the spells ? You mean you copy and pasted the spells from one map to another ?
Did you make sure your new spells and buffs had the same ID ?

I mean like :
JASS:
        private constant integer    ABILITY_ID              = 'A000'        //The ability triggering the spell
        private constant integer    FROST_SLOW_ID           = 'A001'        //The ability containing the frost attack. It the duration isn't altered of the already existing one in wc3, use that id instead.
        private constant integer    FROST_SLOW_BUFF         = 'Bfro'        //The buff which is used in the slow attack ability
The abilities need 'A000' and 'A001', and the buff needs 'Bfro' (mind you this one looks like an original buff so maybe copying it is useless).
If your abilities have different ID, display raw values in the object editor to find the IDs the copies in your map use, and change them in the code above.
 
Level 12
Joined
May 16, 2020
Messages
660
Hey, thanks for the response. Just confirmed that the IDs are correct (see image).

I think the IDs are not the issue, because in the background the spell is working. But the effects are invisible... Do you maybe have reforged to test and c&p the spell yourself into a new map?
 

Attachments

  • Ability activate + frost.PNG
    Ability activate + frost.PNG
    9.6 KB · Views: 35
Last edited:
Level 12
Joined
Jan 30, 2020
Messages
875
Ok I had a change of schedule so I had a look.

Didn't have a blank map already made and was too lazy so I just took a test map for other things that was hanging around.

At first I had the same issues as you, but then I realized I had to also import the model provided for the dummy. It did not work with the random laser model I was testing in this test map, so I guess the dummy model needs an attachment point (like origin).

Then I followed the instructions in the code for the specific dummy unit stats fields, but I also added a 9999 acquisition range to make sure, and I also gave it a 9999 night and day sight radius.
I also did not forget to give it a "fly" movement type as it had none in the one i copy pasted in my map.


Now it works you can test it (please ignore the mess in the map, just grab the Lich, learn the spell and attack the Tauren Chieftains on the top of the map)
 

Attachments

  • Test.w3x
    35.1 KB · Views: 23
Status
Not open for further replies.
Top