Modding: code plugin to remove hostile claims

Politics, religion, war. They are nothing without a legacy that can stand the test of time. Lead any nation, and turn it into a mighty kingdom in one of the most compelling grand strategy games ever created.

Moderator: FOGK Moderators

Post Reply
Pocus
Ageod
Ageod
Posts: 7044
Joined: Tue Oct 02, 2012 3:05 pm

Modding: code plugin to remove hostile claims

Post by Pocus »

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.
EventPlugin0.zip
(781 Bytes) Downloaded 57 times
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.
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
eddieballgame
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 651
Joined: Mon Dec 17, 2012 2:53 am

Re: Modding: code plugin to remove hostile claims

Post by eddieballgame »

Thank you!
Surt
General - King Tiger
General - King Tiger
Posts: 3958
Joined: Thu May 21, 2020 9:50 pm

Re: Modding: code plugin to remove hostile claims

Post by Surt »

Pocus wrote: Sat Jun 15, 2024 10:05 am THIS IS ONLY FOR SINGLE PLAYER. DO NOT USE IN MULTIPLAYER.
Lets just repeat this.
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
Post Reply

Return to “Field of Glory: Kingdoms”