[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III > World Editor Help Zone


World Editor Help Zone Ask general questions about World Editor features and use in this forum. If you need help fixing a trigger, please post it in Triggers & Scripts. Please review the forum rules before posting.

Closed Thread
 
Thread Tools
Old 12-02-2008, 11:54 AM   #1 (permalink)
Registered User X-OMG-X
Amira Tower Defence
 
X-OMG-X's Avatar
 
Join Date: Nov 2008
Posts: 2,247
X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)
Question How to make recipe items? (like in dota)

I am making a map
(Sunken Hero Arena v.1.4 - The Hive Workshop - A Warcraft III Modding Site)
And i maked a mass items but how to make recipe items? (like in dota)
Can someone help me?
__________________
X-OMG-X is offline  
Old 12-02-2008, 11:58 AM   #2 (permalink)
Registered User bounty hunter2
...
 
bounty hunter2's Avatar
 
Join Date: Sep 2005
Posts: 2,044
bounty hunter2 has disabled reputation
Former Staff Member: This user used to be on the Hive Workshop staff. 
Yes - you need a simple trigger

event - every 0.01 second of game

if unit has item1 and item2

then item remove item1 item2 create item3

else do nothing
bounty hunter2 is offline  
Old 12-02-2008, 12:01 PM   #3 (permalink)
Registered User TheBlooddancer
You just lost it.
 
TheBlooddancer's Avatar
 
Join Date: Jun 2008
Posts: 3,535
TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)
Ugh. Dont use time for item recipes.
Better use 'A unit aqquires an item'.
__________________
TheBlooddancer is offline  
Old 12-02-2008, 12:04 PM   #4 (permalink)
Registered User bounty hunter2
...
 
bounty hunter2's Avatar
 
Join Date: Sep 2005
Posts: 2,044
bounty hunter2 has disabled reputation
Former Staff Member: This user used to be on the Hive Workshop staff. 
ah yes thats if you need a recipe, but if you need a recipe that costs nothing like dota, you need to merge them instantly without the recipe.
bounty hunter2 is offline  
Old 12-02-2008, 12:10 PM   #5 (permalink)
Registered User TheBlooddancer
You just lost it.
 
TheBlooddancer's Avatar
 
Join Date: Jun 2008
Posts: 3,535
TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)
You may be right. I've never played Dota. But if you aquire the item, it will merge too, so i doubt that yours would be that. Anyhow, if there is a leak in a trigger that runs 100 time a second, you will get lagged t'ill death.
__________________
TheBlooddancer is offline  
Old 12-02-2008, 12:17 PM   #6 (permalink)
Registered User bounty hunter2
...
 
bounty hunter2's Avatar
 
Join Date: Sep 2005
Posts: 2,044
bounty hunter2 has disabled reputation
Former Staff Member: This user used to be on the Hive Workshop staff. 
yea you are right so it would be like that:

unit aquires item1

if unit has item2 then create item3
bounty hunter2 is offline  
Old 12-02-2008, 12:18 PM   #7 (permalink)
Registered User X-OMG-X
Amira Tower Defence
 
X-OMG-X's Avatar
 
Join Date: Nov 2008
Posts: 2,247
X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)
Okay, thank you (:
Now i will go to work again.
__________________
X-OMG-X is offline  
Old 12-02-2008, 12:21 PM   #8 (permalink)
Registered User TheBlooddancer
You just lost it.
 
TheBlooddancer's Avatar
 
Join Date: Jun 2008
Posts: 3,535
TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)
Remember to give reputation when people helps you. It doesnt cost you anything.

(Read my signature)
__________________
TheBlooddancer is offline  
Old 12-02-2008, 12:21 PM   #9 (permalink)
Registered User NoobinJass
Out Of Here
 
Join Date: Aug 2008
Posts: 144
NoobinJass has little to show at this moment (21)NoobinJass has little to show at this moment (21)NoobinJass has little to show at this moment (21)
Idea

I assume you have create 5 items:
-Sword (1000 gold)
-Flame orb (1000 gold)
-Flame Sword (Dummy) (1000 gold)
-Flame Sword Recipe ( 1000)
-The flame sword( the true sword) (3000 gold)


