Skip to content

Commit

Permalink
Introduce Solar.dll and Improvements to NPC (#418)
Browse files Browse the repository at this point in the history
Tons of checks now to make sure that bad spawns won't crash the plugin
Better feedback in the console when things go wrong
New plugin Solar Control which works like NPC Control but for Solars

---------

Co-authored-by: Oliver Pechey <olliezeta9@gmail.com>
  • Loading branch information
IrateRedKite and oliverpechey authored Apr 22, 2024
1 parent 17d49f0 commit 2761cbb
Show file tree
Hide file tree
Showing 11 changed files with 1,060 additions and 298 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 4.0.28
- Improve checks for spawning NPCs
- Implement 'Solar Control': Spawn solars and formations of solars via admin command.

## 4.0.27
- Improved functionality of loot tables plugin: weights & drop counts are now more customisable, reverted to weight based system instead of percentages.

Expand Down
27 changes: 27 additions & 0 deletions include/FLHook.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,33 @@ struct DLL FLHookConfig final : Reflectable, Singleton<FLHookConfig>
uint antiBaseIdle = 600;
//! Amount of time spent idly on character select screen resulting in a server kick, in seconds.
uint antiCharMenuIdle = 600;
//! Bases that beam commands will not work for
std::vector<std::string> noBeamBases = {"br_m_beryllium_miner",
"[br_m_hydrocarbon_miner]",
"[br_m_niobium_miner]",
"[co_khc_copper_miner]",
"[co_khc_cobalt_miner]",
"[co_kt_hydrocarbon_miner]",
"[co_shi_h-fuel_miner]",
"[co_shi_water_miner]",
"[co_ti_water_miner]",
"[gd_gm_h-fuel_miner]",
"[gd_im_oxygen_miner]",
"[gd_im_copper_miner]",
"[gd_im_silver_miner]",
"[gd_im_water_miner]",
"[rh_m_diamond_miner]",
"intro3_base",
"intro2_base",
"intro1_base",
"st03b_01_base",
"st02_01_base",
"st01_02_base",
"iw02_03_base",
"rh02_07_base",
"li04_06_base",
"li01_15_base"};
std::vector<uint> noBeamBasesHashed = {};
};

struct Plugins final : Reflectable
Expand Down
200 changes: 0 additions & 200 deletions plugins/dynamic_missions/DynamicMissions.vcproj

This file was deleted.

Loading

0 comments on commit 2761cbb

Please sign in to comment.