wc3edit.net

United Warcraft 3 map hacking!
It is currently April 23rd, 2024, 6:29 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Adding Kick Trigger
PostPosted: December 15th, 2007, 2:24 am 
Offline
Newcomer

Joined: December 15th, 2007, 2:16 am
Posts: 2
This isnt like my other post!

I wanna know can i make a blank map and make a kick triiger for my name, and extract it and add it to another map without igt writing over the war3map.wtg file..

otherwise how would i make those triggers and add them into it, without deprotecting it.


Top
 Profile  
 
 Post subject: Re: Adding Kick Trigger
PostPosted: December 15th, 2007, 2:29 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
Yes.

Make your trigger in the world editor.

Save your map.

Extract your maps war3map.j with MPQMaster.

Open that with Jasscraft.

Find a few things and paste them somewhere different in notepad for later usage:

Find in globals the trigger gg_trg_*YOURTRIGGERNAME*'s (copy all globals necessary, used at globals of next map)
Find below endglobals and above function main the function GG_trig_*YOURTRIGGERNAME*'s (copy whole function, used below endglobals)
Find in the same area the function InitCustomTriggers takes nothing resturns nothing (not used, just find it and then look at next step)
Find IN ABOVE PLACE InitTrig_*YOURTRIGGERNAME*'s()'s and copy those somewhere. (used for function main of next map)

Now then, we have a cheat pack!

Simply open any map, extract its war3map.j, add your globals at the top, add your functions below endglobals, and add the InitTrig_yourtrig()'s to function main -> before endfunction of the next map



OR:
just take a cheat pack with kick in it, and read the insert instructions.

OR2:
ask if you need help.


Top
 Profile  
 
 Post subject: Re: Adding Kick Trigger
PostPosted: December 15th, 2007, 5:40 am 
Offline
Tyrannical Drama Queen
User avatar

Joined: November 19th, 2007, 5:05 am
Posts: 5015
Wait, you can create a blank map, create triggers in GUI, save the map, extract the j file, and it'll be in workable JASS?


Top
 Profile  
 
 Post subject: Re: Adding Kick Trigger
PostPosted: December 15th, 2007, 8:06 am 
Offline
Crusader

Joined: January 27th, 2007, 4:46 pm
Posts: 5093
Location: Greece, Veria
Bartimaeus wrote:
Wait, you can create a blank map, create triggers in GUI, save the map, extract the j file, and it'll be in workable JASS?


Whether the triggers are in jass or gui, when the script of the map is opened the trigger are somehow similar to jass.

_________________
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image

Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this


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

All times are UTC


Who is online

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