Description:
Okay Sword and orb is the first item. Recipe is Recipe (u know that). Dummy is the item that unit will buy and will be changed into recipe. The flame sword is the true sword.

Trigger:

Events
- Unit-Unit acquaries an item
Condition
- ((Item carried by (triggering unit) of type Flame Sword (dummy) is owned)Equal to True
Actions
- Item-remove (item carried by (triggering unit) of flame sword(dummy))
- Hero-create the Flame Sword Recipe and give it to (triggering unit)



How to make combined item (same)

Events
- Unit acquaries an item
Condition
- ((triggering unit) has an item of type Flame Orb) equal to true
- ((triggering unit) has an item of type Sword) equal to true
- ((triggering unit) has an item of type Flame Sword Recipe) equal to true
Actions
- Special effect-create a special effect attached to the origin of (triggering unit) using abilities/spells/items/alem/alem target.mdl
- Item-remove (item carried by(triggering unit) of type Flame Orb)
- Item-remove (item carried by(triggering unit) of type Ordinary Sword)
- Item-remove (item carried by(triggering unit) of type Flame Sword Recipe)
- Hero - create The Flame Sword and give it to (triggering unit)


Try this :
SYSTEM..XD.w3x
__________________
Bye - Bye EveryBody.......
NoobinJass is offline  
Old 12-02-2008, 12:26 PM   #10 (permalink)
Registered User X-OMG-X
Amira Tower Defence
 
X-OMG-X's Avatar
 
Join Date: Nov 2008
Posts: 2,247
X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)
But i can't find the condition.
Do you know where the distination of it is?
__________________
X-OMG-X is offline  
Old 12-02-2008, 12:30 PM   #11 (permalink)
Registered User bounty hunter2
...
 
bounty hunter2's Avatar
 
Join Date: Sep 2005
Posts: 2,044
bounty hunter2 has disabled reputation
Former Staff Member: This user used to be on the Hive Workshop staff. 
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item carried by (Triggering unit) in slot 1)) Equal to Tome of Experience
Else - Actions

try the search tool in the trigger editor
bounty hunter2 is offline  
Old 12-02-2008, 12:31 PM   #12 (permalink)
Registered User X-OMG-X
Amira Tower Defence
 
X-OMG-X's Avatar
 
Join Date: Nov 2008
Posts: 2,247
X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)X-OMG-X is a jewel in the rough (240)
Okay Thank you for help and i will remember to give reputation. (:
And you can download my latest version of Sunken Hero Arena.
The next version will come soon (with recipes).
__________________
X-OMG-X is offline  
Old 12-02-2008, 12:31 PM   #13 (permalink)
Registered User TheBlooddancer
You just lost it.
 
TheBlooddancer's Avatar
 
Join Date: Jun 2008
Posts: 3,535
TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)
Its called 'If/Then/else Multiple functions.

Just Search for text -> If. it should be the first.
__________________
TheBlooddancer is offline  
Old 12-02-2008, 12:40 PM   #14 (permalink)
Registered User bounty hunter2
...
 
bounty hunter2's Avatar
 
Join Date: Sep 2005
Posts: 2,044
bounty hunter2 has disabled reputation
Former Staff Member: This user used to be on the Hive Workshop staff. 
But i can't find the condition.
Do you know where the distination of it is?

yea but hes looking for the condition, so first use if function and then search for the condition in search for text
bounty hunter2 is offline  
Old 12-02-2008, 12:52 PM   #15 (permalink)
Registered User TheBlooddancer
You just lost it.
 
TheBlooddancer's Avatar
 
Join Date: Jun 2008
Posts: 3,535
TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)TheBlooddancer is a glorious beacon of light (566)
Bolean, Hero has item.
__________________
TheBlooddancer is offline  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Items like on dota Igor_Z Triggers & Scripts 9 08-25-2008 06:47 PM
Can any1 help me make items like such in dota? chichichi1 Triggers & Scripts 4 11-01-2007 12:51 PM
How to make items attack? Lafeet World Editor Help Zone 26 09-09-2007 01:35 AM
Fav DotA hero And recipe and Stratergy The_Dota_Star Map Development 8 12-05-2004 08:27 AM
How can i make 3 items merge in one. set Recycle Bin 1 01-02-1970 02:13 PM

All times are GMT. The time now is 12:06 PM.




Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle