Plugin Tutorial

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
flying_popcorn
Private First Class
Private First Class
Posts: 88
Joined: Wed Dec 14, 2005 2:40 am
Contact:

Plugin Tutorial

Post by flying_popcorn » Wed Oct 22, 2008 12:37 am

Here is a plugin tutorial I wrote to help people get started writing plugins. Hopefully it will be useful to someone :)

EDIT:
The license for this tutorial is: http://creativecommons.org/licenses/by-nc-nd/3.0/ .
The license for the plugin and all the code in the tutorial is GPL.
Attachments
plugintutorial.zip
(170.13 KiB) Downloaded 277 times
Last edited by flying_popcorn on Wed Oct 22, 2008 6:05 pm, edited 2 times in total.

User avatar
Agent West
Private First Class
Private First Class
Posts: 318
Joined: Thu Jan 31, 2008 1:32 pm

Post by Agent West » Wed Oct 22, 2008 3:13 am

wow. great job, flying! just what i needed to start making plug-ins. :)

Here's an idea: a shot ending in a small shockwave.
Last edited by Agent West on Mon Mar 18, 2013 12:18 am, edited 1 time in total.
Rest in peace, AliceD (AKA Happy Alice)! miss ya!

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Wed Oct 22, 2008 4:53 am

Shots are not tracked on the server, so the server can't fire a world weapon when they end since it doesn't know where they end.

...and seriously dude, English.
ImageJeffM

User avatar
Strakowski
Private First Class
Private First Class
Posts: 79
Joined: Wed Jun 24, 2009 4:40 pm
Location: hiding somewhere in Overdoze

Re: Plugin Tutorial

Post by Strakowski » Tue Oct 13, 2009 3:34 am

Hey, great job on this! It covers essentially everything one needs to get started on plugin programming, which is a hard thing to put into explainable format. Also, there's a little mistake on the Custom Map Object section of the PDF: it lists "bz_registerCustomMapObject()" twice, once where it should be, and one where it should say "bz_removeCustomMapObject()". It's a little tiny thing and the source file is correct, but it just stuck out at me. :)

Post Reply