From b951cae3d2bcf581bf9b6d8fece0d6b9bc66c67b Mon Sep 17 00:00:00 2001 From: FourthVolt <87427011+EM4Volts@users.noreply.github.com> Date: Wed, 19 Jul 2023 01:41:45 +0200 Subject: Add cut Doublebarrel shotgun by using model from Titanfall Online (#660) --- .../paks/mp_weapon_shotgun_doublebarrel.rpak | Bin 0 -> 264566 bytes .../paks/mp_weapon_shotgun_doublebarrel.starpak | Bin 0 -> 16539736 bytes Northstar.Custom/paks/rpak.json | 5 +++++ 3 files changed, 5 insertions(+) create mode 100644 Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.rpak create mode 100644 Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.starpak create mode 100644 Northstar.Custom/paks/rpak.json (limited to 'Northstar.Custom/paks') diff --git a/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.rpak b/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.rpak new file mode 100644 index 00000000..3a714d3b Binary files /dev/null and b/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.rpak differ diff --git a/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.starpak b/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.starpak new file mode 100644 index 00000000..3bd34467 Binary files /dev/null and b/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.starpak differ diff --git a/Northstar.Custom/paks/rpak.json b/Northstar.Custom/paks/rpak.json new file mode 100644 index 00000000..743468b4 --- /dev/null +++ b/Northstar.Custom/paks/rpak.json @@ -0,0 +1,5 @@ +{ + "Postload": { + "mp_weapon_shotgun_doublebarrel.rpak": "common.rpak" + } +} \ No newline at end of file -- cgit v1.2.3 From f4df3144adbd45d48d812d102cfaf7cef474824e Mon Sep 17 00:00:00 2001 From: Maya <11448698+RoyalBlue1@users.noreply.github.com> Date: Thu, 14 Dec 2023 01:31:37 +0100 Subject: Add Winter holiday event models to the lobby (#768) Adds decorative models to the lobby map that will only display during winter holiday season. --- Northstar.Custom/mod.json | 19 +++++++++++++++++++ .../models/northstartree/lightsflicker.vmt | 18 ++++++++++++++++++ .../models/northstartree/lightsflicker.vtf | Bin 0 -> 524512 bytes .../models/northstartree/winter_holiday_floor.mdl | Bin 0 -> 311481 bytes .../models/northstartree/winter_holiday_tree.mdl | Bin 0 -> 3029949 bytes .../mod/scripts/vscripts/_event_models.gnut | 21 +++++++++++++++++++++ .../vscripts/ui/ns_custom_mod_settings.gnut | 8 ++++++++ Northstar.Custom/paks/bt.rpak | Bin 0 -> 308606 bytes Northstar.Custom/paks/bt.starpak | Bin 0 -> 19296360 bytes Northstar.Custom/paks/giftwrap.rpak | Bin 0 -> 264704 bytes Northstar.Custom/paks/giftwrap.starpak | Bin 0 -> 1335384 bytes Northstar.Custom/paks/leaves.rpak | Bin 0 -> 265631 bytes Northstar.Custom/paks/leaves.starpak | Bin 0 -> 3956824 bytes Northstar.Custom/paks/rpak.json | 9 +++++++-- Northstar.Custom/paks/snow.rpak | Bin 0 -> 308548 bytes Northstar.Custom/paks/snow.starpak | Bin 0 -> 4616296 bytes Northstar.Custom/paks/tree_stump.rpak | Bin 0 -> 308670 bytes Northstar.Custom/paks/tree_stump.starpak | Bin 0 -> 4616296 bytes 18 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 Northstar.Custom/mod/materials/models/northstartree/lightsflicker.vmt create mode 100644 Northstar.Custom/mod/materials/models/northstartree/lightsflicker.vtf create mode 100644 Northstar.Custom/mod/models/northstartree/winter_holiday_floor.mdl create mode 100644 Northstar.Custom/mod/models/northstartree/winter_holiday_tree.mdl create mode 100644 Northstar.Custom/mod/scripts/vscripts/_event_models.gnut create mode 100644 Northstar.Custom/mod/scripts/vscripts/ui/ns_custom_mod_settings.gnut create mode 100644 Northstar.Custom/paks/bt.rpak create mode 100644 Northstar.Custom/paks/bt.starpak create mode 100644 Northstar.Custom/paks/giftwrap.rpak create mode 100644 Northstar.Custom/paks/giftwrap.starpak create mode 100644 Northstar.Custom/paks/leaves.rpak create mode 100644 Northstar.Custom/paks/leaves.starpak create mode 100644 Northstar.Custom/paks/snow.rpak create mode 100644 Northstar.Custom/paks/snow.starpak create mode 100644 Northstar.Custom/paks/tree_stump.rpak create mode 100644 Northstar.Custom/paks/tree_stump.starpak (limited to 'Northstar.Custom/paks') diff --git a/Northstar.Custom/mod.json b/Northstar.Custom/mod.json index 93f371bd..399311e4 100644 --- a/Northstar.Custom/mod.json +++ b/Northstar.Custom/mod.json @@ -24,6 +24,11 @@ { "Name": "ns_force_melee", "DefaultValue": "" + }, + { + "Name": "ns_show_event_models", + "DefaultValue": "1", + "Flags": "ARCHIVE_PLAYERPROFILE" } ], "Scripts": [ @@ -434,6 +439,20 @@ { "Path": "sh_northstar_safe_io.gnut", "RunOn": "CLIENT || SERVER || UI" + }, + { + "Path": "_event_models.gnut", + "RunOn": "SERVER && LOBBY", + "ServerCallback": { + "Before": "EventModelsInit" + } + }, + { + "Path": "ui/ns_custom_mod_settings.gnut", + "RunOn": "UI", + "UICallback":{ + "Before": "NSCustomModSettings" + } } ], diff --git a/Northstar.Custom/mod/materials/models/northstartree/lightsflicker.vmt b/Northstar.Custom/mod/materials/models/northstartree/lightsflicker.vmt new file mode 100644 index 00000000..22b81e9a --- /dev/null +++ b/Northstar.Custom/mod/materials/models/northstartree/lightsflicker.vmt @@ -0,0 +1,18 @@ +"UnlitTexture" +{ + $basetexture "models/northstartree/lightsflicker" + $color "[1.5 1.5 1.5]" + + Proxies + { + + TextureScroll + { + texturescrollvar $basetexturetransform + texturescrollrate 0.33 + texturescrollangle 45 + } + + } + +} diff --git a/Northstar.Custom/mod/materials/models/northstartree/lightsflicker.vtf b/Northstar.Custom/mod/materials/models/northstartree/lightsflicker.vtf new file mode 100644 index 00000000..227756be Binary files /dev/null and b/Northstar.Custom/mod/materials/models/northstartree/lightsflicker.vtf differ diff --git a/Northstar.Custom/mod/models/northstartree/winter_holiday_floor.mdl b/Northstar.Custom/mod/models/northstartree/winter_holiday_floor.mdl new file mode 100644 index 00000000..aaf70363 Binary files /dev/null and b/Northstar.Custom/mod/models/northstartree/winter_holiday_floor.mdl differ diff --git a/Northstar.Custom/mod/models/northstartree/winter_holiday_tree.mdl b/Northstar.Custom/mod/models/northstartree/winter_holiday_tree.mdl new file mode 100644 index 00000000..4690475f Binary files /dev/null and b/Northstar.Custom/mod/models/northstartree/winter_holiday_tree.mdl differ diff --git a/Northstar.Custom/mod/scripts/vscripts/_event_models.gnut b/Northstar.Custom/mod/scripts/vscripts/_event_models.gnut new file mode 100644 index 00000000..0802d769 --- /dev/null +++ b/Northstar.Custom/mod/scripts/vscripts/_event_models.gnut @@ -0,0 +1,21 @@ +global function EventModelsInit + +void function EventModelsInit() +{ + if( !GetConVarBool( "ns_show_event_models" ) ) + return + + table timeParts = GetUnixTimeParts() + int month = expect int( timeParts[ "month" ] ) + int day = expect int( timeParts[ "day" ] ) + + // 18th December to 6th January + if( ( ( month == 12 ) && ( day >= 18 ) ) || ( ( month == 1 ) && ( day <= 6 ) ) ) + { + PrecacheModel( $"models/northstartee/winter_holiday_tree.mdl" ) + PrecacheModel( $"models/northstartree/winter_holiday_floor.mdl" ) + + CreatePropDynamic( $"models/northstartree/winter_holiday_tree.mdl", < -60, 740, 30 >, < 0, 0, 0 >, SOLID_VPHYSICS, 1000 ) + CreatePropDynamic( $"models/northstartree/winter_holiday_floor.mdl", < -60, 740, 30 >, < 0, 0, 0 >, SOLID_VPHYSICS, 1000 ) + } +} diff --git a/Northstar.Custom/mod/scripts/vscripts/ui/ns_custom_mod_settings.gnut b/Northstar.Custom/mod/scripts/vscripts/ui/ns_custom_mod_settings.gnut new file mode 100644 index 00000000..5a7d80b7 --- /dev/null +++ b/Northstar.Custom/mod/scripts/vscripts/ui/ns_custom_mod_settings.gnut @@ -0,0 +1,8 @@ +global function NSCustomModSettings + +void function NSCustomModSettings() +{ + ModSettings_AddModTitle( "Northstar Custom" , 2 ) + ModSettings_AddModCategory( "Event Models" ) + ModSettings_AddEnumSetting( "ns_show_event_models", "Show Event Models", [ "#SETTING_OFF", "#SETTING_ON" ], 2 ) +} diff --git a/Northstar.Custom/paks/bt.rpak b/Northstar.Custom/paks/bt.rpak new file mode 100644 index 00000000..7a4b9e31 Binary files /dev/null and b/Northstar.Custom/paks/bt.rpak differ diff --git a/Northstar.Custom/paks/bt.starpak b/Northstar.Custom/paks/bt.starpak new file mode 100644 index 00000000..70549d51 Binary files /dev/null and b/Northstar.Custom/paks/bt.starpak differ diff --git a/Northstar.Custom/paks/giftwrap.rpak b/Northstar.Custom/paks/giftwrap.rpak new file mode 100644 index 00000000..7b9200b3 Binary files /dev/null and b/Northstar.Custom/paks/giftwrap.rpak differ diff --git a/Northstar.Custom/paks/giftwrap.starpak b/Northstar.Custom/paks/giftwrap.starpak new file mode 100644 index 00000000..46ea6d8d Binary files /dev/null and b/Northstar.Custom/paks/giftwrap.starpak differ diff --git a/Northstar.Custom/paks/leaves.rpak b/Northstar.Custom/paks/leaves.rpak new file mode 100644 index 00000000..b17346dd Binary files /dev/null and b/Northstar.Custom/paks/leaves.rpak differ diff --git a/Northstar.Custom/paks/leaves.starpak b/Northstar.Custom/paks/leaves.starpak new file mode 100644 index 00000000..b37aa523 Binary files /dev/null and b/Northstar.Custom/paks/leaves.starpak differ diff --git a/Northstar.Custom/paks/rpak.json b/Northstar.Custom/paks/rpak.json index 743468b4..522c558b 100644 --- a/Northstar.Custom/paks/rpak.json +++ b/Northstar.Custom/paks/rpak.json @@ -1,5 +1,10 @@ { "Postload": { - "mp_weapon_shotgun_doublebarrel.rpak": "common.rpak" + "mp_weapon_shotgun_doublebarrel.rpak": "common.rpak", + "leaves.rpak": "common.rpak", + "tree_stump.rpak": "common.rpak", + "bt.rpak": "common.rpak", + "giftwrap.rpak": "common.rpak", + "snow.rpak": "common.rpak" } -} \ No newline at end of file +} diff --git a/Northstar.Custom/paks/snow.rpak b/Northstar.Custom/paks/snow.rpak new file mode 100644 index 00000000..4756b6c7 Binary files /dev/null and b/Northstar.Custom/paks/snow.rpak differ diff --git a/Northstar.Custom/paks/snow.starpak b/Northstar.Custom/paks/snow.starpak new file mode 100644 index 00000000..7f3dbf19 Binary files /dev/null and b/Northstar.Custom/paks/snow.starpak differ diff --git a/Northstar.Custom/paks/tree_stump.rpak b/Northstar.Custom/paks/tree_stump.rpak new file mode 100644 index 00000000..3cdf1866 Binary files /dev/null and b/Northstar.Custom/paks/tree_stump.rpak differ diff --git a/Northstar.Custom/paks/tree_stump.starpak b/Northstar.Custom/paks/tree_stump.starpak new file mode 100644 index 00000000..b233176e Binary files /dev/null and b/Northstar.Custom/paks/tree_stump.starpak differ -- cgit v1.2.3 From d130ab7d957693b0c83b9acd130bcec02928e7a2 Mon Sep 17 00:00:00 2001 From: Creamy <88903493+CozyMerc@users.noreply.github.com> Date: Tue, 30 Jul 2024 00:46:27 +0200 Subject: Update tbshotgun mdls with skinfamillies/lods, add pbr materials (#796) See pull request description for highly detailed changelog. --- .../ptpov_shotgun_doublebarrel.mdl | Bin 1268987 -> 1277105 bytes .../w_shotgun_doublebarrel.mdl | Bin 743828 -> 924194 bytes .../paks/mp_weapon_shotgun_doublebarrel.rpak | Bin 264566 -> 197556 bytes .../paks/mp_weapon_shotgun_doublebarrel.starpak | Bin 16539736 -> 9605416 bytes 4 files changed, 0 insertions(+), 0 deletions(-) (limited to 'Northstar.Custom/paks') diff --git a/Northstar.Custom/mod/models/weapons/shotgun_doublebarrel/ptpov_shotgun_doublebarrel.mdl b/Northstar.Custom/mod/models/weapons/shotgun_doublebarrel/ptpov_shotgun_doublebarrel.mdl index 2fcc3439..82b58bec 100644 Binary files a/Northstar.Custom/mod/models/weapons/shotgun_doublebarrel/ptpov_shotgun_doublebarrel.mdl and b/Northstar.Custom/mod/models/weapons/shotgun_doublebarrel/ptpov_shotgun_doublebarrel.mdl differ diff --git a/Northstar.Custom/mod/models/weapons/shotgun_doublebarrel/w_shotgun_doublebarrel.mdl b/Northstar.Custom/mod/models/weapons/shotgun_doublebarrel/w_shotgun_doublebarrel.mdl index 137d985d..9e660374 100644 Binary files a/Northstar.Custom/mod/models/weapons/shotgun_doublebarrel/w_shotgun_doublebarrel.mdl and b/Northstar.Custom/mod/models/weapons/shotgun_doublebarrel/w_shotgun_doublebarrel.mdl differ diff --git a/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.rpak b/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.rpak index 3a714d3b..440f16ae 100644 Binary files a/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.rpak and b/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.rpak differ diff --git a/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.starpak b/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.starpak index 3bd34467..93e59c89 100644 Binary files a/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.starpak and b/Northstar.Custom/paks/mp_weapon_shotgun_doublebarrel.starpak differ -- cgit v1.2.3