Modification for the game Atom RPG
Unpack that archive to the game folder
- Unpack that archive to the game folder
- Build and copy mod's DLL to the game folder\Mods\NuclearEdition
- Open AtomRPG.NuclearEdition.csproj via text editor
- Change "W:\Steam\steamapps\common\ATOM RPG" to your own game path
- Build in Visual Studio 2017/2019
- Resolve game path via Windows Registry
- Switch between allies in the barter window
Open a barter window with an NPC or partner. Press D (Camera Right) to display the inventory of the next ally on the left side of the screen. Press A (Camera Left) to return to the previous one. The list is looped. A vehicle is only available if it is located in the same location as you. The name of the current character will be displayed in the middle of the screen.
- Sale of surplus
Open a barter window with an NPC. Select items to purchase (this is mandatory) worth 20 rubles or more. Press Alt+A (Highlight + Camera Left) to automatically select items of comparable value from the party inventory. As in the previous case, the vehicle inventory will only be available if the vehicle is located on the same map as you. Items for sale are selected automatically based on heuristic analysis. You must complete the sale yourself - the algorithm only selects items for sale, but does not complete the transaction.
- Aggregation of loot from corpses
Open the inventory of the dead character. Items of all dead characters within a radius of 20 cells from looting character will be displayed on the right side of the screen. You can take all or some of these items.
- Better highlight of dead bodies and containers
Changed highlight color of environment objects. Locked containers or doors - Violet. Empty containers or corpses - Gray.
- Auto-lockpick
Hold Alt (Highlight) and click on a locked container or door to send a character with maximum skill of lock picking.
- Display hit chances without movement
In battle, hold Alt (Highlight) to display the hit chance of the current weapon for each visible enemy.
- Fast traveling without a vehicle
On world map, hold Alt (Highlight) to increase the movement speed. It will also increase hunger depending on the weight being carried. The speed depends on the stats.
Speed increase factor: 1 + (0.3 * Str + 0.5 * End + 0.7 * Agi) / 5
Hunger increase factor: 2 + Weight / MaxWeight
Since we cannot control the characteristics of our partners, only the parameters of the main character are used.
string modsFolder = Path.GetFullPath("Mods");
if (Directory.Exists(modsFolder))
{
Debug.Log("Looking for mods (" + modsFolder + ")...");
foreach (string fileName in Directory.GetFiles(modsFolder, "*.dll", SearchOption.AllDirectories))
{
Debug.Log("Found assembly (" + fileName + "). Looking for entry points...");
try
{
foreach (Type type in Assembly.LoadFrom(fileName).GetTypes())
{
if (type.Name == "ModEntryPoint")
{
Debug.Log("Found entry point (" + type.FullName + "). Initializing...");
GameObject gameObject = new GameObject(fileName + "_" + type.FullName);
gameObject.AddComponent(type);
Object.DontDestroyOnLoad(gameObject);
}
}
}
catch (Exception ex)
{
Debug.LogError(string.Format("Failed to load assembly {0}. Error: {1}", fileName, ex));
}
}
}
else
{
Debug.Log("Mods directory is not exists (" + modsFolder + ")");
}