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

Debris unattackable

Status
Not open for further replies.

noj

noj

Level 4
Joined
Jan 16, 2006
Messages
89
I based a destructible based off the barrel so it can be attacked, gave it a new size, made it editor specific renamed it and gave it a new model. When testing it in game I can’t attack it, when I click to attack it instead of attacking it moves to it or attack-move to its spot. Nor can I select it like I can a barrel.

How can I fix this and make it destroyable?
 
Level 16
Joined
May 1, 2008
Messages
1,605
Hmm ok I have try it myself so --- I write it down and you see if I do the right thing ...

I used a barrel - named it "Destroy" - change the size and the model of it.

I place the barrel at the map - and a unit that will attack it...

I testet it and the Unit is attack the barrel...

Hmm make sure that your Unit can attack "Debris" - you can change it in the object editor > units > at your unit "Targets allowed".
 

noj

noj

Level 4
Joined
Jan 16, 2006
Messages
89
Hmm ok I have try it myself so --- I write it down and you see if I do the right thing ...

I used a barrel - named it "Destroy" - change the size and the model of it.

I place the barrel at the map - and a unit that will attack it...

I testet it and the Unit is attack the barrel...

Hmm make sure that your Unit can attack "Debris" - you can change it in the object editor > units > at your unit "Targets allowed".

he wouldent have been able to attack the barrel if he didint have that :(

is this possible to happen if the model has no death animation?
you should be still able to attack or atleast select it without animations no?
 

noj

noj

Level 4
Joined
Jan 16, 2006
Messages
89
Try to hover your mouse over it to see if it actually loses life. If it does not have an death animation it will just stay there.

after i try to attack it my guy attack-moves to it instead so it isint taking damage, i would also hear attack sounds and its death noise because it has the same one the barrel does. it also always has a health bar and selection circle so ya, it isint dieing.
 

noj

noj

Level 4
Joined
Jan 16, 2006
Messages
89
Hmm, all I can think of is to check if
1. Is the destructible attackble?
2. Can the unit actually attack?

ya to both.

i fixed it, i changed the model portrait to the same file the model is, and also removed its shadow. i dont see how any of those to relate to the problem but there now attackable.

is there a way to work around and get ride of the thing now when it dies though? because it has no death animation its still there after it dies, but of course it has no effect, like you can walk through it.
 
Status
Not open for further replies.
Top