Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » I've been working on a commander system plug-in...
I've been working on a commander system plug-in... [message #382112] Thu, 23 April 2009 09:51 Go to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
It'll hopefully be released fairly soon, but I think I'll need a server owner that can provide feed-back to test it out before a general release. It's quite a bit of code compared to the other plug-ins and very configurable for the server owner, so I want to make sure it's right before a release, it's been confusing at times writing it.
If there are any volunteers that would be nice. Preferably you'll be experienced with running your own server and would be able to get a group of friends in the server to try and break it as much as possible.

I'm quite excited about this one, AFAIK there's nothing even remotely similar been released before and it'll hopefully be fun and encourage team work, without enforcing it.

Here's a sneaky peak at it...

http://game-maps.net/staff/reborn/commander.wmv



Re: I've been working on a commander system plug-in... [message #382113 is a reply to message #382112] Thu, 23 April 2009 09:54 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Hit me up on MSN, I got free time with a bunch of Atomix peeps to test it with.

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: I've been working on a commander system plug-in... [message #382118 is a reply to message #382112] Thu, 23 April 2009 10:56 Go to previous messageGo to next message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma: 0
General (3 Stars)
Permabanned for trying and failing DDoS
Nice i liked the Commander System, that got all noobs to some Teamplay, cant wait to test it! Wink
Re: I've been working on a commander system plug-in... [message #382139 is a reply to message #382112] Thu, 23 April 2009 12:43 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

I dunno about anyone else but I can't even see what the blue text says Rocked Over

Re: I've been working on a commander system plug-in... [message #382147 is a reply to message #382112] Thu, 23 April 2009 13:10 Go to previous messageGo to next message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma: 0
General (3 Stars)
Permabanned for trying and failing DDoS
On my serv i use parachutes for my Powerups Razz
Re: I've been working on a commander system plug-in... [message #382149 is a reply to message #382139] Thu, 23 April 2009 13:11 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
Lone0001 wrote on Thu, 23 April 2009 22:43

I dunno about anyone else but I can't even see what the blue text says Rocked Over

that's why mine is green Rocked Over
Re: I've been working on a commander system plug-in... [message #382152 is a reply to message #382112] Thu, 23 April 2009 13:15 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

I mean in that video... the quality is too bad to see it.

Re: I've been working on a commander system plug-in... [message #382154 is a reply to message #382112] Thu, 23 April 2009 13:18 Go to previous messageGo to next message
Brandon is currently offline  Brandon
Messages: 282
Registered: August 2006
Location: United States
Karma: 0
Recruit
Really neat! However, it was a bit awkward to hear a Havoc dialogue while you're on team Nod. Razz Perhaps another sound effect?
Re: I've been working on a commander system plug-in... [message #382178 is a reply to message #382139] Thu, 23 April 2009 14:36 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Lone0001 wrote on Thu, 23 April 2009 15:43

I dunno about anyone else but I can't even see what the blue text says Rocked Over


Sorry man, Windows movie maker stripped too much of it out. I might make another movie using camtasia, should be better...


Brandon wrote on Thu, 23 April 2009 16:18

Really neat! However, it was a bit awkward to hear a Havoc dialogue while you're on team Nod. Razz Perhaps another sound effect?


You're right, but time spent searching through the always.dat listening for a suitable sound file is the last thing I'll be doing. The nuts and bolts of the code is always my priority.



Re: I've been working on a commander system plug-in... [message #382184 is a reply to message #382112] Thu, 23 April 2009 15:27 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
http://game-maps.net/staff/reborn/commander/commander.html

Better quality ^



Re: I've been working on a commander system plug-in... [message #382226 is a reply to message #382112] Thu, 23 April 2009 18:28 Go to previous messageGo to next message
a000clown
Messages: 363
Registered: May 2005
Location: Canada
Karma: 0
Commander
That looks cool, I wouldn't mind adding it to a live server that usually has around 20 players in it.
Re: I've been working on a commander system plug-in... [message #382229 is a reply to message #382184] Thu, 23 April 2009 18:33 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
reborn wrote on Thu, 23 April 2009 15:27

http://game-maps.net/staff/reborn/commander/commander.html

Better quality ^



Could you actually make it smaller... It goes over my resolution >.>


