ItsMods

Full Version: Semi hardcore 1.1 beta (Killcam on and ff off)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
as its name says: Hardcore with killcam and friendly fire OFF

on .dsr file set these settings:
Code:
gameOpt commonOption.hardcoreModeOn "0"
gameOpt commonOption.friendlyFire "0"
gameOpt commonOption.healthRegen "0.0000"
gameOpt commonOption.maxHealth "30.0000"

and u r good to goBig Grin
its a really basic oneBig Grin but I hope u enjoy it

feel free to contact me for bug reports
its too short,simple but working.
source:
CSHARP Code
  1. using System;
  2. using System.Collections.Generic;
  3. using Addon;
  4.  
  5.  
  6. namespace plugin_test
  7. {
  8.  
  9. public class plugin_test : CPlugin
  10. {
  11. /*public override void OnServerFrame()
  12.   {
  13.   hardcore();
  14.   }*/
  15. public override void OnFastRestart()
  16. {
  17. hardcore();
  18. }
  19. public override void OnPlayerConnect(ServerClient Client)
  20. {
  21. SetClientDvar(Client.ClientNum, "g_hardcore \"1\"");
  22. SetClientDvar(Client.ClientNum, "cg_drawCrosshair \"0\"");
  23. SetClientDvar(Client.ClientNum, "cg_scoreboardPingText \"1\"");
  24. }
  25. public void hardcore()
  26. {
  27. foreach (ServerClient client in GetClients())
  28. {
  29. SetClientDvar(client.ClientNum, "g_hardcore \"1\"");
  30. SetClientDvar(client.ClientNum, "cg_drawCrosshair \"0\"");
  31. SetClientDvar(client.ClientNum, "cg_scoreboardPingText \"1\"");
  32. }
  33. }
  34. }
  35. }

[attachment=1697]
HeXman
Really simple, but still +1
Excuse for my bad English language), Has installed a plugin, all works except killcam, why?
thx...Big Grin
Does this plug in just turn FF off or can you set it to reflect also?

Thanks,

TiLLeR
Any chance the removal of crosshair can be linked to map change instead of fast restart as i can't imagine to have to do a fast restart in the beginning of every map :/
(03-05-2012, 18:47)jnn83 Wrote: [ -> ]Excuse for my bad English language), Has installed a plugin, all works except killcam, why?
check ur killcam option

check the dsr file for:
Code:
gameOpt commonOption.showKillcam "1"

it should be "1" to have killcams
(03-06-2012, 02:49)TiLLeR Wrote: [ -> ]Does this plug in just turn FF off or can you set it to reflect also?

Thanks,

TiLLeR
on/off only!
sry bro but I havent seen ricochet (reflected friendly fire) option on private match or on dedicate servers dvar lists.Confused
(03-06-2012, 16:59)Predje Wrote: [ -> ]Any chance the removal of crosshair can be linked to map change instead of fast restart as i can't imagine to have to do a fast restart in the beginning of every map :/

at the moment I am working on it.
tnx for feed back
(03-09-2012, 12:06)atenziono Wrote: [ -> ]at the moment I am working on it.
tnx for feed back

Looking forward
I am confused by this.

If applied does the server show in the server lists as hardcore, or is this just the age-old method of modifying normal-mode to PLAY like hardcore?
Pages: 1 2 3 4 5 6 7