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

Making a destructable a unit?

Status
Not open for further replies.

xplicitjohn

X

xplicitjohn

hi again

im making a skill that allows you to morph into a tree

like is it possible to make a destructible a unit?

Or do i create a a peasant and change its model?
 
Level 5
Joined
Nov 6, 2009
Messages
185
Use the base skill as a transformation one, like demon hunter. The transformed unit, use a tree model. If your tree turns white or looks non-tree like, there is a tutorial one how to fix that.
 

xplicitjohn

X

xplicitjohn

Use the base skill as a transformation one, like demon hunter. The transformed unit, use a tree model. If your tree turns white or looks non-tree like, there is a tutorial one how to fix that.

whats the tutorial
 

xplicitjohn

X

xplicitjohn

Use the base skill as a transformation one, like demon hunter. The transformed unit, use a tree model. If your tree turns white or looks non-tree like, there is a tutorial one how to fix that.

also the units cant be destructibles
 
Level 5
Joined
Nov 6, 2009
Messages
185
Hmmm... Make the base of the spell windwalk and put this in.
  • Events
  • Unit - A unit Starts the effect of an ability
  • Conditions
  • (Ability being cast) Equal to Windwalk
  • Actions
  • Destructible - Create a Summer Tree Wall at (Position of (Casting unit)) facing (Random angle) with scale 1.00 and variation 0
 

xplicitjohn

X

xplicitjohn

Hmmm... Make the base of the spell windwalk and put this in.
  • Events
  • Unit - A unit Starts the effect of an ability
  • Conditions
  • (Ability being cast) Equal to Windwalk
  • Actions
  • Destructible - Create a Summer Tree Wall at (Position of (Casting unit)) facing (Random angle) with scale 1.00 and variation 0

Cant i use replace? or something? and would the tree just stay there? while the caster can move around?
 
Level 5
Joined
Nov 6, 2009
Messages
185
Replace only works for units to units, if you want the tree to be gone just add in the action of the trigger

Wait 0.00 seconds
destroy last created destructible.

Edit* Remove not destroy =P
 

xplicitjohn

X

xplicitjohn

Replace only works for units to units, if you want the tree to be gone just add in the action of the trigger

Wait 0.00 seconds
destroy last created destructible.

Edit* Remove not destroy =P

By the way the "caster" wont turn into a tree it will just create a tree while they can move around
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
By the way the "caster" wont turn into a tree it will just create a tree while they can move around

no but you can make a trigger that moves the tree to the position of the unit while it walks...
And if you don't want the units to move while being a tree you can always change the movespeed of the unit while it is being a tree (dunno if there's an gui action for this since I don't got trigger editor open right now) But you can replace the hero with a dummy hero that can't walk...

Will probably work ;)

But make sure that the tree skill is based of a skill that makes the unit invisible for other units (which means that gems of true sight and such won't affect them ;)...) What about locust?

there are probably lots of solutions to this... You just have to find them out ;)

EDIT: (opened world editor and saw that changing the position of a tree can be difficulty :S) But I'll try it for ya ;)

other way to do it: export the model of the tree that you want to use for being a unit. And let someone re-skin that model... for example:

warcraft 3 viewer: file -> open mpq -> war3.mpq -> under mdx files (in the treeview) go to: doodads-> terrain -> the tree kind that you like and export the file by clicking on: current file -> extract to mdx then when your done go to blp files (also in the treeview) and then: ReplaceableTextures -> your tree you want the skin of... and again go to current file -> extract and convert (and save it as blp or bmp depending on how the person that wants to do the re-skinning of the trees for you wants to have the skin file, and maybe he needs the .mdl instead of mdx... I'm not sure about how that works yet :D But there are a few programs for converting .mdx to .mdl if I'm right...)

(I don't know much about skinning :S But that might work so: import the model + skin into your map and now when you use the model, it will probably work for units too...)

I'm beaten :S Haven't found much other solutions yet....
 
Last edited:

xplicitjohn

X

xplicitjohn

no but you can make a trigger that moves the tree to the position of the unit while it walks...
And if you don't want the units to move while being a tree you can always change the movespeed of the unit while it is being a tree (dunno if there's an gui action for this since I don't got trigger editor open right now) But you can replace the hero with a dummy hero that can't walk...

Will probably work ;)

But make sure that the tree skill is based of a skill that makes the unit invisible for other units (which means that gems of true sight and such won't affect them ;)...) What about locust?

there are probably lots of solutions to this... You just have to find them out ;)

EDIT: (opened world editor and saw that changing the position of a tree can be difficulty :S) But I'll try it for ya ;)

other way to do it: export the model of the tree that you want to use for being a unit. And let someone re-skin that model... for example:

warcraft 3 viewer: file -> open mpq -> war3.mpq -> under mdx files (in the treeview) go to: doodads-> terrain -> the tree kind that you like and export the file by clicking on: current file -> extract to mdx then when your done go to blp files (also in the treeview) and then: ReplaceableTextures -> your tree you want the skin of... and again go to current file -> extract and convert (and save it as blp or bmp depending on how the person that wants to do the re-skinning of the trees for you wants to have the skin file, and maybe he needs the .mdl instead of mdx... I'm not sure about how that works yet :D But there are a few programs for converting .mdx to .mdl if I'm right...)

(I don't know much about skinning :S But that might work so: import the model + skin into your map and now when you use the model, it will probably work for units too...)

I'm beaten :S Haven't found much other solutions yet....

Thanks for the solution/suggestions ill try it out now
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
Thanks for the solution/suggestions ill try it out now

remember this will most probably not work through triggers, just export the model and the texture and ask someone to re-skin the model and then import it into your map so you can use the model as unit ;)

I think this is the best possible solution for your problem.
 
Status
Not open for further replies.
Top