Not to mention laggy.
Re: I've been working on a commander system plug-in... [message #382230 is a reply to message #382112] Thu, 23 April 2009 18:35 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

I have to second the above tbh, and try using fraps when recording game footage Thumbs Up

Desktop recorders don't do a good job recording game footage.

PS. Plugin looks interesting though.


[Updated on: Thu, 23 April 2009 18:36]

Report message to a moderator

Re: I've been working on a commander system plug-in... [message #382236 is a reply to message #382229] Thu, 23 April 2009 20:08 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Zack wrote on Thu, 23 April 2009 20:33

reborn wrote on Thu, 23 April 2009 15:27

http://game-maps.net/staff/reborn/commander/commander.html

Better quality ^



Could you actually make it smaller... It goes over my resolution >.>


Not to mention laggy.



it was like half of my screen lol


http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: I've been working on a commander system plug-in... [message #382282 is a reply to message #382230] Thu, 23 April 2009 23:59 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
a000clown wrote on Thu, 23 April 2009 21:28

That looks cool, I wouldn't mind adding it to a live server that usually has around 20 players in it.


Sweet, when it's ready to test out i'll pass it your way, unless you would rather wait for the general release.


Zack wrote on Thu, 23 April 2009 21:33

reborn wrote on Thu, 23 April 2009 15:27

http://game-maps.net/staff/reborn/commander/commander.html

Better quality ^



Could you actually make it smaller... It goes over my resolution >.>


Not to mention laggy.




Lone0001 wrote on Thu, 23 April 2009 21:35

I have to second the above tbh, and try using fraps when recording game footage Thumbs Up

Desktop recorders don't do a good job recording game footage.

PS. Plugin looks interesting though.


I used Fraps for the first version, but Windows movie maker made it un-readable, I used Camtasia for the second movie because it gave a better quality with only a slight reduction in quality.
If you want me to upload the raw Fraps avi file then I will, but it's 1.6gb compared to the 14 mb for this ones...

Here's a smaller version. Moan about it, and fucking die. Razz

http://game-maps.net/staff/reborn/commander_small/commander_small.html




Re: I've been working on a commander system plug-in... [message #382300 is a reply to message #382112] Fri, 24 April 2009 02:14 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Advanced c4 messages for the team commander.

http://game-maps.net/staff/reborn/seefour.jpg



[Updated on: Fri, 24 April 2009 02:15]

Report message to a moderator

Re: I've been working on a commander system plug-in... [message #382301 is a reply to message #382112] Fri, 24 April 2009 02:32 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
sweet Big Ups
Re: I've been working on a commander system plug-in... [message #382302 is a reply to message #382112] Fri, 24 April 2009 03:05 Go to previous messageGo to next message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
NICE Big Ups In Love

http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
Re: I've been working on a commander system plug-in... [message #382304 is a reply to message #382112] Fri, 24 April 2009 03:12 Go to previous messageGo to next message
ExEric3 is currently offline  ExEric3
Messages: 746
Registered: February 2005
Location: Slovakia
Karma: 0
Colonel
I can also test it. In Love
Re: I've been working on a commander system plug-in... [message #382357 is a reply to message #382304] Fri, 24 April 2009 10:35 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
ExEric3 wrote on Fri, 24 April 2009 06:12

I can also test it. In Love


I've got a couple of people now, but sure, the more the merrier. Thanks.

Team Commander can !order his team mates (just sends a pm to every one on there team). Was actually tricky constructing that sentence, but I've probably done it some weird ass way anyway (strcat and strcpy)...

http://game-maps.net/staff/reborn/orders.jpg



Re: I've been working on a commander system plug-in... [message #382360 is a reply to message #382112] Fri, 24 April 2009 11:29 Go to previous messageGo to next message
Jamie or NuneGa is currently offline  Jamie or NuneGa
Messages: 954
Registered: June 2007
Karma: 0
Colonel
don't use windows movie maker to shrink movies Wink

I had a nice program on old comp which reduced size by a lot without any loss of quality(noticeable anyway).


http://img504.imageshack.us/img504/8789/avilj4.jpg

Jamie is a guys name in Europe...

[Updated on: Fri, 24 April 2009 11:29]

Report message to a moderator

