RPG System


This mod adds a basic RPG system to the game (XP, level-up and skills)

a month ago
0.16 - 2.0
121K
Owner:
MFerrari
Source:
N/A
Homepage:
https://discord.gg/vDfm5tNEqK
License:
GNU GPLv3
Created:
6 years ago
Latest Version:
2.0.4 (a month ago)
Factorio version:
0.16 - 2.0
Downloaded by:
121K users

This mod adds an RPG system to the game, which distributes XP (experience) among the players of a team. Compatible with other mods and scenarios that create new forces.

Team XP

  • Kill an alien by tower defense (based on the amount of its health and enemy evolution factor)
  • By researched technologies (based on the cost of technology X enemy evolution factor)
  • By rockets launched

Players XP

  • Mine trees or rocks
  • Kill biters directly

Notes:

  • Only online players receive XP
  • Negative XP on player death
  • Player Tag editor included

Mod Settings:

XP Table Construction: 100 levels
Configure the XP required to pass the first level, the Multiplier and the multiplier Reductor
Formula for the next levels = Previous XP * (Multiplyer - Level * (reductor-reductor*Level/100))
So, if the first XP level is 600, multiplier 1.61 and reductor 0.023, the second level will be 939, the third 1449...
(DON'T CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING)

It is possible to integrate with other mods, using interface "RPG", which allows to give or take XP from players or teams. For compatibility with other mods that also alters character status, this mod raises 2 events that may help. See control.lua for details. Other mods may also give XP Potions to players as reward or loot.

You can use these commands in the chat console:
/rpg-players-list = list all players current level and time played
/rpg-reset-points = (only form admins) - reconstruct XP table and reset all habilities to zero, so players can spent all points again
/rpg-reset-all = (only form admins) - reconstruct XP table and reset everything to zero, as a new game
/rpg-listXPTable = print the first levels of the XP Table

Check the mod in action in the great review from JD-Plays (on an early version of the mod)
https://www.youtube.com/watch?v=Mw5_kpyL-AU


CREDITS

  • MFerrari
  • snouz (1.1 RPG window redesign, mod icon)