Capture The Flag Created 12 years ago2012-05-09 10:42:51 UTC by Nevermelt Nevermelt

Created 12 years ago2012-05-09 10:42:51 UTC by Nevermelt Nevermelt

Posted 12 years ago2012-05-09 10:42:51 UTC Post #306051
Good morning!
Anyone know a script to capture the flag in SourceMod??

Tnx...
Posted 12 years ago2012-05-09 13:57:58 UTC Post #306052
capture.flag & cosx(sin)
{
true;
}
return loop;
Crollo CrolloTrollo
Posted 12 years ago2012-05-09 17:09:09 UTC Post #306055
Don't be an ass Collapse. >_>

Do you mean a script or an entity setup?

Which source game do you want this to happen in?
TheGrimReafer TheGrimReaferADMININATOR
Posted 12 years ago2012-05-09 18:11:44 UTC Post #306056
I'm sorry but I cannot stand these questions. You cannot simply add a script to avoid having to do real work to get an entire gamemode to function. It doesn't work that way.

You could use an improvised entity setup but that is most likely going to be glitchy and a poor substitute for actual hard coding into the game files.
Crollo CrolloTrollo
Posted 12 years ago2012-05-10 04:50:54 UTC Post #306067
I know Collapse and understand... Im not looking for a final script, but a idea or some guide to start this project.

Tnx and srry for something!
Posted 12 years ago2012-05-10 05:32:10 UTC Post #306068
Alright fair enough man. Sorry for being a dick I thought you really were one of those people that believe this kind of work can be done with a simple line of code.

The rough outline for a CTF style gamemode would probably be:

You'd want to first of all code in an extra score keeping system so that you can keep track of what team has captured how many flags.
Then, you'd have to code in two [or more] flag entities that can be picked up, one for each team.
Then finally, you'd have to code in two [or more] flag base entities that would allow an opposing team to actually capture the enemy flag and get a score.

To be honest I don't think any of this would be particularly difficult, you'd just have to sit down and connect them all together in a way that works. Good luck.
Crollo CrolloTrollo
Posted 12 years ago2012-05-10 10:54:01 UTC Post #306073
So far so good!

Thats what im talking about!

Tnx collapse
You must be logged in to post a response.