Home » Renegade Discussions » Mod Forum » Veteran Plugin.
() 1 Vote
Re: Veteran Plugin. [message #307600 is a reply to message #307350] |
Thu, 03 January 2008 10:14 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma:
|
General (3 Stars) |
|
|
RoShamBo wrote on Wed, 02 January 2008 12:37 | IsLowClassVehicle
GetPoints
are missing
|
I forgot about those...
int GetPoints(const char* Preset) {
int VetWorth = 0;
if (stricmp(Preset,"CnC_GDI_Engineer_0") == 0) VetWorth = 1;
else if (stricmp(Preset,"CnC_GDI_Engineer_2SF") == 0) VetWorth = 3;
else if (stricmp(Preset,"CnC_GDI_Grenadier_0") == 0) VetWorth = 1;
else if (stricmp(Preset,"CnC_GDI_Grenadier_2SF") == 0) VetWorth = 2;
else if (strstr(Preset,"CnC_Ignatio_Mobius")) VetWorth = 3;
else if (stricmp(Preset,"CnC_GDI_MiniGunner_0") == 0) VetWorth = 1;
else if (stricmp(Preset,"CnC_GDI_MiniGunner_1Off") == 0) VetWorth = 2;
else if (stricmp(Preset,"CnC_GDI_MiniGunner_2SF") == 0) VetWorth = 2;
else if (strstr(Preset,"CnC_GDI_MiniGunner_3Boss")) VetWorth = 3;
else if (stricmp(Preset,"CnC_GDI_RocketSoldier_0") == 0) VetWorth = 1;
else if (stricmp(Preset,"CnC_GDI_RocketSoldier_1Off") == 0) VetWorth = 2;
else if (stricmp(Preset,"CnC_GDI_RocketSoldier_2SF") == 0) VetWorth = 2;
else if (stricmp(Preset,"CnC_Nod_Engineer_0") == 0) VetWorth = 1;
else if (stricmp(Preset,"CnC_Nod_FlameThrower_0") == 0) VetWorth = 1;
else if (stricmp(Preset,"CnC_Nod_FlameThrower_1Off") == 0) VetWorth = 2;
else if (stricmp(Preset,"CnC_Nod_FlameThrower_2SF") == 0) VetWorth = 2;
else if (strstr(Preset,"CnC_Nod_FlameThrower_3Boss")) VetWorth = 3;
else if (stricmp(Preset,"CnC_Nod_Minigunner_0") == 0) VetWorth = 1;
else if (stricmp(Preset,"CnC_Nod_Minigunner_1Off") == 0) VetWorth = 2;
else if (stricmp(Preset,"CnC_Nod_Minigunner_2SF") == 0) VetWorth = 2;
else if (strstr(Preset,"CnC_Nod_Minigunner_3Boss")) VetWorth = 3;
else if (strstr(Preset,"CnC_Nod_MiniGunner_3Boss")) VetWorth = 3;
else if (stricmp(Preset,"CnC_Nod_RocketSoldier_0") == 0) VetWorth = 1;
else if (stricmp(Preset,"CnC_Nod_RocketSoldier_1Off") == 0) VetWorth = 2;
else if (stricmp(Preset,"CnC_Nod_RocketSoldier_2SF") == 0) VetWorth = 2;
else if (strstr(Preset,"CnC_Nod_RocketSoldier_3Boss")) VetWorth = 3;
else if (stricmp(Preset,"CnC_Nod_Technician_0") == 0) VetWorth = 3;
else if (strstr(Preset,"CnC_Sydney_PowerSuit")) VetWorth = 3;
else if (stricmp(Preset,"CnC_Sydney") == 0) VetWorth = 2;
else if (strstr(Preset,"CnC_GDI_APC")) VetWorth = 3;
else if (strstr(Preset,"CnC_GDI_Humm-vee")) VetWorth = 2;
else if (strstr(Preset,"CnC_GDI_MRLS")) VetWorth = 3;
else if (strstr(Preset,"CnC_Civilian_Pickup01_Secret")) VetWorth = 2;
else if (strstr(Preset,"CnC_Civilian_Sedan01_Secret")) VetWorth = 2;
else if (strstr(Preset,"CnC_Nod_APC")) VetWorth = 3;
else if (strstr(Preset,"CnC_Nod_Buggy")) VetWorth = 2;
else if (strstr(Preset,"CnC_Nod_Mobile Artillery")) VetWorth = 3;
else if (strstr(Preset,"Nod_Chameleon")) VetWorth = 2;
else if (strstr(Preset,"CnC_Nod_Recon_Bike")) VetWorth = 2;
else if (strstr(Preset,"CnC_Nod_Transport")) VetWorth = 2;
else if (strstr(Preset,"CnC_GDI_Transport")) VetWorth = 2;
else if (strstr(Preset,"CnC_GDI_Medium_Tank")) VetWorth = 4;
else if (strstr(Preset,"CnC_GDI_Mammoth_Tank")) VetWorth = 5;
else if (strstr(Preset,"CnC_Nod_Light_Tank")) VetWorth = 4;
else if (strstr(Preset,"CnC_Nod_Flame_Tank")) VetWorth = 4;
else if (strstr(Preset,"CnC_Nod_Stealth_Tank")) VetWorth = 5;
else if (strstr(Preset,"CnC_Nod_Apache")) VetWorth = 4;
else if (strstr(Preset,"CnC_GDI_Orca")) VetWorth = 4;
else if (strstr(Preset,"CnC_GDI_Harvester")) VetWorth = 2;
else if (strstr(Preset,"CnC_Nod_Harvester")) VetWorth = 2;
return VetWorth;
}
bool IsLowClassVehicle(const char *Preset) {
if (strstr(Preset,"CnC_GDI_APC")) return true;
else if (strstr(Preset,"CnC_GDI_Humm-vee")) return true;
else if (strstr(Preset,"CnC_GDI_MRLS")) return true;
else if (strstr(Preset,"CnC_Civilian_Pickup01_Secret")) return true;
else if (strstr(Preset,"CnC_Civilian_Sedan01_Secret")) return true;
else if (strstr(Preset,"CnC_Nod_APC")) return true;
else if (strstr(Preset,"CnC_Nod_Buggy")) return true;
else if (strstr(Preset,"CnC_Nod_Mobile Artillery")) return true;
else if (strstr(Preset,"Nod_Chameleon")) return true;
else if (strstr(Preset,"CnC_Nod_Recon_Bike")) return true;
else if (strstr(Preset,"CnC_Nod_Transport")) return true;
else if (strstr(Preset,"CnC_GDI_Transport")) return true;
return false;
}
|
|
|
|
|
Veteran Plugin.
By: cnc95fan on Sat, 01 December 2007 04:42
|
|
|
Re: Veteran Plugin.
By: reborn on Sat, 01 December 2007 04:55
|
|
|
Re: Veteran Plugin.
By: cnc95fan on Sat, 01 December 2007 05:08
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Mon, 03 December 2007 09:55
|
|
|
Re: Veteran Plugin.
By: Hex on Mon, 03 December 2007 13:30
|
|
|
Re: Veteran Plugin.
By: reborn on Mon, 03 December 2007 16:13
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: jnz on Mon, 03 December 2007 13:11
|
|
|
Re: Veteran Plugin.
By: cnc95fan on Mon, 03 December 2007 13:55
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: jnz on Mon, 03 December 2007 16:38
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: Hex on Mon, 03 December 2007 17:47
|
|
|
Re: Veteran Plugin.
By: jnz on Mon, 03 December 2007 18:30
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: jnz on Tue, 04 December 2007 00:45
|
|
|
Re: Veteran Plugin.
By: Hex on Tue, 04 December 2007 01:54
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Tue, 04 December 2007 14:31
|
|
|
Re: Veteran Plugin.
By: cnc95fan on Tue, 04 December 2007 14:41
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: cnc95fan on Tue, 04 December 2007 15:23
|
|
|
Re: Veteran Plugin.
By: Hex on Tue, 04 December 2007 15:43
|
|
|
Re: Veteran Plugin.
By: reborn on Tue, 04 December 2007 17:00
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: jnz on Tue, 04 December 2007 16:32
|
|
|
Re: Veteran Plugin.
By: Ethenal on Tue, 04 December 2007 16:48
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: jnz on Wed, 02 January 2008 10:37
|
|
|
Re: Veteran Plugin.
By: reborn on Thu, 03 January 2008 10:14
|
|
|
Re: Veteran Plugin.
By: jnz on Thu, 03 January 2008 13:35
|
|
|
Re: Veteran Plugin.
By: reborn on Fri, 04 January 2008 00:19
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: Darknes2 on Sat, 08 March 2008 08:39
|
|
|
Re: Veteran Plugin.
By: jnz on Sat, 08 March 2008 09:05
|
|
|
Re: Veteran Plugin.
By: Darknes2 on Sat, 08 March 2008 09:22
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: Darknes2 on Sat, 08 March 2008 14:22
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: cAmpa on Sat, 08 March 2008 15:25
|
|
|
Re: Veteran Plugin.
By: Darknes2 on Sat, 08 March 2008 21:25
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: ExEric3 on Sat, 10 May 2008 04:43
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: nopol10 on Thu, 12 June 2008 19:20
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Mon, 12 May 2008 02:38
|
|
|
Re: Veteran Plugin.
By: ExEric3 on Mon, 12 May 2008 03:15
|
|
|
Re: Veteran Plugin.
By: reborn on Mon, 12 May 2008 16:20
|
|
|
Re: Veteran Plugin.
By: ExEric3 on Mon, 12 May 2008 21:51
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: ExEric3 on Sun, 18 May 2008 08:22
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: ExEric3 on Mon, 19 May 2008 22:43
|
|
|
Re: Veteran Plugin.
By: reborn on Mon, 19 May 2008 05:50
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Sat, 24 May 2008 07:44
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Sat, 24 May 2008 11:15
|
|
|
Re: Veteran Plugin.
By: ExEric3 on Sat, 24 May 2008 07:49
|
|
|
Re: Veteran Plugin.
By: reborn on Sun, 01 June 2008 04:06
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Sun, 01 June 2008 17:36
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Mon, 02 June 2008 23:37
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Fri, 13 June 2008 03:21
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Sun, 15 June 2008 02:53
|
|
|
Re: Veteran Plugin.
|
|
|
Re: Veteran Plugin.
By: reborn on Sun, 15 June 2008 21:46
|
Goto Forum:
Current Time: Tue Dec 24 11:37:41 MST 2024
Total time taken to generate the page: 0.01545 seconds
|