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

[Import] help!

Status
Not open for further replies.
Level 28
Joined
Jan 26, 2007
Messages
4,789
Sure, here's a 'short' guide (lots of images to explain it, so it might look long):

Step 1: downloading the model.
Here on the hive, click "Model" in the top-left corner.
QoHLxx2.jpg


Then select your model and press the giant "Download" button.
For this guide, I've chosen the Dragon Spear.
BY8ZKKI.jpg


The models are always compressed in a .rar-file.
Right-click the file and select "Extract Here" (if you have WinRAR), or "7-Zip -> Extract Here" (if you have 7-Zip).
7koMYmC.jpg


or

H3ivCrG.jpg


Before you actually start importing, you need to check the texture paths.
On the hive, this is really simple:
c1Y8p2v.jpg

Remember that!


Step 2: importing the model.

Open the import manager (F12) and select "Import File".
wMwLoN1.jpg


Now find the files on your PC, and select "Open" to import them (1 by 1).
IfUecvU.jpg


Once that is done (the 2 files have been imported), right-click the file with the .blp-extension and select "Modify File Properties" (alternatively, press Enter while having that file selected in the import manager).
Change the path you see there to this:
TMJO4pX.jpg

(Remember the end of Step 1? That's why you had to remember it!)

Once that is done, the import manager should look like this:
2ogfD9F.jpg

(the path of the .mdx-file doesn't matter, I've renamed it here anyway).


Step 3: attaching the model to a unit.

It's as simple as this action:
  • Special Effect - Create a special effect attached to the hand,left of Peasant 0001 <gen> using Dragon Spear.mdx
If that's been done, the final product should look like this:
LJWCdgE.jpg
 
Level 1
Joined
Mar 2, 2013
Messages
3
I did everything right, but in phase 4 do not know how this effect can esplicar a bit this last part? preferably a photo that shows what i should write in place and where the effect is so I can change!
 
Last edited:
Level 28
Joined
Jan 26, 2007
Messages
4,789
The trigger really depends on what you want to do.
Here, I'll try to explain how it works for picking up an item.

This is what the base trigger will look like:
  • Pickup Spear
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Dragon Spear
    • Actions
      • Special Effect - Create a special effect attached to the hand,left of (Triggering unit) using Dragon Spear.mdx
Here's how:
DYzZT4R.jpg

2q8fw0k.jpg

5oK7Bsu.jpg


But this still bugs: dropping the item does not remove the effect.
Therefore, you need to create a special effect variable.
Open the Variable Editor:
EGL5tB7.jpg


Create a new variable:
zIVUZSg.jpg


Fill in this information:
uDRxpdq.jpg


Now your trigger needs to become like this:
  • Pickup Spear
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Dragon Spear
    • Actions
      • Special Effect - Create a special effect attached to the hand,left of (Triggering unit) using Dragon Spear.mdx
      • Set WeaponEffect = (Last created special effect)
RBJBaah.jpg


And a new trigger:
  • Drop Spear
    • Events
      • Unit - A unit Loses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Dragon Spear
    • Actions
      • Special Effect - Destroy WeaponEffect
The event is slightly different, but you should know how that works.
The condition is exactly the same.
So only the action might want to be explained.

o5fEMWR.jpg


Note: sometimes it takes a while to destroy an effect (if the effect doesn't go away after 3-5 seconds, then something's wrong).
 
Status
Not open for further replies.
Top