- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
item recharge
Fri 23 Feb 2007, 20:18
how doi do if i want to make a item rechargeabel for example a handgun or a shotgun?
- Sunny_DLTG
- Posts : 1653
Réputation : 3
Regist Date : 2006-02-04
Re: item recharge
Fri 23 Feb 2007, 20:26
you can do a trigger that decreases the charges remaining (item-action) by 1 each time a hero attacks something.
in another trigger check if an attacking unit has 0 charges remaining in item, and if thats true then order attacking unit to stop.
for re-charge you can do many different ways. for example check if someone casts the item ability of a clip then reset charges remaining of the weapon item.
in another trigger check if an attacking unit has 0 charges remaining in item, and if thats true then order attacking unit to stop.
for re-charge you can do many different ways. for example check if someone casts the item ability of a clip then reset charges remaining of the weapon item.
- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
Re: item recharge
Fri 23 Feb 2007, 20:32
oki but i need help whit a item just like the item shotgun in dotd 5 i need to know how to do that trigger
- Sunny_DLTG
- Posts : 1653
Réputation : 3
Regist Date : 2006-02-04
Re: item recharge
Fri 23 Feb 2007, 20:36
hm... i can do a quick sample map later if you want...
- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
Re: item recharge
Fri 23 Feb 2007, 20:41
that woud be real nice and help full thanks!
- Sunny_DLTG
- Posts : 1653
Réputation : 3
Regist Date : 2006-02-04
Re: item recharge
Sat 24 Feb 2007, 02:51
i uploaded a small sample map with a rechargeable shotgun. pretty easy trigger though, but that way you can also have a look/copy the abilities needed. ;)
Link
Link
- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
Re: item recharge
Sat 24 Feb 2007, 10:15
THANKS!
- Sunny_DLTG
- Posts : 1653
Réputation : 3
Regist Date : 2006-02-04
Re: item recharge
Sat 24 Feb 2007, 15:00
ok ^^
ye, megaupload may be a little confusing sometimes with its download code... but at least its fast
ye, megaupload may be a little confusing sometimes with its download code... but at least its fast
- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
Re: item recharge
Sat 24 Feb 2007, 15:40
but i was woundering because now i can load like 100 shot gun shells in a shot gun how do i make a trigger that makes it possible to just refill it and not overload it?
- Sunny_DLTG
- Posts : 1653
Réputation : 3
Regist Date : 2006-02-04
Re: item recharge
Sat 24 Feb 2007, 15:42
set charges remaining in shotgun to 12?
or probably its also better if you add a condition so its looks like:
or probably its also better if you add a condition so its looks like:
- Code:
Reload Shotgun
Events
Unit - A unit Uses an item
Conditions
((Triggering unit) has an item of type Shotgun) Equal to True
(Item-type of (Item being manipulated)) Equal to Shotgun Shells
(Charges remaining in (Item carried by (Triggering unit) of type Shotgun)) Less than 12 //*Integer Comparison
Actions
Item - Remove (Item being manipulated)
Item - Set charges remaining in (Item carried by (Triggering unit) of type Shotgun) to 12
- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
Re: item recharge
Sat 24 Feb 2007, 16:29
thanks do you know of any good icon maker program?
- Sunny_DLTG
- Posts : 1653
Réputation : 3
Regist Date : 2006-02-04
Re: item recharge
Sat 24 Feb 2007, 18:40
icon maker? hm... not that i would know... but WEU can make you the borders ...
- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
Re: item recharge
Sat 24 Feb 2007, 20:43
WEU?
- Asgard_RagnaCOL
- Posts : 750
Réputation : 7
Regist Date : 2006-01-20
Re: item recharge
Sat 24 Feb 2007, 22:32
World Editor Unlimited
- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
Re: item recharge
Sat 24 Feb 2007, 22:36
?
- Sunny_DLTG
- Posts : 1653
Réputation : 3
Regist Date : 2006-02-04
Re: item recharge
Sat 24 Feb 2007, 23:03
http://www.wc3campaigns.net/tools/weu/
basically an advanced version of the normal world editor
basically an advanced version of the normal world editor
- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
Re: item recharge
Sun 25 Feb 2007, 10:27
cool
- MoonstormSG
- Posts : 28
Réputation : 0
Regist Date : 2006-12-07
Re: item recharge
Mon 05 Mar 2007, 16:33
how do u do a s3 marine suvival ammo system? plz help me
Re: item recharge
Mon 05 Mar 2007, 22:42
have a look on the map i sent u a link to it on your other post
Permissions in this forum:
You cannot reply to topics in this forum