HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Why is this not working?

06-08-2006, 09:00 PM#1
James59281
Special Effect - Create a special effect attached to the origin of (Last created unit) using (Name of Unit)

Basically, i'm attaching the model of a unit to a dummy unit.
But the model isn't appearing.
What's wrong?

Thanks in advance.
06-08-2006, 09:09 PM#2
Soultaker
Thing is that you are using a units name for the model path. The computer needs to know which model you want to put into the special effect.

If it's because you want a units model in the special effects, you should know that they have a different path than just their names. If you select unit model in the Object Editor, then you can see it's path in a box under it.

Could you give me a bit more info before I assume more? :)

- Soultaker
06-08-2006, 09:11 PM#3
weaaddar
Um unless the name of that unit is
"models\\something\\...mdl" I really don't think its going work. You need to actually attach a model to the unit.
06-08-2006, 09:46 PM#4
Vexorian
model paths used in that native must end with .mdl even if the file is an mdx.
06-08-2006, 09:53 PM#5
James59281
I think Soultaker got it right - i'm trying to attach a model to the dummy unit (which has a completely transparent model) via triggers.

If this isn't the correct way to do it, how can i?

My problem is that this must be able to apply to any unit, not just one i specify, which is why i can't enter a *specific* unit.
Specifically it applies to Casting Unit.
06-08-2006, 10:00 PM#6
Vexorian
Go to the object editor find that unit. Then you should find something like Art- Model File double click that thing and a crazy thing will pop out like units\human\footman\footman.mdl . Copy that to that trigger
06-08-2006, 10:03 PM#7
James59281
Quote:
Originally Posted by Vexorian
Go to the object editor find that unit. Then you should find something like Art- Model File double click that thing and a crazy thing will pop out like units\human\footman\footman.mdl . Copy that to that trigger

Thanks, but that only applies to a footman.
Let me explain in a bit more detail.
I have an ability that i want any unit to be able to use.
Without going into the specifics, i require a dummy model with a special effect of another unit superimposed on it.

My problem now becomes "how do i use triggers to find the model path of the unit that cast the ability, so that i can attach that same model to the dummy unit?"
06-08-2006, 10:17 PM#8
shadow1500
Quote:
My problem now becomes "how do i use triggers to find the model path of the unit that cast the ability, so that i can attach that same model to the dummy unit?"
You cant, you have to use gamecache/variables to store each model to the unit type and then retrive it when you need it.