Custom cheats

compwiz

Member
Joined
Dec 26, 2003
Messages
7
Reaction score
0
Website
Visit site
Ok for some reason i forgot how to do this. I want to make custom cheats in my own wc3 map. I am using the FT expansion if that makes a differance. I want to know how to make it to where it sets all the supply usage to 0 for an entire player or if possible the entire game. If you cant to eathere of those then i know u can do it by puttin the cheat on selected units.

Compwiz




:shoot :confused:
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
Your cheat
Events
Player - Player 1 (Red) types a chat message containing Imacheater as An exact match
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + Is a CHEATER!)


You can add more to the actions if you want the cheat to actually do something.
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
Ah right, you'll want a variable (if you have multiple cheats, your oging to want the variable to be an array) a boolean.

Your cheat
Events
Player - Player 1 (Red) types a chat message containing Imacheater as An exact match
Conditions
Boolean Comparison - Variable Cheat[1] is equal to (true)
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + Is a CHEATER!)

Then the other one only works if it's equal to false, and the other one disables the things that were turned on by this one.
 

compwiz

Member
Joined
Dec 26, 2003
Messages
7
Reaction score
0
Website
Visit site
thx!!!

Ok kool i got it now but i got nother question. Ok im trying to make it to where when i type a message for cheats then it:

1.) sets build time to 0
2.) sets cost of wood/gold to 0
3.) sets supply or food cost to 0

I know howe to do the chat message thing but im guessing i have to use varibles to do this and i sdont know how.

If you want the map to take a look reply back and ask.
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
Ok none of those can be directly done through triggers i don't think... but you oculd have the cheat turn on 3 triggers, one that activates when a building begins building a unit, one that gives you lots of $$, and one that makes you have infinite food?
 

compwiz

Member
Joined
Dec 26, 2003
Messages
7
Reaction score
0
Website
Visit site
ok :(

aww man is there anyone i can email that is like real tight with triggers i would really like to gt an indepth tutorial on this.






:shoot - :madatu
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
Well listen, the problem isn't that im not good with triggers im not that bad, but its that you cannot do those things just with one action, you'll need to make extra triggers and stuff.

If you really want cheats, make them very basic 'testing' cheats not real cheats for the map. Because once a player has the cheat, everyone has it and your map goes:

|
|
|
|
v

this way.
 

(V)aster)V(ind

Member!
Joined
Jun 25, 2003
Messages
564
Reaction score
0
Location
permantly fused to the PS2
Website
www.idealplayers.com
and besides, you don't need cheats in a game...unless your playing enter the matrix on ps2 and you want to have some serious fun with agent smith...
 

compwiz

Member
Joined
Dec 26, 2003
Messages
7
Reaction score
0
Website
Visit site
ok :(

Ok i didnt mean that u werent good and i really dont consider tem cheats. they r to make the map more fun for me and my firneds and i dont want to make 2 different maps. and this is also a good learning expierence for me. sorry if i offended u.






:shoot :butterfly
 

[e]MOTION

Member!
Joined
Jan 26, 2004
Messages
74
Reaction score
0
Website
Visit site
no one can use it if you make a condition to player name of whatever yours is.. i do alot of trigs like that, but only to add a kick trig to all my maps
 

[e]MOTION

Member!
Joined
Jan 26, 2004
Messages
74
Reaction score
0
Website
Visit site
.. its was compwhiz.. and bumping is easier that writing another one right? in this case anyway
 

[e]MOTION

Member!
Joined
Jan 26, 2004
Messages
74
Reaction score
0
Website
Visit site
and because of the anti-mod movement i will doublepost... have you forgotten x42bn6?
 

Garthrs

Member!
Joined
Aug 3, 2003
Messages
130
Reaction score
0
Location
Usually buried at work
Website
Visit site
Try this:
EVENT:
Player 1 types a chat message.... "Debug"
CONDITION
Player1 name = "Garthrs"
ACTION
Game message display to all players "Player one, also known as GOD, now has control of your futures!!!"
Set GOD= true (GOD is boolean variable t/f)

Now you can add all kinds of cool trigs in to react to typed messages from Player 1 = Name of map creators...

Like

Kick ## will kick player ##
Reset will reset map to starting variables... gold/kills/level/lives/whatever
WAZZUP!! pings the map like 4000 times
you can set up anything with a player 1 = "name of map creator" and do almost anything... Sometimes you have to prove you made a map.. the best way to do that is to just ask the map who it's daddy is. I.E.

EVENT
Player 1 types a chat message... = "Who is your daddy?"
CONDITION
Player 1 = "Garthrs"
ACTION
game message... display to all players... (Player Name(Player 1))" is my daddy!!!"

Sometimes you can spend like 3 days just writing triggers for fun... I think enjoyable maps have an amount of humor involved...
 

NewPosts

New threads

Top