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

[General] Help w/ Building Attachments

Status
Not open for further replies.

sentrywiz

S

sentrywiz

Hello

I'm having problems with displaying effects on custom structure models.

I have an overtime disease-like effect that should display the cloud either above or below the structure model. However, nothing works.

I tried:
-origin, overhead, sprite, first, second, third
-with the buff
-with triggers

How to make effects display on custom buildings, or buildings in general?
 

sentrywiz

S

sentrywiz

Darkgrom, that is even harder than what I tried, with point special effects. But it might do the trick, as I only need to "show" that the building is diseased, not keep the buff or whatever.

Maker, that sounds great, but also complex. I'll also try what you said, see if I can make it work.

+rep for both

EDIT: Maker, I did you what you said (I had the model editor from before) and opened one of the models I am using right now. No ref's. There is only one bone like icon and that's it. I opened a couple of units models just to be sure I am looking at it correctly. Yep, no attachments there. I could probably add one, if I knew what to do. For now, I'll go with Darkgrom's idea, its something I understand.

Off-topic maker, you played Castle Fight? If so, do you know how the buildings there have effects attached to them? Some have doodads infront, some houses are turned.. some have added doodads behind them, above + some spell effect. Overall, nothing out of wc3 but I don't know how its done.
 
Off-topic maker, you played Castle Fight? If so, do you know how the buildings there have effects attached to them? Some have doodads infront, some houses are turned.. some have added doodads behind them, above + some spell effect. Overall, nothing out of wc3 but I don't know how its done.
Custom models mah boy. Or they attached units to other units. Either way works.
 

sentrywiz

S

sentrywiz

Thanks maker & maddeem.
However, one more question about the attachments - say I have human barracks. I want to attach a farm onto the barracks, let's say left from them. How would I do that?
 
You may want to create a special effect at location in that case.
  • Set Loc1 = (Position of Barracks)
  • Set Loc2 = (Loc1 offset by 128.00 towards 0 degrees)
  • Special Effect - Create a special effect at Loc2 using buildings\human\Farm\Farm.mdl
  • Custom script: call RemoveLocation (udg_Loc1)
  • Custom script: call RemoveLocation (udg_Loc2)
You may also want to save it via a hashtable, so as to destroy it once the barracks themselves are destroyed.
 

sentrywiz

S

sentrywiz

Thanks, that'd be helpful.
However, the full trigger would of been more helpful
 
Status
Not open for further replies.
Top