oneKill

Expand and mod your server.
Post Reply
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

oneKill

Post by Bambino »

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.
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
User avatar
mrapple
Sergeant Major
Sergeant Major
Posts: 460
Joined: Wed May 27, 2009 11:59 am
Location: Unknown
Contact:

Re: oneKill

Post by mrapple »

Yay Bambino!

Nice job with your first plugin.

Im sure as you continue to learn C++ there will be more to come :)

-Apple
Image
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: oneKill

Post by optic delusion »

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.
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.
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: oneKill

Post by allejo »

Plugin updated to 2.4
Attachments
oneKill.cpp
BZFlag 2.4
(1.72 KiB) Downloaded 192 times
Post Reply