Adding Kick Trigger

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Cheesytoe
Newcomer
Posts: 2
Joined: December 15th, 2007, 2:16 am

Adding Kick Trigger

Post by Cheesytoe »

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.
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Adding Kick Trigger

Post by Xantan »

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.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4424
Joined: November 19th, 2007, 5:05 am

Re: Adding Kick Trigger

Post by Bartimaeus »

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?
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Adding Kick Trigger

Post by GeorgeMots »

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