AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Rush prevention.... (https://forums.alliedmods.net/showthread.php?t=20347)

Jordan 11-06-2005 20:10

Rush prevention....
 
Well, I wanted to create a plugin that basically makes an invisible wall which bullets can pass through, but players cant... I know this is possible because maps like aim_ak-colt2k3 has something like this, but I wanted to do it for maps like awp_map and stuff... Problem is, I don't know WHERE to start, because aren't the coordinates of the middle of a map different from the coordinates of a different map?

Kensai 11-06-2005 20:58

Yes the coordinates are diff.

You might wanna look into AssKicr's Wall plugin. Maybe ask him for an edited version.

XxAvalanchexX 11-06-2005 22:13

Honestly the wall plugin sucks.

The only way you can make a wall players can't pass but bullets can is by creating a brush with all sides textured with the special clip texture. Since you can't texture a brush with amxx and I think it may have to be done at compile time, this is impossible.

Jordan 11-06-2005 22:41

Yeah, I figured as much - I'd have to make a whole new map or so, or make the plugin for a specific map with the coordinates of my choice mebe...

What about something like... quicksand... Would that work? Because that was my OTHER plugin idea :P

Kensai 11-06-2005 22:42

Like a slowmo version of amx_bury?

Dunno how.

Jordan 11-06-2005 23:35

Kind of. I was thinking, random spots on the map, the player walks in it, and then just amx_bury - doesn't even need slowmo. Just the random spots ;)

Hm... edit:

What if we used vectors? I mean, we could set a certain distance, right?

Jordan 11-07-2005 22:41

Is there any way to pick random coordinates outside the spawns? Or are the spawn coordinates different for every map as well? >.<

Kensai 11-07-2005 22:43

Dunno, and yes.

If there is a way to make random coordinates, I don't know it.

you could probably make a command, that picks like x random people, and gets their coordinates, then puts em in quicksand.

Jordan 11-07-2005 22:46

Well see, I don't want the people to be put in the quicksand, I want them to walk into it ;) and jesus you're like speed racer on the response :P <3

joka69 11-07-2005 22:49

You could use hl guard that has what you are looking for.But you will have to set the bounds. :)


All times are GMT -4. The time now is 23:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.