| 09-12-2003, 10:42 PM | #1 |
Im not sure if any will find this usefull or not but I devised a small way to stop people from using cheats on 1 player maps. I was in the process of making a 1 player rpg and didn't want people to use "iseedeadpeople" or "whosyourdaddy" to find all the secret or rush through it so I came up with these simple fixes. Hope you like them. Stop "iseedeadpeople": In an area of the map you dont need make a cliff and put a unit for neutral Hostile on it, put a unit for player 1 below the cliff and give the unit a ranged attack, no sight radius, no movement. When the player turns on iseedeadpeople, his unit can see the neutral hostile unit, he kills it and then you just set a trigger so when that unit dies it ends game in defeat. Stop "whosyourdaddy" In another area of the map make 2 units, 1 for neutral hostile and one for player 1 side by side, give the player 1 unit like no movement speed, make his scale 0.10 and his selection scale 0.10 so hes not noticable and give him around 50 or so sight range. Make him deal 2 damage and set the neutral hostile unit to 50 life with 50 life regen. Make a trigger so that it orders player 1's unit to attack the neutral hostile unit every 1 second of game time. Now when the player turns on whosyourdaddy, player 1's unit kills the neutral hostile unit in 1 hit, and the game ends. p.s. If you can think of ways to stop the other cheats people tell post it here. |
| 09-12-2003, 10:47 PM | #2 |
I used tricks like that to prevent things in StarCraft. :D |
| 09-12-2003, 10:56 PM | #3 |
simple... make a trigger for everycheat... Player types a chat message containing ... as an exact match End game in defeat for current player |
| 09-12-2003, 10:57 PM | #4 |
That does not work. When you type in a cheat it doesnt actually display it on the screen so it doesnt register as the playing actually typing it. |
| 09-12-2003, 11:30 PM | #5 |
i think you might be able to do it by running a script....... i know you can do a thing that disables replays... |
| 09-13-2003, 12:33 AM | #6 |
Import a blank "Cheats.j" file. |
| 09-13-2003, 12:34 AM | #7 |
How does one go about disabling replays? |
| 09-13-2003, 12:35 AM | #8 |
its in the campaign maps i think, export some and look 2 them |
| 10-21-2003, 09:36 PM | #9 |
depending on what the primary resource is in your map and realistic values of it are... if there's no way a person could get the amount of gold greedisgood gives them by playing the game, make a trigger that when the players gold is gerater than or equal to that amount it ends game... could do the same with lumber, but if there are large money making opportunities in your map that use gold and wood that won't work. |
| 10-21-2003, 09:48 PM | #10 |
Is everyone just ignoring Fyredaug? His method works fine, and its very easy to implement. |
| 10-21-2003, 09:54 PM | #11 |
FyreDaug's method works, but if you dont like messing with files and you dont have the space for the units, there is also a slightly complex JASS trigger you can also write that will determine when "whosyourdaddy" is enabled. general layout: Code:
Events:
- A unit owned by player 1 takes damage
- A unit owned by player 2 takes damage
....
Conditions:
NumPlayers > 1
(DamageTaken) == 0
Actions:
End Game in defeat for OwnerOf(Triggering Unit)Also similiar triggers can be done for "greedisgood" (drastic increase in $$ in a short amount of time), "daylightsavings" (time of day stops), etc... And for "iseedeadpeople", just renable the BlackMask and FogOfWar every 2 seconds, then the player can still see the terrain/units on the minimap, but not on the main screen. |
