Go down
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty 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_D
Sunny_D
LTG
LTG
Posts : 1653
realm_1
Réputation : 3
item recharge Pp_adm10
Regist Date : 2006-02-04

item recharge Empty 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.
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty 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_D
Sunny_D
LTG
LTG
Posts : 1653
realm_1
Réputation : 3
item recharge Pp_adm10
Regist Date : 2006-02-04

item recharge Empty Re: item recharge

Fri 23 Feb 2007, 20:36
hm... i can do a quick sample map later if you want... Wink
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty Re: item recharge

Fri 23 Feb 2007, 20:41
that woud be real nice and help full thanks!thumright
Sunny_D
Sunny_D
LTG
LTG
Posts : 1653
realm_1
Réputation : 3
item recharge Pp_adm10
Regist Date : 2006-02-04

item recharge Empty 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
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty Re: item recharge

Sat 24 Feb 2007, 10:15
THANKS!Very Happy
Sunny_D
Sunny_D
LTG
LTG
Posts : 1653
realm_1
Réputation : 3
item recharge Pp_adm10
Regist Date : 2006-02-04

item recharge Empty 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 Wink
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty 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_D
Sunny_D
LTG
LTG
Posts : 1653
realm_1
Réputation : 3
item recharge Pp_adm10
Regist Date : 2006-02-04

item recharge Empty 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:

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
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty Re: item recharge

Sat 24 Feb 2007, 16:29
thanks do you know of any good icon maker program?
Sunny_D
Sunny_D
LTG
LTG
Posts : 1653
realm_1
Réputation : 3
item recharge Pp_adm10
Regist Date : 2006-02-04

item recharge Empty Re: item recharge

Sat 24 Feb 2007, 18:40
icon maker? hm... not that i would know... but WEU can make you the borders ...
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty Re: item recharge

Sat 24 Feb 2007, 20:43
WEU?
Asgard_Ragna
Asgard_Ragna
COL
COL
Posts : 750
realm_3
Réputation : 7
item recharge Pp_off10
Regist Date : 2006-01-20

item recharge Empty Re: item recharge

Sat 24 Feb 2007, 22:32
World Editor Unlimited
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty Re: item recharge

Sat 24 Feb 2007, 22:36
?
Sunny_D
Sunny_D
LTG
LTG
Posts : 1653
realm_1
Réputation : 3
item recharge Pp_adm10
Regist Date : 2006-02-04

item recharge Empty Re: item recharge

Sat 24 Feb 2007, 23:03
http://www.wc3campaigns.net/tools/weu/

basically an advanced version of the normal world editor Wink
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty Re: item recharge

Sun 25 Feb 2007, 10:27
cool
avatar
Moonstorm
SG
SG
Posts : 28
realm_1
Réputation : 0
Regist Date : 2006-12-07

item recharge Empty Re: item recharge

Mon 05 Mar 2007, 16:33
how do u do a s3 marine suvival ammo system? plz help me
Lisianthus
Lisianthus
COL
COL
Posts : 975
realm_3
Réputation : 5
item recharge Pp_off10
Regist Date : 2006-11-03
http://www.dotd-stars.com

item recharge Empty 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
Sponsored content

item recharge Empty Re: item recharge

Back to top
Permissions in this forum:
You cannot reply to topics in this forum