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 » Wed Jun 23, 2010 4:30 am

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 163 times
oneKill.cpp
Attached Source Code
(1.7 KiB) Downloaded 175 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 » Wed Jun 23, 2010 2:41 pm

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: 992
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: oneKill

Post by optic delusion » Tue Jul 20, 2010 2:22 am

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: 765
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: oneKill

Post by allejo » Mon Jul 18, 2011 4:27 am

Plugin updated to 2.4
Attachments
oneKill.cpp
BZFlag 2.4
(1.72 KiB) Downloaded 147 times
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

Post Reply