wc3edit.net

United Warcraft 3 map hacking!
It is currently April 25th, 2024, 11:57 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: March 28th, 2012, 12:38 pm 
Offline
Member
User avatar

Joined: May 20th, 2009, 3:37 pm
Posts: 79
Location: brasil
Title: ^^ THis A Life^^
every level up you gain 3 stats points for add, and you use the comand -agi 3 for add 3 points of agi, -str 3 for add 3 points in str.

and the comand -create

ps: this comands add in maps korean language


thx for all and sory for my bad english.

_________________
By Pirroludo


Top
 Profile  
 
PostPosted: March 28th, 2012, 6:53 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
You want it in GUI or in JASS?

You want it available for all players or only those who activated it?

If you want it in jass for all players.

Under globals:
Spoiler:
Code:
trigger addStatsOnLevelUp=CreateTrigger() // the trigger that we need
constant integer AMOUNT_OF_STATS_TO_ADD=3 //the amount of stats added to the leveling hero


Under EndGlobals:
Spoiler:
Code:
function addStatsOnLevelUp_Action takes nothing returns nothing
call SetHeroStr(GetTriggerUnit(),GetHeroStr(GetTriggerUnit(),false)+AMOUNT_OF_STATS_TO_ADD,true)
call SetHeroAgi(GetTriggerUnit(),GetHeroAgi(GetTriggerUnit(),false)+AMOUNT_OF_STATS_TO_ADD,true)
call SetHeroInt(GetTriggerUnit(),GetHeroInt(GetTriggerUnit(),false)+AMOUNT_OF_STATS_TO_ADD,true)
endfunction

function statsMain takes nothing returns nothing
local integer index=0
loop
exitwhen index>11
call TriggerRegisterPlayerUnitEvent(addStatsOnLevelUp,Player(index),ConvertPlayerUnitEvent(41),null)
set index=index+1
endloop
call TriggerAddAction(addStatsOnLevelUp,function addStatsOnLevelUp_Action)
endfunction


Under the locals of function main
Spoiler:
Code:
call statsMain()


I didn't test it but it should work.

Same in GUI is on the attached map (I don't know any other way to post a GUI trigger)


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

_________________
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: March 28th, 2012, 9:07 pm 
Offline
Member
User avatar

Joined: May 20th, 2009, 3:37 pm
Posts: 79
Location: brasil
Title: ^^ THis A Life^^
Thank you my friend, so I'm trying to understand and grasp on the subject I wanted to edit a map to put these commands, I searched the forum and nobody knows how to do this, the map and the world, is a Korean rpg and very good by the way so that the commands are in Korean, and I would like to traduzilos adicionalos or in English if possible.
I am very grateful for your help,
Thank you.

_________________
By Pirroludo


Top
 Profile  
 
PostPosted: March 28th, 2012, 10:32 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
What is "traduzilos adicionalos"

If you want to add that command to a map...
Open the map using MPQMaster
extract war3map.j file (might be in the scripts folder)
Open the war3map.j file with any text editor
Add the information I specified where I specified. (under globals, endglobals and the locals of function main)
Save the file.
Insert and overide using MPQMaster.

If you want to know the jass code itself, I will be happy to to explain the way it goes.

If I didn't understand you, please specify your request a little bit better.

It doesn't matter if the map is in korean (unless korean maps have their own jass code). This code should work for any map. But I didn't test it...

_________________
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: March 28th, 2012, 11:41 pm 
Offline
Member
User avatar

Joined: May 20th, 2009, 3:37 pm
Posts: 79
Location: brasil
Title: ^^ THis A Life^^
ok I understand, you would add these commands in this map?


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

_________________
By Pirroludo


Top
 Profile  
 
PostPosted: March 29th, 2012, 5:22 pm 
Offline
Member
User avatar

Joined: May 20th, 2009, 3:37 pm
Posts: 79
Location: brasil
Title: ^^ THis A Life^^
any??

_________________
By Pirroludo


Top
 Profile  
 
PostPosted: March 29th, 2012, 6:41 pm 
Offline
Forum Spammer

Joined: March 30th, 2009, 9:02 pm
Posts: 682
does the 5 day bumping rule apply here? o.o
and if this is a request, you gotta make a new thread in map requests with a custom cheat i believe
plus, it's probably better to learn yourself...


Top
 Profile  
 
PostPosted: March 30th, 2012, 12:27 pm 
Offline
Member
User avatar

Joined: May 20th, 2009, 3:37 pm
Posts: 79
Location: brasil
Title: ^^ THis A Life^^
=/

_________________
By Pirroludo


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 26 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)