Modding: code plugin to remove hostile claims
Posted: Sat Jun 15, 2024 10:05 am
				
				Some players would like something that would remove hostile distant claims in advance of the Public Beta Patch (on Steam). Here is a small file that you only need to drop in the proper location so it does its magic.
THIS IS ONLY FOR SINGLE PLAYER. DO NOT USE IN MULTIPLAYER.
It will not work in MP, but you'll still get a warning your version is different from the other players. If you proceed, you invalidate the game for everyone.
What does it do:
It will remove all hostile distant claims and will have a 20% chance per turn to remove any hostile claim. This 20% can be easily edited with a text editor if you want to change it.
V1.01 will have the following entries relative to Hostile claims:
- A nation will not add a hostile claim if not a neighbor.
- Authority penalty from Hostile Claim only triggers in Experienced+ difficulty.
The plugin, being a plugin, is unable to prevent the current rules from triggering, so it tries 'fixing' them afterward, every turn.
1. **Open the Archive:**
- Locate the file `EventPlugin0.zip` on your computer.
- Right-click on the file and select `Extract All...` or use your preferred file extraction software.
- Extract the file `EventPlugin0.BSF` from the archive.
2. **Navigate to the Game Directory:**
- Open the folder where your game is installed.
- Go to the following path:
```
<game install path>\Scenarios\1054_GrandCampaign\DATA\SCRIPTS
```
3. **Move the File:**
- Take the extracted `EventPlugin0.BSF` file.
- Drag and drop it into the `SCRIPTS` folder in the path mentioned above.
This procedure should help you place the file in the correct location without any issues.
			THIS IS ONLY FOR SINGLE PLAYER. DO NOT USE IN MULTIPLAYER.
It will not work in MP, but you'll still get a warning your version is different from the other players. If you proceed, you invalidate the game for everyone.
What does it do:
It will remove all hostile distant claims and will have a 20% chance per turn to remove any hostile claim. This 20% can be easily edited with a text editor if you want to change it.
V1.01 will have the following entries relative to Hostile claims:
- A nation will not add a hostile claim if not a neighbor.
- Authority penalty from Hostile Claim only triggers in Experienced+ difficulty.
The plugin, being a plugin, is unable to prevent the current rules from triggering, so it tries 'fixing' them afterward, every turn.
1. **Open the Archive:**
- Locate the file `EventPlugin0.zip` on your computer.
- Right-click on the file and select `Extract All...` or use your preferred file extraction software.
- Extract the file `EventPlugin0.BSF` from the archive.
2. **Navigate to the Game Directory:**
- Open the folder where your game is installed.
- Go to the following path:
```
<game install path>\Scenarios\1054_GrandCampaign\DATA\SCRIPTS
```
3. **Move the File:**
- Take the extracted `EventPlugin0.BSF` file.
- Drag and drop it into the `SCRIPTS` folder in the path mentioned above.
This procedure should help you place the file in the correct location without any issues.