wc3edit.net

United Warcraft 3 map hacking!
It is currently April 26th, 2024, 3:27 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: August 2nd, 2011, 5:18 am 
Offline
Senior Member

Joined: January 12th, 2009, 10:25 pm
Posts: 111
kick red
Events
Time - Every 0.10 seconds of game time
Conditions
(Item-type of (Item being manipulated)) Equal to HP Stone
Actions
Hero - Modify Strength of (Hero manipulating item): Add 1

Trigger name is kick red, its disguised under the kick folder. (Well not disguised, but you get my drift)

I'm not sure of the 'rules' for posting in the trigger/editing sub folder. I'm sure you'll all be pissed, but please please please don't reply telling me I need to change something about my post! If it must be edited: please do it yourself, pm me, ask a moderator or anyone who can edit others posts.

Please just help me ^_^! The goal: If Unit is holding HP Stone, add 1 STR per .10 seconds. Thanks again so much! ~cosmo

_________________
(Warcraft III = cosmosaint)
(XBL Gamertag = undead calibur)


Top
 Profile  
 
PostPosted: August 2nd, 2011, 11:18 am 
Offline
Forum Spammer

Joined: March 30th, 2009, 9:02 pm
Posts: 682
Lol, love your 2nd to last paragraph xD

Anyway, this is one way to do it:
1) remove the condition in the trigger you have and edit the action into adding str to -variable-
2) turn off that trigger
3) make another trigger with event "A unit owned by Player 1(Red) Aquires an item", condition "TriggeringUnit Equal to -whatever-" and "(Item-type of (Item being manipulated)) Equal to HP Stone", and action "Turn on trigger kick red" and "set -variable- equal to TriggeringUnit
4) make one more trigger to turn off the kick red trigger (event "a unit owned by player 1(Red) loses an item", conditions are the same, action "Turn off trigger kick red" and clear -variable
**the -whatever- can be whatever you need it to be. If it only works for a specific unit, make it equal to that unit, if it only works for a unit type (hero), make it equal to that unit type**

Also...if you're making a map (for public release or whatever), and you want to "disguise" something, you might wanna consider protecting and optimizing the map? That way no one can see the GUI stuff.


Top
 Profile  
 
PostPosted: August 2nd, 2011, 11:50 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
I don't like the GUI that much, so Ill just speak with a general recomendation.

If a unit picks up an item, set some boolean to true.
if a unit drops the item, set the same boolean to false
(all in 1 trigger)

2nd trigger:
every X seconds check the following:
if (the boolean above) then:
modify unit str - get triggering unit > get unit str + 1

_________________
Image
Spoiler:
(02:24:09)
Code:
ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).
Code:

(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code:
(15:42:51) Lanaya: can i suck , . . .

Code:
(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code:
GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code:
(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code:
(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?


Top
 Profile  
 
PostPosted: August 2nd, 2011, 4:30 pm 
Offline
Senior Member

Joined: January 12th, 2009, 10:25 pm
Posts: 111
Sounds like you both know what to do, If you would be so kind to make the trigger in a blank map with a standard item, so I can just 'copy & paste' the trigger in terms, well basically just look over it, and the 2nd to last paragraph is directed towards, Gmot's no offense but he usually only replies change your topic, and he's a mod. Anyway please upload a map with the complete trigger, thanks! I'll be in the chat for a while if you want to do it there =)!

_________________
(Warcraft III = cosmosaint)
(XBL Gamertag = undead calibur)


Top
 Profile  
 
PostPosted: August 2nd, 2011, 5:03 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
I don't use the GUI system, if you want I can try to do so in jass.

_________________
Image
Spoiler:
(02:24:09)
Code:
ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).
Code:

(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code:
(15:42:51) Lanaya: can i suck , . . .

Code:
(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code:
GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code:
(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code:
(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?


Top
 Profile  
 
PostPosted: August 2nd, 2011, 5:40 pm 
Offline
Senior Member

Joined: January 12th, 2009, 10:25 pm
Posts: 111
T1
Events
Time - Every 0.10 seconds of game time
Conditions
(Item-type of (Item being manipulated)) Equal to Claws of Attack +15
Actions
Hero - Modify Strength of (Hero manipulating item): Add 1


Blank map with hero placed for Red, Claws of Attack placed infront of red, victory/defeat conditions have been nulled.

Please make it so when the hero picks up the item, he gains +1 str every .10 seconds. Thanks again!


You do not have the required permissions to view the files attached to this post.

_________________
(Warcraft III = cosmosaint)
(XBL Gamertag = undead calibur)


Top
 Profile  
 
PostPosted: August 2nd, 2011, 7:06 pm 
Offline
Forum Spammer

Joined: March 30th, 2009, 9:02 pm
Posts: 682
You could made it a request you know o.o
Would have saved a lot of time for both of us.
Btw, thats a lot of str >.>


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: August 2nd, 2011, 7:09 pm 
Offline
Banned-To-Be
User avatar

Joined: July 28th, 2008, 6:28 pm
Posts: 1539
Title: Administrator
Code:
T1
    Events
        Unit - A unit Acquires an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Claws of Attack +15
    Actions
        Set Hero = (Hero manipulating item)

T2
    Events
        Time - Every 0.10 seconds of game time
    Conditions
        (Item-type of (Item carried by Hero of type Claws of Attack +15)) Equal to Claws of Attack +15
    Actions
        Hero - Modify Strength of Hero: Add 1


Oh the good times.. made 2 triggers and a Unit variable called Hero.

It should stop adding strength when you drop or lose the item.

Tested. have fun ^^

_________________
Image
League of legends North America - Nietono


Top
 Profile  
 
PostPosted: August 2nd, 2011, 9:59 pm 
Offline
Senior Member

Joined: January 12th, 2009, 10:25 pm
Posts: 111
haha awesome it works! I changed it to all stats every 0.01 its so awesome! :D!

_________________
(Warcraft III = cosmosaint)
(XBL Gamertag = undead calibur)


Top
 Profile  
 
PostPosted: August 2nd, 2011, 10:17 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
CoSmOSaiNt wrote:
haha awesome it works! I changed it to all stats every 0.01 its so awesome! :D!

From my experience it will cause a HUGE lag so just increase the number and time..

_________________
Image
Spoiler:
(02:24:09)
Code:
ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).
Code:

(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code:
(15:42:51) Lanaya: can i suck , . . .

Code:
(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code:
GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code:
(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code:
(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)