T:CS mod?

Started by b00n, August 14, 2008, 02:45:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

b00n

Has anyone looked at creating a plugin to enforce TCS rules?  I was thinking about it and it should be fairly easy to make a plugin that enforces boundaries, may even be possible just using EventScripts.

Would there be much interest in this?

RizZy

One possible problem I could see with having enforced boundaries is that ours arn't always enforeced, if the bombs down etc.

Dunno if the scripts could handle it as I know nothing about it all.

b00n

#2
Quote from: RizZy;241116One possible problem I could see with having enforced boundaries is that ours arn't always enforeced, if the bombs down etc.

Dunno if the scripts could handle it as I know nothing about it all.

Good point.  I think that could be taken into consideration when determining if someone is out of bounds though...  all you'd need to do is check alive terrorists to see if anyone has the bomb, if nobody does then it's down, so don't bother checking any of the boundary code (unless it's a CS map).

Dr Sadako

I think that could be very useful on e.g. Boomer.
-=[dMw]=-Dr "Doc" Sadako

"Gravitation is not responsible for people falling in love." Albert Einstein

Anonymous

Would also have to check to see if hossies were moved or are being escorted.

Dr Sadako

Me and whitey have discussed this before at a few occasions but trying to find various server plugins to do it. A mod would be quite interesting as it could be a way to distribute our way of game as well.
-=[dMw]=-Dr "Doc" Sadako

"Gravitation is not responsible for people falling in love." Albert Einstein

Jabbs

Nice idea but sorry to put a spoiler perhaps:

What if bomb is down and CT's now head into what was out of bounds territory, but within a second or two a T picks up the bomb?  What would happen then?  The CT's were NOT OOB a couple of seconds previously but they are now that the bomb has been picked up!

Would they then be 'stuck' in OOB?

Maybe the script/addin could reduce health (say 10hp) of a CT in the act of going OOB (i.e. crossing the border)?  If the bomb was down and picked up he wouldn't lose health crossing then and neither would he lose health crossing back IN bounds too.

Some things to consider :D
Start Folding and get yourself one of those nice new badge thingies, it\'s a good cause.  Check out the stats

[email]jabbs@deadmen.co.uk[/email]

Dr Sadako

Quote from: Jabbs;241136Nice idea but sorry to put a spoiler perhaps:

What if bomb is down and CT's now head into what was out of bounds territory, but within a second or two a T picks up the bomb?  What would happen then?  The CT's were NOT OOB a couple of seconds previously but they are now that the bomb has been picked up!

Would they then be 'stuck' in OOB?

Maybe the script/addin could reduce health (say 10hp) of a CT in the act of going OOB (i.e. crossing the border)?  If the bomb was down and picked up he wouldn't lose health crossing then and neither would he lose health crossing back IN bounds too.

Some things to consider :D

I would say that if we would get a mod like this sure there would be tweaking to do. In your example I would start with admin messages sent to the individual being OOB saying that he/she was OOB. Then have some sort of escalation procedure with health reduction and slay later on. I think that wouldn't be a  problem to sort.
-=[dMw]=-Dr "Doc" Sadako

"Gravitation is not responsible for people falling in love." Albert Einstein

Salvatore Buttafacio

hope you can figure out a way to do this! will be great to see all the fraghunters on boomer slayed instantly by the power of tcs.

also - sell if for 9.99 on steam!



b00n

Quote from: BlueBall;241129Would also have to check to see if hossies were moved or are being escorted.

Would have to think about how it'd work on CS maps.  You might not want it to suddenly disable boundary checking when the CTs get the hossies, because that could tell the Ts where the CTs are or that the hossies have been taken.

In the case of a bomb being down and then being picked up, again you might not want boundary checks suddenly being turned back on, as that would give info to CTs.  I think leaving them off would be appropriate as at the moment, CTs going back within bounds really depends on whether anyone spots that the bomb has been picked up.

As for penalties, well there are endless things you could do, from warning messages, blinding, damaging, slaying or even teleporting.

I've been looking at EventScripts to see if it can do something like this, it allows for pretty flexible scripting so might be able to do it without a full blown plugin.  Does anyone know if it is (or could be) installed on the server?

Failing that, I can have a go at making it as a plugin if people think it'd be worthwhile.

kregoron

i as discussed the posibility of a plugin like this a while back with Whitey, and actually started working on one together with some mad css scientists, but the job ended up beeing a nightmare, you need to make so much programming to get it to actually work, just making the boundary zones was sick, so we scraped it there..
http://webchat.quakenet.org/ ||| Channels: #deadmen


b00n

Well, I started working on this tonight, it looks like it should not be too hard.  Actually defining all the boundaries will involve some work but not too much hopefully.

Here's what I'm thinking:

- Boundaries will be defined as boxes with the area inside the boxes being the space where the defending team is normally allowed to be.
- Setting up new boxes will be a matter of going to one corner of the box you want, pressing a key, then going to the diagonally opposite corner of the box, and pressing another key. (noclip will help here!)
- Coordinates will be saved to a seperate config for each map.

At the moment I've only figured out how to get the player's current coordinates. :flirty:

DuVeL

Got to say, I'm with Jabbs on this.
What if the bomb is down, what happens then?
Maybe worth having a chat with Sadako first for the how and what?
Survivor of LAN V, VI, VIII, IX, X, XII, XIV, XVI, XVIII, XX, XXIV, XXX, XXXII, XXXIV and XXXVI so far...
[QUOTE]Lionheart; Grolsch to DuVeL is like spinache to Popeye [/QUOTE]
[QUOTE]Cheesepuff...A cyborg is sent from the future on a deadly mission. He has to kill Ninja_Freak, a young Man whose life will have a great significance in years to come.Ninja has only one protector - DuVeL - also sent from the future. The Terminator uses his exceptional intelligence and strength to find Ninja_Freak & attempt to terminate him.
[/QUOTE]

Dr Sadako

Yes noob, catch either me and Whitey on MSN or send a PM if you need input. :)
-=[dMw]=-Dr "Doc" Sadako

"Gravitation is not responsible for people falling in love." Albert Einstein

Zootoxin

Sounds great if it is possible and works well

Good luck with it Noob :)