Author: Bambino (with help from mrapple)
Description: oneKill will take your flag after you've made one kill, hence the name.
Min Version: no idea.
License: Creative Commons Attribution-Share Alike 3.0 Unported
About:
This is my first plugin that I've felt like releasing. What it does it takes your flag after making one kill then sends you a message so players don't go "where did my flag go?!". This makes it so you get some variety of flag skills, and also prevents camping with SW, L, GM, etc...
I know this is a really simple plugin, but it's best to start small, right?
Below is the source and a .so binary compiled against 2.0.16 on ubuntu.
Edit: Added a license.
oneKill
oneKill
- Attachments
-
- oneKill.so.zip
- Attached Linux Binary
- (82.83 KiB) Downloaded 220 times
-
- oneKill.cpp
- Attached Source Code
- (1.7 KiB) Downloaded 235 times
Last edited by Bambino on Wed Jun 23, 2010 7:20 pm, edited 1 time in total.
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
GU League | Ducati League | OpenLeague
Re: oneKill
Yay Bambino!
Nice job with your first plugin.
Im sure as you continue to learn C++ there will be more to come
-Apple
Nice job with your first plugin.
Im sure as you continue to learn C++ there will be more to come
-Apple
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
Re: oneKill
there is a plugin similar to this. 1on1rules.
That plugin allows only one kill per flag, but only when there are only 2 players on a server. Keeps one player from dominating with laser, or other weapon.
That plugin allows only one kill per flag, but only when there are only 2 players on a server. Keeps one player from dominating with laser, or other weapon.
Take a look at my Defender game mode concept.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Re: oneKill
Plugin updated to 2.4
- Attachments
-
- oneKill.cpp
- BZFlag 2.4
- (1.72 KiB) Downloaded 192 times