Skip to content

Commit 0437e8d

Browse files
authored
Version 2.4.0
1 parent 6d34d9a commit 0437e8d

17 files changed

+59
-57
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# VanillaPlus
22
Patch for Northstar.Client to enable client-side mods on official servers.
33

4-
If you're having issues with the mod, please read [FAQ.md](FAQ.md) as most of the common issues can be found there.
5-
64
# THIS HAS A NON-STANDARD INSTALL PROCESS!
75

86
# Installation
@@ -22,19 +20,19 @@ If you're having issues with the mod, please read [FAQ.md](FAQ.md) as most of th
2220
Titanfall2
2321
R2Titanfall
2422
packages
25-
NanohmProtogen-VanillaPlus-2.3.0
23+
NanohmProtogen-VanillaPlus-2.4.0
2624
```
2725

2826
Note that the folder in `packages` is NOT a `.zip` file
2927

30-
6.) There are multiple ways you can launch this profile. You only need to do one of these, and it's recommend you do 6a.
28+
6.) There are multiple ways you can launch this profile. You only need to do one of these, and it's recommend you do `6a`.
3129

32-
6a.) Add `-northstar -norestrictservercommands -profile=R2Titanfall` as [launch options](https://r2northstar.gitbook.io/r2northstar-wiki/installing-northstar/troubleshooting#launch-opts) to Titanfall 2 on Steam or EA, then launch Titanfall 2 from Steam or EA (recommended, as this will count hours and achievements, where as a `.bat` won't)
30+
6a.) Add `-northstar -vanilla -profile=R2Titanfall` as [launch options](https://r2northstar.gitbook.io/r2northstar-wiki/installing-northstar/troubleshooting#launch-opts) to Titanfall 2 on Steam or EA, then launch Titanfall 2 from Steam or EA (recommended, as this will count hours and achievements, where as a `.bat` won't)
3331

3432
6b.)
3533
- Create a file called `R2Titanfall.txt` in your `Titanfall2` folder, then put the following text in:
3634
```
37-
start NorthstarLauncher.exe -norestrictservercommands -profile=R2Titanfall
35+
NorthstarLauncher.exe -northstar -vanilla -profile=R2Titanfall
3836
```
3937
- Now save it and rename it to `R2Titanfall.bat`
4038

@@ -52,4 +50,4 @@ For both ways, remember to also download dependencies listed in the mod page (ig
5250

5351
1.) Download the [latest GitHub Release](https://github.com/Zayveeo5e/NP.VanillaPlus/releases/latest) and unzip it, then put the files from that zip in your `Titanfall2` folder (where the `Titanfall2.exe` is)
5452

55-
2.) Double click `R2Titanfall.bat` to play Vanilla+. Open the EA App first if you use this method, otherwise it most likely won't work
53+
2.) Double click `R2Titanfall.bat` to play Vanilla+. Open the EA App first if you use this method, otherwise it most likely won't work

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2.4
2+
- Update VanillaPlus to use `-vanilla` as `-norestrictservercommands` is deprecated
3+
- Remove DT fov mod warning
4+
- Clean up some unused code
5+
- Fix core mod warning not going away
6+
17
2.3
28
- Re-add files to make mods such as Khalmee's Speech Bubbles work
39
- Fix error introduced by plugins v3 in Northstar

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "VanillaPlus",
3-
"version_number": "2.3.0",
3+
"version_number": "2.4.0",
44
"website_url": "https://github.com/Zayveeo5e/NP.VanillaPlus",
5-
"description": "Modified Northstar.Client to load Client-Side mods on Vanilla servers",
5+
"description": "THIS MOD HAS SPECIAL INSTALL INSTRUCTIONS IN THE DESCRIPTION, PLEASE READ THEM. Modified Northstar.Client to load Client-Side mods on Vanilla servers",
66
"dependencies": []
77
}

mods/NP.VanillaPlus/mod.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@
22
"Name" : "VanillaPlus",
33
"Description": "A stripped down and modified Northstar.Client mod that allows for client-side mod loading on official Respawn servers\n\nMade by Nanohm, remastered by Cyn",
44
"LoadPriority": -1,
5-
"Version": "2.3",
5+
"Version": "2.4",
66

77
"Dependencies": {
8-
"HAS_CLIENT": "Northstar.Client",
9-
"HAS_CUSTOM": "Northstar.Custom",
10-
"HAS_CUSTOMSERVERS": "Northstar.CustomServers",
118
"HAS_MORESKINS": "MoreSkins-",
12-
"HAS_DTFOV": "Max.DoubleTakeIronsightFOVFix",
139
"HAS_FRAMEWORK": "Peepee.TitanFramework"
1410
},
1511

mods/NP.VanillaPlus/mod/scripts/vscripts/client/ns_cl_chat.gnut

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
untyped
2-
#if !HAS_CLIENT && !HAS_CUSTOM && !HAS_CUSTOMSERVERS
2+
#if VANILLA
33
// because we want Northstar to do its thing
4-
// if the user has core mods
4+
// only run if in vanilla compatibility
55

66
// taken directly from Northstar.Client
77

mods/NP.VanillaPlus/mod/scripts/vscripts/northstar_safe_io.gnut

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#if !HAS_CLIENT && !HAS_CUSTOM && !HAS_CUSTOMSERVERS
1+
#if VANILLA
22
// because we want Northstar to do its thing
3-
// if the user has core mods
3+
// only run if in vanilla compatibility
44

55
// this file is taken directly from Northstar.Custom
66

mods/NP.VanillaPlus/mod/scripts/vscripts/ns_custom_codecallbacks_client.gnut

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
untyped
2-
#if !HAS_CLIENT && !HAS_CUSTOM && !HAS_CUSTOMSERVERS
2+
#if VANILLA
3+
// because we want Northstar to do its thing
4+
// only run if in vanilla compatibility
35

46
global function AddCallback_OnReceivedSayTextMessage
57

@@ -143,4 +145,4 @@ void function AddCallback_OnReceivedSayTextMessage( ClClient_MessageStruct funct
143145
{
144146
NsCustomCallbacksClient.OnReceivedSayTextMessageCallbacks.append(callbackFunc)
145147
}
146-
#endif
148+
#endif

mods/NP.VanillaPlus/mod/scripts/vscripts/presence/ns_cl_presence.nut

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
untyped
2-
#if !HAS_CLIENT && !HAS_CUSTOM && !HAS_CUSTOMSERVERS
2+
#if VANILLA
3+
// because we want Northstar to do its thing
4+
// only run if in vanilla compatibility
35

46
globalize_all_functions
57

mods/NP.VanillaPlus/mod/scripts/vscripts/presence/ns_ui_presence.nut

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
untyped
2-
#if !HAS_CLIENT && !HAS_CUSTOM && !HAS_CUSTOMSERVERS
2+
#if VANILLA
3+
// because we want Northstar to do its thing
4+
// only run if in vanilla compatibility
35

46
globalize_all_functions
57

mods/NP.VanillaPlus/mod/scripts/vscripts/ui/check_mods.nut

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,22 @@ global function CheckModsVanillaPlus_Init
66

77
void function CheckModsVanillaPlus_Init()
88
{
9+
// this is just to wait a frame so the game doesn't get upset
910
thread CheckForMods()
1011
}
1112

1213
void function CheckForMods()
1314
{
1415
WaitFrame()
1516

16-
if (HAS_CLIENT || HAS_CUSTOM || HAS_CUSTOMSERVERS) {
17-
if(GetConVarInt("core_remind") == 1) {
18-
CoreMods()
19-
}
20-
else return
17+
if (!VANILLA) {
18+
// Prints an error if the user isn't in vanilla compatibilty mode
19+
// Mostly to be used with Spectre log reading later (hence the 0)
20+
printt("VanillaPlus Error 0: Not in vanilla compatibility mode")
21+
if (GetConVarInt("core_remind") == 1) CoreMods()
2122
}
2223

23-
else if (HAS_MORESKINS || HAS_DTFOV || HAS_FRAMEWORK) {
24+
else if (HAS_MORESKINS || HAS_FRAMEWORK) {
2425
OtherMods()
2526
}
2627
}
@@ -30,11 +31,6 @@ void function OtherMods()
3031
DialogData warnDiag
3132
warnDiag.header = "Some mods you have installed don't work with VanillaPlus!"
3233

33-
if (HAS_DTFOV) {
34-
ClientCommand("mod_remind 1")
35-
warnDiag.message = "You have Double Take FOV installed!\n\nDouble Take FOV simply doesn't get changed on Vanilla. It won't stop the game from working, but it won't do anything"
36-
}
37-
3834
if (HAS_MORESKINS) {
3935
ClientCommand("mod_remind 1")
4036
warnDiag.message = "You have moreskins installed!\n\nThis won't break VanillaPlus, but it won't work on vanilla! Your skins equipped using it will automatically unequip"
@@ -55,17 +51,17 @@ void function OtherMods()
5551
}
5652

5753
void function CoreMods()
58-
{
54+
{
5955
DialogData coreModWarnDiag
60-
coreModWarnDiag.header = "Northstar core mods installed!"
56+
coreModWarnDiag.header = "Not using vanilla compatibiltiy mode!"
6157

62-
coreModWarnDiag.message = "You have core mods installed!\n\nVanillaPlus requires that you follow it's instructions properly to install it!\n\nIgnoring will continue to Northstar servers!"
58+
coreModWarnDiag.message = "You aren't using Northstar's vanilla compatibility mode!\n\nVanillaPlus requires that you follow it's instructions properly to install it!\n\nIgnoring will continue to Northstar servers!"
6359

6460
coreModWarnDiag.image = $"ui/menu/common/dialog_error"
6561
AddDialogButton(coreModWarnDiag, "Go to instructions", void function(){
6662
LaunchExternalWebBrowser("https://northstar.thunderstore.io/package/NanohmProtogen/VanillaPlus/", WEBBROWSER_FLAG_FORCEEXTERNAL); ClientCommand("uiscript_reset"); ClientCommand("core_remind 0")
6763

6864
})
69-
AddDialogButton(coreModWarnDiag, "No thanks", void function(){ClientCommand("uiscript_reset"); ClientCommand("core_remind 0")})
65+
AddDialogButton(coreModWarnDiag, "Continue to Northstar servers", void function(){ClientCommand("uiscript_reset"); ClientCommand("core_remind 0")})
7066
OpenDialog(coreModWarnDiag)
7167
}

0 commit comments

Comments
 (0)