• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Help - Attaching weapons

Status
Not open for further replies.
Level 2
Joined
Aug 9, 2008
Messages
18
Well the thing is they run at the same time. Your first trigger adds the ability while your second removes it. So basically it accomplishes nothing. Try disabling just the one that removes the ability.

I also tried that but it didn't work D;
 
Level 11
Joined
Jun 21, 2007
Messages
505
To attach weapons you can either use action "Special Effect - create special effect on unit at (specify attachment point here)". While specifying an attachment point, type "hand, right" and then make another function and specify "hand, left".
Or you can create a dummy ability which does nothing, (Item Defense +1 for example - just change the Data - Defense to 0) and edit lines: Art - Target (Here's your model path) (you may place multiple target arts in that list), Art - Target Attachment Point 1 (Here you enter attachment points, for example "hand" "right" and "left" in the same list) (all attachment points specified in that list will have the very first top model in the Art - Target list attached to the points) (all the following Art - Target Attachment Point 2 2,3,4,5... for example, Art - Target Attachment Point specifies points for the second model listed in Art - Target list to be attached to them. And so on).

To add attachments as abilities you need to make triggers:
  • Events
    • Unit - A unit acquires an item
  • Conditions
  • Actions
    • If (Item-Type of (item being manipulated) Equal to Sword) Then do (Unit - Add ability Sword to (Hero manipulating item)
  • Events
    • Unit - A unit loses an item
  • Conditions
  • Actions
    • If (Item-Type of (item being manipulated) Equal to Sword) Then do (Unit - Remove ability Sword from (Hero manipulating item)
 
Level 2
Joined
Aug 9, 2008
Messages
18
To attach weapons you can either use action "Special Effect - create special effect on unit at (specify attachment point here)". While specifying an attachment point, type "hand, right" and then make another function and specify "hand, left".
Or you can create a dummy ability which does nothing, (Item Defense +1 for example - just change the Data - Defense to 0) and edit lines: Art - Target (Here's your model path) (you may place multiple target arts in that list), Art - Target Attachment Point 1 (Here you enter attachment points, for example "hand" "right" and "left" in the same list) (all attachment points specified in that list will have the very first top model in the Art - Target list attached to the points) (all the following Art - Target Attachment Point 2 2,3,4,5... for example, Art - Target Attachment Point specifies points for the second model listed in Art - Target list to be attached to them. And so on).

To add attachments as abilities you need to make triggers:
  • Events
    • Unit - A unit acquires an item
  • Conditions
  • Actions
    • If (Item-Type of (item being manipulated) Equal to Sword) Then do (Unit - Add ability Sword to (Hero manipulating item)
  • Events
    • Unit - A unit loses an item
  • Conditions
  • Actions
    • If (Item-Type of (item being manipulated) Equal to Sword) Then do (Unit - Remove ability Sword from (Hero manipulating item)

I tried that but it didn't work >.<
 
Level 6
Joined
Mar 22, 2009
Messages
276
try creating a dummy ability for that item.
then in the dummy ability:
Art - Target = Your model
Art - Target Attachment Point 1 = Hand,Left
Art - Target Attachment Point 2 = Hand,Right
Art - Target Attachments = 2

i hope i helped you out
 
Last edited:
Level 2
Joined
Aug 9, 2008
Messages
18
You can base the dummy ability off the Item Defense Bonus +1
All you need to do is to make it give 0 defense instead of 1, and check the box saying that it's not an item ability and not hero ability, which will mean that it's a unit ability.

it works with sphere >.< I put a new screenshot up, look >.<
 
Level 2
Joined
Aug 9, 2008
Messages
18
NVM I've figured it out, thanks everyone. All i did was remove the drop trigger >.< it works perfectly now
 
Status
Not open for further replies.
Top