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

"Click" area around hero too big

Status
Not open for further replies.
Level 4
Joined
Oct 27, 2007
Messages
18
I've been doing some map editing and imported a custom model. But the problem is that the "clickable" area BEHIND AND TO THE SIDE around the hero is just too damned big! In front of the hero is perfect. This could be ignorable.... except all of the units insist on killing their own hero whenever moving close to it.

Unfortunately, I can't seem to find any options in WE to help and am even MORE inexperienced in model editing then map making ;). Any help?


And... While you're here ;).... I've been having trouble with getting a specific item to drop on a hero's death. You can either buy this item or kill a boss to get it to drop. I want the item to drop if that hero's ever killed to make more of a death penalty so that other players are allowed to pick it up.

Cheers.
 
Last edited:
Level 8
Joined
Feb 20, 2007
Messages
338
In object editor check the setting 'Art-Selection Scale'. See if making that smaller helps.

If this is a collision issue this would be Pathing- Collision Size.

If the circle is just off from the model then the model needs to be fixed... I do not know the shape of the model or how it lines up with its center.

Dropping items from heros:

If placed in the editor you can select the unit and hit enter - you can set what drops from the second tab that comes up.

If this is something the hero carries, then you will need to use the trigger:

  • Hero - Drop (Item carried by (Last created unit) in slot 1) from (Last created unit)
Last created unit would be the specific hero unit - you would assign a variable to the hero upon its creation or its training.

If this is just an item death drop then you need something like this:

  • Revive HERO Copy
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Mountain King
    • Actions
      • Item - Create Tome of Experience at (Position of (Dying unit))
If you have assigned a variable to your hero you would use that as condition.

If you have several hero types you would use the condition OR:

  • Or - Any (Conditions) are true
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Mountain King
      • (Unit-type of (Dying unit)) Equal to Blademaster
      • (Dying unit) Equal to ARADZELL
In this case if a hero type of Mountain king dies OR Unit type Blademaster or the variable assigned unit Aradzell dies your action would take place.
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
This is called 'selection circle', it's in the object editor in the statistics of each unit. I'm sorry I don't have the game with me, here. By decreasing the value of the selection size you in/decrease the circle. Also there is selection height - you can change values if your circle is above your unit you can decrease the value. Select a value and use Shift+doubleclick the selected value to be able to change a value to negative by typing say -1.5 if 0 is still too high or too big. Don't use values = or < 0.01 because that's pretty small and cannot be selected.

You can select the value from object editor> items tab to drop item on death. If you want to do other things like making an item undroppable, etc, it's all among the item fields.
 
Level 4
Joined
Oct 27, 2007
Messages
18
hoorah! Thanks all =)

Combined a little of first and second for something like...
If a unit dies, is a hero and carries X item, remove X item and create X item at position of triggering unit. (sorry for the non-GUI).

BUT, I'm still not sure what I'm doing wrong on the model... I've been gradually reducing selection height to -50 and scale to .10 and it's still just as bad as when I started. I really want to get some more beta testing done, so I decided on preventing that particular hero until we can figure out what I'm screwing up =P.
 
Last edited:
Status
Not open for further replies.
Top