Difference between revisions of "Gaining familiarity with mods on KeeperRL"

From KeeperRL Wiki
Jump to: navigation, search
m (Set your own targets)
m (Suggestions for simple changes to campaign_villains.txt)
Line 88: Line 88:
  
 
==Suggestions for simple changes to campaign_villains.txt==
 
==Suggestions for simple changes to campaign_villains.txt==
Locate campaign_villains.txt. It should like like [[Campaign_Villains.txt|this]]
+
Locate campaign_villains.txt. It should like like [https://github.com/miki151/keeperrl/blob/master/data_free/game_config/campaign_villains.txt this]
  
 
===Remove green dragons from keeper campaigns===
 
===Remove green dragons from keeper campaigns===

Revision as of 12:55, 17 September 2020

Modding tutorial for KeeperRL (Overview)

  • The first recommendation is to get familiar with the existing modding system on KeeperRL
  • There are two types of mod on KeeperRL
    • Local mods (Edit the official game files locally) - Can't be uploaded onto the Web. Easier to learn for beginners.
    • Web mods (Write new mod files that modify, replace or append to the official game files) - Slightly tougher but you can upload them for other players to use.
  • Make some simple changes to the vanilla files, that is the official files (Try some of the suggestions below) and test the changes. Vanilla configs are found under "KeeperRL\datafree\gamedata\*.txt"
Note, when changing vanilla configs you need to back them up in case you damage them
  • After learning to do local mods, install some existing Web Mods
  • Test them
  • Start writing your own Web mods

Suggestions for simple changes to workshops_menu.txt

Locate workshops_menu.txt. It should look like this linked file, which is found in the vanilla configs folder.

Remove wooden staffs from the workshop

Delete the line containing:

WoodenStaff

under the

"basic"
{
 "WORKSHOP"

section.

Reduce the cost of golden staffs

In the line containing

GoldenStaff

under the

"basic" section under the
  "FORGE" subsection

change the numbers in that line.

Sell rings of invisibility instead of wakefulness

Change the line containing

RESTED

in the

"JEWELER" sub section.

Change it to

INVISIBLE

Change the conversion exchange rate for resources

In the

"LABORATORY" section

experiment with changing the numbers (hint: look for the lines mentioning alchemical conversion).

Suggestions for simple changes to technology.txt

Locate technology.txt. It should like like this

Include a mention of heavy wooden clubs for the two-handed weapon tech

Change the line containing

two-handed weapons

and edit the description text.

Remove the requirement for researching advanced sorcery before demonology

Change the line containing:

"demonology"

and delete this part:

{"advanced sorcery"}

Suggestions for simple changes to player_creatures.txt

Make it impossible for mages to get the archery technology

Change lines for evil keepers containing:

"archery"

Remove the text

"archery"

Remove female adventurers

In the

# Adventures

section at the bottom delete this text:

ADVENTURER_F

Suggestions for simple changes to immigration.txt

Locate immigration.txt. It should like like this

Allow recruitment of gnomes

Find the

"dark_keeper"

section. Look at the block where:

ids = { "GOBLIN" }

Change it to:

ids = { "GOBLIN" "GNOME" }

Recruiting all goblins without any insanity

In that section, remove the text:

Lasting { INSANITY }

Wherever it is found.

Suggestions for simple changes to campaign_villains.txt

Locate campaign_villains.txt. It should like like this

Remove green dragons from keeper campaigns

Delete the whole of the Line containing the text:

GREEN_DRAGON

Remove red dragons from keeper campaigns

  1. Delete the whole of Line containing the text:
RED_DRAGON

Suggestions for simple changes build_menu.txt

Locate build_menu.txt. It should like like this

Make it free to fill in stone blocks

On line filling in blocks change the text:

STONE 5

to

STONE 0

Allow building of iron training rooms without the iron working tech

On line for building iron dummies remove the text:

TechId "iron working"

Set your own targets

  • Now set yourself some simple targets for local modding.
  • After that, download a web mod and try and understand how it works.
  • After that hack the web mod (You can hack any of mine, I don't mind - SoftMonster 17.09.2020)
  • After that write your own web mod from scratch and upload it for the player community to show you the respect you deserve!

Good luck!

Softmonster 17.09.2020 (Alpha 30)