anti shark (u can still use USE )
Posted: Fri Jan 07, 2005 10:50 pm
ok now most of the shark script i know of atm just spawn a object under the ladder , that dont even fix it or fix all ladders. the others just use a trigger and kill them when they press use. or some people take away the ability to use use at all. Now how annoying is that?
I spent hours trying to shark to see how its done litrialy spent ages researching hwo to cheat. How dodgy does that sound. anyway i managed it and then whent and fixed it.
i shall explain how it works because people usualy ask me after anyway:
The anims and states are wrong. so i whent to see what ones were running while this all happened. I found that only standing for movement and position ever ran. but u can mvoe so i checked the velocity is mvoing. if all 3 flags are this then the player is sharking. The only other time the player runs these 3 things are when they are trying to walk forward but is blocked by a wall. I was going to make it check if they were near the ladder and run the code to check while they were. but if they run into the ladder it whent wrong. So i didnt want to use a timer. so i got when they grabbed a ladder if they moved the tiniest bit it then checks for sharking and hay presto it kills them because they are falling back at this point to go into a shark with velocity and no position or movment type other then standing.
Donwlaod AA version
Donwlaod SH_BT version
I spent hours trying to shark to see how its done litrialy spent ages researching hwo to cheat. How dodgy does that sound. anyway i managed it and then whent and fixed it.
i shall explain how it works because people usualy ask me after anyway:
The anims and states are wrong. so i whent to see what ones were running while this all happened. I found that only standing for movement and position ever ran. but u can mvoe so i checked the velocity is mvoing. if all 3 flags are this then the player is sharking. The only other time the player runs these 3 things are when they are trying to walk forward but is blocked by a wall. I was going to make it check if they were near the ladder and run the code to check while they were. but if they run into the ladder it whent wrong. So i didnt want to use a timer. so i got when they grabbed a ladder if they moved the tiniest bit it then checks for sharking and hay presto it kills them because they are falling back at this point to go into a shark with velocity and no position or movment type other then standing.
Donwlaod AA version
Donwlaod SH_BT version