anti shark (u can still use USE )

Made a map or mod? Announce it in this forum!

Moderator: Moderators

Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

anti shark (u can still use USE )

Post by Elgan »

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
Random
Moderator
Posts: 401
Joined: Sun Jun 01, 2003 11:00 pm

Post by Random »

Sounds great but when i went to grab the files the zips were empty??

I hope im not to late or was there another issue still? I cant tell you the number of times i used to go on to other folks servers and cry out " Damn You E Button Damn You!!"
Moderator
Image
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

empty?

i just checked again and they are fine.

aa? or SH?

hmm

if u cant get them maybe i can e-mail it you? or someome e;se host it. id sent it to mohadmin if i knew how.hehe
Random
Moderator
Posts: 401
Joined: Sun Jun 01, 2003 11:00 pm

Post by Random »

Got it for some reason when i hit open the file wasnt in there but when i hit save it was.... :?

Oh well gonna check it out now. Has this been tested on a server yet?
Moderator
Image
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

Random wrote:Got it for some reason when i hit open the file wasnt in there but when i hit save it was.... :?

Oh well gonna check it out now. Has this been tested on a server yet?

All the feed back from people who have tried it has been top notch:D
Random
Moderator
Posts: 401
Joined: Sun Jun 01, 2003 11:00 pm

Post by Random »

Cool i have posted it on our team forums. I must say I am constantly impressed with the members of .map. Great work Elgan, hopefully this will catch on.

Random
Moderator
Image
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

ty
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

I just tried it out and didn't get killed at all.
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

MPowell1944 wrote:I just tried it out and didn't get killed at all.
then it wasnt running:D

NOTE: - IT USES MODDED STATE FILES. im pretty sure u have cusotm state files in your game.
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

i also uploaded it to my server.now how about the break in the wall on remegan.is there sumtin better to fill that in wit,maybe a texture.is it possible to spawn a texture,i was in a server one time on southern france,and the one roof u can see throught the top of it,but there server had it textured??
Image
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

if i had a list of all map glitches i would be v.happy to go through anf ix them all properly.

yes u can spawn a texture using func beam but that can always face u.

u can spanw a script_object with a name of something in the map already and it will take its texture.

local.object = spawn worldspawn
local.object setsize ( -10 -10 -10 ) ( 10 10 10 )
local.object light 1 0 0 299
local.object notsolid
local.object.origin = local.origin

if u used that code in mohdm1 it spawns a textured wall. i just happned to have that in my clipboard key:D what a cooinsidence or howver u spell it
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

I already checked Elgan. That was the only .pk3 in the directory. No extra folders either.
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

MPowell1944 wrote:I already checked Elgan. That was the only .pk3 in the directory. No extra folders either.

eeek.

u will havre to show me. and add some printlns "running" to the script so we know its running.
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

thnx Elgan :wink:
Image
mkmajeed
Private
Posts: 1
Joined: Mon Jul 23, 2007 3:53 pm

Unable to download file

Post by mkmajeed »

i just try to download this file but unable to download it, i got 404 error :(
Post Reply