making a CTF gamemode
- darksmaster923
- Posts: 1857
- Joined: Wed Jan 03, 2007 10:32 pm
- Location: Huntington Beach, California, USA
making a CTF gamemode
how would i go about making a CTF gamemode? gimme some cmds, and ideas
Herp derp.
I don't think it's too hard to make. Basically you just have to play with triggers. You could have a trigger or attribute for each team, indicating if they have stolen the flag. You would activate it when a member of a team comes near the enemy flag and disable when the guy carrying it dies. Then you could check if the flag carrier comes near his own flag and the flag isn't stolen (= trigger for one team is true and for the other team is false).
You could do the actual checking with many ways. You could have a scriptpoint at each flag, and make the soldier pawns check if they are near it, or add a model that activates the trigger, or use a pawn to check if there is someone nearby. I personally would add pawns with a flag model. Then if a guy is near them I would attach the flag to the guy and check if the flag is taken to the other flag.
You could do the actual checking with many ways. You could have a scriptpoint at each flag, and make the soldier pawns check if they are near it, or add a model that activates the trigger, or use a pawn to check if there is someone nearby. I personally would add pawns with a flag model. Then if a guy is near them I would attach the flag to the guy and check if the flag is taken to the other flag.
Pain is only psychological.
- darksmaster923
- Posts: 1857
- Joined: Wed Jan 03, 2007 10:32 pm
- Location: Huntington Beach, California, USA
- darksmaster923
- Posts: 1857
- Joined: Wed Jan 03, 2007 10:32 pm
- Location: Huntington Beach, California, USA
- darksmaster923
- Posts: 1857
- Joined: Wed Jan 03, 2007 10:32 pm
- Location: Huntington Beach, California, USA