|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #385371 is a reply to message #383047] |
Sun, 10 May 2009 05:03 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Here is a debug version. Please use this and report any crashes with the crashdump. I will then be able to pass on the crash dump and the source code to a friend who might be able to see what the problem is. The source code will follow with a proper release.
This version should also remove the weird messages when a building falls under 50% health.
http://game-maps.net/staff/reborn/debug.zip
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #385415 is a reply to message #383047] |
Sun, 10 May 2009 11:23 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
It's probably just some extra bracket somewhere. I didn't have access to the IDE when I typed it, nor do I now. This might work for you, but I cannot be sure, I'm at work...
class revive_vehiclefactoriesChatCommand : public ChatCommandClass {
void Triggered(int ID,const TokenClass &Text,int ChatType) {
GameObject *obj = Get_GameObj(ID);
int Team = Get_Object_Type(obj);
int BuildingID = Commands->Get_ID(Find_Vehicle_Factory(Team));
GameObject *thebuilding = Commands->Find_Object(BuildingID);
if(Is_Building_Dead(Find_Vehicle_Factory(Team))) {
if(GDICommander[ID] || NodCommander[ID]){
if(GDICommander[ID]){
if(GDITeamFund >= CSettings->vehiclefactoriescost){
GDITeamFund = GDITeamFund - CSettings->vehiclefactoriescost;
Console_Input(StrFormat("msg The GDI Commander just revived the Weapons Factory").c_str());
Commands->Attach_Script(thebuilding, "RR_ReviveBuilding", "");
Commands->Create_2D_WAV_Sound("pplant_powerup.wav");
}
else{
Console_Input(StrFormat("ppage %d There is not enough credits in the team fund you need $%i. Use !tfdonate to add to the fund.",ID,CSettings->vehiclefactoriescost).c_str());
}
}
else if(NodCommander[ID]){
if(NodTeamFund >= CSettings->vehiclefactoriescost){
NodTeamFund = NodTeamFund - CSettings->vehiclefactoriescost;
Console_Input(StrFormat("msg The GDI Commander just revived the Airstrip").c_str());
Commands->Attach_Script(thebuilding, "RR_ReviveBuilding", "");
Commands->Create_2D_WAV_Sound("pplant_powerup.wav");
}
else{
Console_Input(StrFormat("ppage %d There is not enough credits in the team fund you need $%i. Use !tfdonate to add to the fund.",ID,CSettings->vehiclefactoriescost).c_str());
}
}
else {
Console_Input(StrFormat("ppage %d You are not a team commander and cannot use this command.",ID).c_str());
}
}
else{
if(GDICommander[ID]){
Console_Input(StrFormat("ppage %d The Weapons Factory is not dead.",ID).c_str());
}
}
else{
if(NodCommander[ID]){
Console_Input(StrFormat("ppage %d The Airstrip is not dead.",ID).c_str());
}
}
}
};
ChatCommandRegistrant<revive_vehiclefactoriesChatCommand> revive_vehiclefactoriesChatCommandReg("!revive_wf;!revive_air;!r wf;!r air",CHATTYPE_TEAM,0,GAMEMODE_ALL);
If it doesn't work, then give it a try man, you've got nothing to lose.
|
|
|
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #387067 is a reply to message #383047] |
Tue, 19 May 2009 21:49 |
TNaismith
Messages: 86 Registered: May 2006 Location: Canada
Karma: 0
|
Recruit |
|
|
reborn,
Does the Ammo Drop feature drop 3 yellow ammo crates that stay infinitely for the rest of the game? (Like on St0rm's Extreme Co-op Server if you've ever been there)
To be more specific, if multiple players run across the yellow ammo box, does it disappear after the first player runs over? Or is it like, permanent?
(I believe the preset name for the yellow ammo box I'm talking about is CnC_POW_Ammo_ClipMax)
Thanks for the work you've done on this already. I was just at Black-Cell's forums earlier today, and saw this exact same topic on the Commander System coding they had there. In fact, here is one of their more recent topics on 'Team Commander':
http://forums.black-cell.net/index.php?topic=5760.0
The way the ammo drop is described there, it seems more of something that can be picked up by only one person or is a destructible, one-time object.
Would you happen to be able to give any clarification on this? Or would I be better off asking the Black-Cell members themselves?
Regards,
TNaismith
[Updated on: Tue, 19 May 2009 21:50] Report message to a moderator
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #387070 is a reply to message #387067] |
Tue, 19 May 2009 23:41 |
|
havoc9826
Messages: 562 Registered: April 2006 Location: California, USA
Karma: 0
|
Colonel |
|
|
That's exactly how it was, except vehicles could pick up this crate as well. Only the enemy team could destroy it if they wanted to, though since they could just steal it, the only reason to destroy it would be if they couldn't reach it first. It was parachuted to the team commander's current position, provided he wasn't within a certain distance of the enemy base. I was able to find two screenshots among hundreds/thousands (I'm not gonna look through my videos) that actually had the crate in it:
Unfortunately, the BC Wiki was never restored after the most recent website crash, so you'll have to make do with what's in that thread and an archive.org copy of the wiki here.
quick wiki description of supply crateSupply Drop is a Commander only ability that paradrops a Supply Crate at the Commander's position. This Supply Crate serves 2 purposes: it can be picked up by anyone on either team, except the Commander who called it in, for a full refill; the crate also has its own Healing Aura which does not stack with the Commander's. It costs 500 credits to call in a Supply Drop and it can only be used once every 3 minutes. The enemy can also destroy it with regular weapons fire. A Supply Drop can be called in either through the teamchat command !supply or the keyboard shortcut SupplyDrop(numpad period default). You cannot call down crates within or directly on the border of the enemy base.
It's really nice that reborn's trying to recreate some of the features that used to make Black-Cell my favorite server until it lost too much of its playerbase for me to care to hang around anymore. I miss the good times :/
[Updated on: Tue, 19 May 2009 23:47] Report message to a moderator
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #387090 is a reply to message #387070] |
Wed, 20 May 2009 02:24 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
TNaismith wrote on Wed, 20 May 2009 00:49 | reborn,
Does the Ammo Drop feature drop 3 yellow ammo crates that stay infinitely for the rest of the game? (Like on St0rm's Extreme Co-op Server if you've ever been there)
To be more specific, if multiple players run across the yellow ammo box, does it disappear after the first player runs over? Or is it like, permanent?
(I believe the preset name for the yellow ammo box I'm talking about is CnC_POW_Ammo_ClipMax)
Thanks for the work you've done on this already. I was just at Black-Cell's forums earlier today, and saw this exact same topic on the Commander System coding they had there. In fact, here is one of their more recent topics on 'Team Commander':
http://forums.black-cell.net/index.php?topic=5760.0
The way the ammo drop is described there, it seems more of something that can be picked up by only one person or is a destructible, one-time object.
Would you happen to be able to give any clarification on this? Or would I be better off asking the Black-Cell members themselves?
Regards,
TNaismith
|
It's similar to black-cell's version, it's a one-off pick-up. It doesn't respawn constantly. A transport copter drops off a wooden pallet crate, either team can pick up the crate, including vehicles. It is not destructable though, I never thought it was needed really.
Here is a link to a movie I made whilst making the plug-in demonstrating the supply feature.
http://game-maps.net/staff/reborn/commander.wmv
It probably wouldn't be any use asking BC members about this particular plug-in, as it is not supported by them or there own release, rather it is my own attempt as a commander system, based on there version from memory and documention found on there site. As far as I know they never released there version, although I know that allot of there server-side mod ended up being too tied into the regulator to separate the the code and make it functional as a release.
havoc9826 wrote on Wed, 20 May 2009 02:41 |
That's exactly how it was, except vehicles could pick up this crate as well. Only the enemy team could destroy it if they wanted to, though since they could just steal it, the only reason to destroy it would be if they couldn't reach it first. It was parachuted to the team commander's current position, provided he wasn't within a certain distance of the enemy base. I was able to find two screenshots among hundreds/thousands (I'm not gonna look through my videos) that actually had the crate in it:
Unfortunately, the BC Wiki was never restored after the most recent website crash, so you'll have to make do with what's in that thread and an archive.org copy of the wiki here.
quick wiki description of supply crateSupply Drop is a Commander only ability that paradrops a Supply Crate at the Commander's position. This Supply Crate serves 2 purposes: it can be picked up by anyone on either team, except the Commander who called it in, for a full refill; the crate also has its own Healing Aura which does not stack with the Commander's. It costs 500 credits to call in a Supply Drop and it can only be used once every 3 minutes. The enemy can also destroy it with regular weapons fire. A Supply Drop can be called in either through the teamchat command !supply or the keyboard shortcut SupplyDrop(numpad period default). You cannot call down crates within or directly on the border of the enemy base.
|
This plug-in recreates most of that, apart from the commander can pick it up himself, and the wooden pallet crate is not destructable, and it can be called in anywhere...
The default settings are also 500 creds and a 3 min gap between the time you can call it in, but it's configurable to any cost and any time difference.
havoc9826 wrote on Wed, 20 May 2009 02:41 |
It's really nice that reborn's trying to recreate some of the features that used to make Black-Cell my favorite server until it lost too much of its playerbase for me to care to hang around anymore. I miss the good times :/
|
There's a bunch released now, I was hoping it might encourage others to do the same. I also miss playing in black-cell and the good times there.
[Updated on: Wed, 20 May 2009 02:29] Report message to a moderator
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #387127 is a reply to message #383047] |
Wed, 20 May 2009 07:01 |
TNaismith
Messages: 86 Registered: May 2006 Location: Canada
Karma: 0
|
Recruit |
|
|
Ah, I see. Sounds like it can be a good addition to a server in any case. I appreciate the replies. I hope as well that other community leaders whom have extremely in-depth modded servers will also consider stepping forward to release their code, however the debate of whether that will make Renegade servers all look the same rather than unique and diverse will be brought up, and I can imagine that many people are against the idea of releasing code as it would 'hurt' the integrity of their own server/playing population.
I've seen this from some isolated servers I've been to, and I am pretty sure this mindset runs throughout a number of other Renegade-related communities.
Tiberium Technologies however is a great step in bringing together the skill and abilities of a lot of people, so that could be considered as compensating for the lack of will to release code for fun modifications to Renegade servers.
Anyhow, thanks again. Appreciate the work and motivation you put in to further develop this code for Team Commander.
Regards,
TNaismith
|
|
|
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #396831 is a reply to message #383047] |
Sun, 02 August 2009 10:48 |
Sniperhid
Messages: 6 Registered: February 2007
Karma: 0
|
Recruit |
|
|
Found a bug
When you !Pollcommander an enemy player it would say "<lastsuccessfullypolledcommandername> isn't on your team", as potentialnodcommandername/potentialgdicommandername is kept as the last player.
Other than that good job.
|
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #397085 is a reply to message #385351] |
Wed, 05 August 2009 08:05 |
|
Hex
Messages: 858 Registered: March 2004
Karma: 0
|
Colonel |
|
|
ExEric3 wrote on Sun, 10 May 2009 09:21 |
What version of server.dat are you using? Its not BlackIntel? Because when I use their version under x64 mode it crashing FDS when Im trying join.
|
Try disabling DEP
goztow wrote on Tue, 11 May 2010 08:00 | If we had to ban all who ever cheated or ever created a cheat (obj3cts and such) then I don't think there would be many members left here (sad fact).
|
reborn wrote on Fri, 29 January 2010 23:37 | std is for pro's.
|
[Updated on: Wed, 05 August 2009 08:06] Report message to a moderator
|
|
|
|
|
|
|