• 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] Light Saber attachment ability should have a different color than the team color

Status
Not open for further replies.
Level 28
Joined
Feb 2, 2006
Messages
1,630
Hi,
I only found this thread so far which basically says you have to use a different texture or model: COLOR LightSaber3D
I want to use models like these LightSaber3D as attachment for my Jedi hero. I used the Tornado aura ability as base and it works just fine. However, it uses the team color of the hero. I want it to have a fixed color other than the player's team color and basically the colors used in Star Wars: Lightsaber crystal (I can't believe how much lore there is).
Is the only way to add different models to the map with different texture paths leading to the different team colors?
Its not THAT much work but maybe there could have been some easier way in the ability settings or with JASS and the new natives.
I use it as a unit ability and not as ability of an item since items can have owning players as well which might have affected the attachment color?
 
If you add the lightsaber not as an ability, but as a special effect with
JASS:
AddSpecialEffectTarget( "Lightsaber3D.mdx" , whichUnit , "hand left/right" )
you can change its team color with:
JASS:
native BlzSetSpecialEffectColorByPlayer            takes effect whichEffect, player whichPlayer returns nothing
 
Status
Not open for further replies.
Top