From f76128e6187a6744d906ac898f3a4820d6c8130f Mon Sep 17 00:00:00 2001 From: FutureRave Date: Fri, 18 Mar 2022 14:14:01 +0000 Subject: [PATCH] Add mod.csv to override string table --- raw/mod.csv | 12 ++++++++++++ raw/mp/perkTable.csv | 2 +- raw/scripts/_inf_anti_rage_quit.gsc | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 raw/mod.csv diff --git a/raw/mod.csv b/raw/mod.csv new file mode 100644 index 0000000..f2fbc64 --- /dev/null +++ b/raw/mod.csv @@ -0,0 +1,12 @@ +# Add two removed perks +stringtable,mp/perktable.csv + +# Override +rawfile,maps/mp/mp_dome.gsc +rawfile,maps/mp/mp_exchange.gsc +rawfile,maps/mp/mp_radar.gsc + +rawfile,maps/mp/gametypes/_tweakables.gsc +rawfile,maps/mp/gametypes/infect.gsc + +rawfile,mod diff --git a/raw/mp/perkTable.csv b/raw/mp/perkTable.csv index 62cb68f..fffd859 100644 --- a/raw/mp/perkTable.csv +++ b/raw/mp/perkTable.csv @@ -78,7 +78,7 @@ a0,b1,c2,d3,e4,f5,g6,h7,i8,j9 76,specialty_radararrow,,,,slot_null,,,, 77,specialty_radarjuggernaut,,,,slot_null,,,, 78,specialty_marathon,PERKS_MARATHON,specialty_marathon,PERKS_DESC_MARATHON,perk1,,,specialty_fastmantle,PERKS_MARATHON_PRO -79,specialty_jumpdive,PERKS_JUMPDIVE,specialty_jumpdive,PERKS_DESC_JUMPDIVE,,,,,, +79,specialty_jumpdive,PERKS_JUMPDIVE,specialty_jumpdive,PERKS_DESC_JUMPDIVE,perk1,,,specialty_null, perk1,0.3333,0.4941,0.6196,,,,,, perk2,0.5255,0.5686,0.3804,,,,,, perk3,0.6196,0.3373,0.3373,,,,,, diff --git a/raw/scripts/_inf_anti_rage_quit.gsc b/raw/scripts/_inf_anti_rage_quit.gsc index 51e1571..7334ccc 100644 --- a/raw/scripts/_inf_anti_rage_quit.gsc +++ b/raw/scripts/_inf_anti_rage_quit.gsc @@ -47,6 +47,6 @@ onPlayerConnect() onPlayerDisconnect() { self waittill( "disconnect" ); - text = "say \"" + self.name + " ^1Left the server\"\n"; - cmdExec( text ); + text = self.name + " ^1Left the server"; + iPrintLn( text ); }