HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Invisible Attachable Model (request)

11-10-2007, 09:37 PM#1
PandaMine
I think I posted this in the wrong section so I am posting it again here. What I need is a model that when attached to a unit (or placed above the unit) will cause the unit to become totally invisible. The problems with using SetunitScale/SetUnitVertexColor that it doesnt work with particle emmitor nor passive abilities that have attachments (such as bloodmages "sphere") and more importantly it does not remove the shadow. If anyone would have any idea how to create such a model your help would be greatly appreciated. Some ideas are
- Something to do with alpha rendering
- If possible move the origin of the model outside map bounds
- Malph said that it is possible to make a model to dynamically remove the shadows (similar to how hero glow models work)
11-10-2007, 11:59 PM#2
Malf
Quote:
Originally Posted by PandaMine
- Malph said that it is possible to make a model to dynamically remove the shadows (similar to how hero glow models work)

I explicitly said three times in a row..

- DL hero glow
- Make it black to look like a shadow
- Make an ability based off item armor + 1, change the armor bonus to 0 and add the model in the target art
- Make your unit have NO SHADOW in OBJECT EDITOR
- Just ADD THE ABILITY which you created awhile ago to the unit if you WANT IT TO HAVE THE SHADOW
- Now you can DYNAMICALLY REMOVE THE SHADOW by REMOVING THE ABILITY AND VICE VERSA

There, now I think you won't misunderstand?
11-11-2007, 12:39 AM#3
Guesst
Malf's idea is a good one. There is no way for an attachment to make the model it's attached to disappear. If you are importing custom models for the things you want to make disappear, then you could add animations during which they are invisible. I don't remember much about triggering, but if you use the chaos ability to transform it into a unit without a model or shadow, then that might work too.
11-11-2007, 02:16 AM#4
PandaMine
I realise what Malf is saying, unfortunatley its hard for me to explain why I am being so fussy. I am updating my AMHS (anti map hack system) and there is a way to counter MH, however everything has to be done locally. This means that it has to be done only graphically, which means I cannot add abilities, or create units. The only way it can be done is by adding spell effects because they are graphical and dont effect gameplay
11-11-2007, 02:30 AM#5
Malf
Replace adding an ability with adding an effect, then store that effect into gamecache so you can access it later for destroying and such.