-
Notifications
You must be signed in to change notification settings - Fork 0
Home
NOTE: This wiki might have portions that end up becoming out of date with future releases! Or I may have simply forgotten to document some minor features that were added before the making of the wiki. Also, this wiki does NOT list almost any technical info on how the marines' code works.
Smart Marines are a drop in mod resource for mapsets and mods, that adds a very smart marine NPC, among a few other things, (And more NPCs in the future) to GZDoom.
Unlike vanilla Doom monsters, they move and behave VERY differently, running away from danger, dodging, taking cover, climbing, crouching, healing allies, and much more.
This wiki serves as a reference for all the noteworthy features that the marines have. With some details on how they work (i.e marines will determine how far to run away from an enemy based on how dangerous they are).
All the CVARs available for the mod.
By default, the mod turns on +DOSHADOWBLOCK on monsters that don't have it on, this is needed to make the smoke grenades work on all monsters.
Makes the marines use a dumber, and hopefully slightly faster, purely math based algorithm for determining what fire mode to use given the enemies' size and distance.
Makes the marines' flashbangs play the high pitched tinnitus sound that is so common in games. On by default, can be turned off if it's too painful and/or annoying.
Make sure to read the wiki, that's what it's for.
They're mainly supposed to be a resource for mappers and modders to use in their projects, however I do plan to make an official addon that uses them as a gameplay mod at some point in the future. But if you wanna use them as a gameplay mod in the meantime, you could spawn them through the console.
To load the marines, you first need to download the KAI, and use whatever release version is suggested in the release page for the marine version you're using. After you have both the right marine and library versions, you just need to load them both together, with the library being loaded first in the load order.
To use the marines on your maps, you just need to load the KAI and marines as resources in UDB. Read the wiki for information like what user variables they have and how you can wrangle them. For non-map mods, well it's really up to you for specifics. But generally I'd suggest keeping the marines separate from your project, particularly if you don't plan on making any changes or anything.
Make sure you are even loading the KAI library if you aren't. If you are, chances are that the problem is that it's loaded AFTER the marines, so make sure that the library is loaded first.
Make sure that you are using at least GZDoom 4.12, preferably whatever the latest release or even dev build are. This is caused because you're using a pre-4.12 version, before Visual Thinkers were added.