HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

attachment points of THIS CUSTOM UNIT

07-23-2004, 05:22 PM#1
herpelocust
I usually can figure things out on my own but I'm stumped on this one.

I created a custom unit based on the "flame tower" unit and used the model of the doodad "gul'dan's runes"

I created a trigger :
Unit enters Playable Map Area
-
If Unit Type of Entering Unit Equal to (Name of Custom Unit)
Then create a special effect attached to the origin of entering unit using model ...
Else do nothing

But when the tower is built nothing appears.
The Trigger itself is structured correctly but the attachment point is obviously wrong.
I have also tried the attachment points: foot, head, overhead
But none of them work either......

Do the attachment points go off of the base unit (Flame Tower) or off of the model used (Gul'Dan's Runes...... which is a doodad and maybe doesn't have at. pts.)

Can you help me? Specifics are appreciated.
07-23-2004, 05:33 PM#2
Oinkerwinkle
They go off the model used, which evidently does not have attachment points.
07-23-2004, 08:32 PM#3
herpelocust
Is there a program that allows you to open model files and see what attachments are available for each model?
07-23-2004, 08:58 PM#4
herpelocust
Quote:
Originally Posted by Wormskull
you could just make a special effect at the location of the guldan rune :(

I tried that but found that the special effect is not removed on the units death.

Since the special effect only looks good on the unit it is necessary that the special effect be removed when the unit is removed.

I tried all kinds of triggers to get around this but couldn't find one that worked....

The closest I came was one that worked fine if each player built only one tower but if they built more it would remove the specific effect only from the last tower built... not the one sold/removed/killed/etc.

I guess that I will just have to learn how to skin and make an invisible skin for another unit that has attachment points and just attach the Gul'dan's Rune to that unit.

If anyone knows of another way around this problem please post it! :D
07-23-2004, 09:54 PM#5
Waynebebay
What exactly are you trying to do? If you explain more, I can help. All I have gotten out of it (and I may be right) is that you want a unit to enter 'A Region' and when the unit enters the tower within the region creates a special effect? It is important to know if the tower is within the region or not. Explain to me your full layout please then I will get a better understanding of your problem.
07-23-2004, 10:31 PM#6
Oinkerwinkle
You can add attachments relatively easily.

First, use this tutorial to get the MDL of the rune.
Scroll down to near the end, just before the PivotPoints. Paste this in:
Code:
Attachment "Origin" {
	ObjectId 1,
}
Convert back to MDX and import as you would anything.
07-23-2004, 11:10 PM#7
herpelocust
Quote:
Originally Posted by Oinkerwinkle
You can add attachments relatively easily.

First, use this tutorial to get the MDL of the rune.
Scroll down to near the end, just before the PivotPoints. Paste this in:
Code:
Attachment "Origin" {
	ObjectId 1,
}
Convert back to MDX and import as you would anything.

Awesome. Simply awesome. Oinkerwinkle's the man. Not a complicated tutorial at all. Thanks.

P.S. The unit looks weird in the world edit but looks great ingame : )