• July 07, 2022, 09:28:56 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1]   Go Down

Author Topic: [Plug-in] SSGM2.02 Commander BETA  (Read 1823 times)


  • Donator
  • Offline Offline
  • Posts: 200
    • View Profile
[Plug-in] SSGM2.02 Commander BETA
« on: April 27, 2009, 10:43:31 PM »

This is a plug-in designed to work with SSGM2.02 for cnc_renegade.
It was written by reborn from MP-Gaming.COM (

This is a first release version and probably has some bugs in it, with feedback I will fix bugs found.

This plug-in is based on the system first created by black-cell. However, it has been developed to be configurable for server owners so that they might
set it up in a unique way for there own server. The plug-in allows the following to happen:
There is allot of infomation following, but you should also check out the commander.ini for details on each setting.

Vote in a commander for your team. useage:

 !PollCommander;!pollcommander;!POLLCOMMANDER;!Pollcommander;!VoteCommander;!Vote commander;!VOTECOMMANDER;!votecommander;!PC;!pc;!Pc;!VC;!vc;!Vc
Then the player name. For example:
!pollcommander reb00b
The name does not have to be the whole name either, there are allot of players with stupid ass weird names like: "o0angelx-x1\!\1||!", to type there name would be a pain in the butt.
In this instance you could type:
!pollcommander angel
And it would still work, as long as "angel" was not a substring of someone else's name.

This will then start a vote going, team mates can then either !vote yes or !vote no. The amount more yes votes then no votes needed is configurable in the commander.ini file.

voting for a commander. useage
Then your answer, yes or no. For example:
!poll yes, or !vote NO would be acceptable, but only when a vote is occuring...

Check who your team commander is. Useage:

 !commander;!Commander;!COMMANDER;!TC;!tc;!Tc;!TeamCommander;!TEAMCOMMANDER;!team commander
If there is a commander for that dudes team, then it will tell them the commander name, if not, it will page temm with instructions on how to start a vote.

check the team fund. Usage:

This pages the player what the current teamfund value is. The team fund is controlled by the team commander. It can be used to distribute money to other people
or used to call in supply drops. If you run the base defense plug-in, it could be used for that too... The server owner can also configure a trickle to the team fund to,
at defualt it is set to increase on it's own by ten credits every ten seconds. But this is subject tot he server owners change.

donate to the teamfund. Usage:
 !TFdonate;!tfdonate;!TFDONATE;!TeamFundDonate;!teamfunddonate;!TEAMFUNDDONATE;!T FD;!tfd
Then the amount to donate, for example:
!teamfunddonate 500
If I have 500 credits, then I would donate 500 credits to the team fund.

The team commander gets a healing aura (can be toggled off by the server owner in commander.ini), this aura heals near-by team mates and there vehicles.
The strength of the aura, and the area of it's effect is controlled byt he server owner in commander.ini

donating the team fund to a player, useage:
Then the player name and the amount, for example:
!tfdonate reb00b 500
If there was 500 credits in the team fund, and player reb00b was on the commanders team, then he would be given 500 credits from the team fund. This
command can only be used by the team commander. the name of the player works the same as the votecommander command, i.e you only have to type part of there name

ordering a supply drop, usegae:
The team commander can order a supply drop, a chin00k  drops off a box at there position. At default it costs 500 credits, but this is controlled in commander.ini for server owners to change.
The supply box will grant a refill to whatever player picks it up, and will refill the health and armor of any tank that picks it up.
The supply can be called in an infinite amount of times, but the server owner controlls how often you're allowed to call in it in the commander.ini file. Once every x seconds...

blocking the harvester, usegae:
 !BLOCKHARV;!BlockHarv;!blockharv;!BlockHarvester;!BLOCKHARVESTER;!blockharvest;! bh;!BH;!Bh
The commander can block the harvester with this command. He might do this when the enemy holds the field for example.

un-blocking the harvester, useage:
 !UNBLOCKHARV;!unblockharv;!UnBlockHarv;!UnblockHarv;!UNBLOCKHARVESTER;!unblockha rvester;!UnBlockHarvester;!UnblockHarvester;!UBK;!ubh
The commander can un-block the harvester at any time with this command. If his team re takes the field for example, he would obviously want it to return to normal duties.

finding out the commander abilities, useage
When the commander is voted in, he is paged telling him he has extra abilities and typing !abilities will tell him about it.
If he does type !abilities he will be paged with such info, because there are allot pf people who will forget the syntax or even what they're capable of.

Advanced c4 message, useage:
This is the same as the normal !c4 command, however when the commander types this, he is paged additional infomation about the c4.
Specifically what building they are placed clostest to, and how many of them.

Ordering your team, useage:
Then your message... For example
!order Defend the hand of Nod guys
This would then page every player on your team "The team Commander orders you to: Defend the hand of Nod guys".
This is an important command for motivating your team...
You could for example do !order Buy flamers for flame rush, is excallent for setting up plans and controlling the team for better team work.

Checking the status of the harvester, useage:
This will page you the health percent of the harvester.

Proximity mine disarming aura, useage:
The team commander (if the server owner has it enable) will be granted a aura similar to the healing one, however this one
disarms enemy mines near him. The area of effect is determined by the server owner.

As well as these commands, you will also be paged warnings about the health of your buildings and harvester should they fall below 50%.
This might be a good time to use the !order command to get team mates to repair...
If on the next map the commander from the previous map is still on the same team he will carry his command over. If however he is teamed to the other side
he will lose it. This is to encourage the use of the commander as much as possible.
At present, a player can start a poll for himself to be the commander, this isn't really in the spirit of team work, however it may make more use of the
commander as players tend to be inherently selfish, hence the need for such a system. I may in the next version not allow them to start a vote on
themselves, or perhaps let the server owner choose.

I don't run a renegade server, I have no real use for this plug-in and have made it for the sole reason to help other server owners.
If you use this plug-in and modify it, if you see a problem, either tell me, or preferably submit code. Don't be selfish, release the source code.
I believe it is only with this attitude that Renegade will continue to keep it's diminishing player base.
I really mean it, this thing took me quite a while to write, and if you're reading this, then I did it for you. So if you modify the source code
and add your own code, then release it.

To use this plug-in, refer to SSGM.ini in your SSGM2.02 server folder.
You'll need to add the .dll to the server folder, and make an entry in the [Plugins] section, mine looks like this:

You'll also need to add commander.ini supplied to your SERVERs directory. This is where you can configure all the settings for the commander system.
You'll also need to place NOD_Supply.txt and GDI_Supply.txt in your servers DATA folder too. Please note the emphasis of where
to place the .dll and .ini file, that actual server directory, as where the two text files for the cinematics have to go in the DATA folder.

I urge you visit my forums and my site @ MP-Gaming.COM. I would also like to direct you to Black-Cell.NET. There is a history of this game there that
most people are oblivious to, and without Black-Cell, none of the feature rich servers we have today would be here. They also have a renegade server
back up and running. Be sure to find it in the WOL server listings and join. It's hella fun.


Pages: [1]   Go Up