Re: I've been working on a commander system plug-in... [message #382370 is a reply to message #382112] Fri, 24 April 2009 12:36 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

Does the supply crate just refill your health completely?


Re: I've been working on a commander system plug-in... [message #382373 is a reply to message #382370] Fri, 24 April 2009 12:54 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Lone0001 wrote on Fri, 24 April 2009 15:36

Does the supply crate just refill your health completely?



No, if a player picks it up, it's exactly like refilling from the purchase terminal (refills all ammo for all weapons, apart from the beacon).
If a tank runs over it to pick it up, then it refills there health and armor to maximum.



Re: I've been working on a commander system plug-in... [message #382375 is a reply to message #382112] Fri, 24 April 2009 12:59 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

Ah that's what I was wondering, if it refilled your health completely.

Re: I've been working on a commander system plug-in... [message #382511 is a reply to message #382112] Sat, 25 April 2009 05:51 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
I have a test version ready now, contact me on msn those interested in running a server for it.
I really hope those people do actually have there community behind them or at least a small group of people to try and break it. I need actual real feed-back on bugs rather then just people wanting it first.

The readme:

Quote:


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

This is 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
!vote;!VOTE;!Vote;!poll;!Poll!POLL
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:
!teamfund;!TeamFund;!TEAMFUND;!TF;!tf;!Tf;!tF

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.


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
healing_aura
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:
ONLY FOR COMMANDER
!tfdonateplayer;!TFDONATEPLAYER;!TFdonateplayer;!TFDonatePlayer
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:
ONLY FOR COMMANDER
!Supply;!SUPPLY;!supply
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:
ONLY FOR THE COMMANDER
!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:
ONLY FOR COMMANDER
!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
ONLY FOR COMMANDER
!abilities;!ABILITIES;!Abilities
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:
ONLY FOR COMMANDER
!c4;!C4
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:
ONLY FOR COMMANDER
!order;!Order;!ORDER
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:
ONLY FOR COMMANDER
!hstatus;!HStatus;!Hstatus;!HSTATUS
This will page you the health percent of the harvester.


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
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:

[Plugins]
01=commander
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.




commander.ini

Quote:


[General]
;This setting is the number of votes they have to win by for the vote to win, and the commander be set. The votes have to come from team members.
;It is currently set to three by defualt. This means that if a vote for a team commander is started, then there needs to be three more "!vote yes" then there are "!vote no" votes.
Majority=3;

;This setting defines how long the vote for the team commander lasts for. By default it is set to 180 seconds (three minutes).
votelastforinseconds=180.0;

;This setting is the toggel for whether or not the team commander gets a healing aura or not. The healing aura heals close by friendly players infantry. Set this to 0 or 1.
CommanderGetsAura=1;

;This setting is the interval at which the aura heals people. It is currently set to 1.0 seconds, but could probably be set a little higher.
IntervalForAura=1.0;

;This setting is the radius at which the aura heals people. 15.0 is probably a good setting to leave it at, possibly a little less maybe.
AreaOfEffect=15.0;

;This is the amount at which friendly near-by players characters are healed by each time the aura has effect. It will heal health first, then armour.
HealthIncreaseValue=2.0;

;This is the starting value for the team fund, it's default is 0, but you could experiment and set it high, with no team fund trickle...
StartingTeamFund = 0;

;This is the interval at which the team fund trickle for each time is increased.
TeamFundIncreaseInterval=10.0;

;This is the amount the team fund for each team increases by each interval.
TeamFundIncreaseAmount=10;

;This setting configures how much the supply crate drop off costs the team commander
SupplyDropCost=500;

;This setting is the amount of seconds a commander has to wait before he can use the supply command again to call ina supply drop.
DropTimer=180;

;This setting toggles on or off, you should leave this on really, it briefly explains to the server about the team commander mode every 3 minutes.
;Perhaps in time it may be fine to turn it off, but it will be new for people for a long time...
EnableExplanationMessages = 1;




[Updated on: Sat, 25 April 2009 05:58]

Report message to a moderator

Previous Topic: Still trying to imitate Farcry :D
Next Topic: same question again about Level Editor
Goto Forum:
  


Current Time: Mon Dec 30 06:09:20 MST 2024

Total time taken to generate the page: 0.01511 seconds