Garry's Mod

Garry's Mod

68 ratings
Black Mesa Reentify
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Realism
File Size
Posted
Updated
7.883 KB
12 Sep, 2022 @ 2:33am
16 Sep, 2022 @ 9:41am
5 Change Notes ( view )

Subscribe to download
Black Mesa Reentify

Description
BMS Reentify
A simple tool which adds entities back into Black Mesa maps.

Configuration
Can be configured via
GarrysMod/garrysmod/data/bms-reentify.json

Documentation regarding entity names can be found HERE and for supplies HERE


bmsNPCList
- Usage:
key = BMS name | val = entity to spawn

- Relevance: Instead of plain spawning it registers an entity based on
val
with the ClassName
key
. This allows the maps to set specific entity-data.

bmsSimpleSpawnList
- Usage:
key = BMS name | val = entity to spawn, table( key = entkvname - val = stringData )

- Relevance: This list is mostly used for items. It places the items manually, unlike above. The user is able to
set entity key-value-pairs via the table. Documentation regarding key-value pairs of e.g. the combine can be found HERE in the
KeyValues
section (list after the to-spawn classname).

- Tools: The
KeyValues
section also allows has some placeholder features (can't be used alongside other strings).
Usage example can be found in the config (e.g. item_crate, npc_human_grunt).
Currently supported:
1.
random <min> <max>
: Chooses a random number from
<min>
to
<max>
2.
randChoice <string1> <string2> ...
: Chooses a random string from from the ones provided.

Notes
An annoying side-effect of Black mesa maps is the fact that many scripted events will probably still not work (Cutscenes, whatever)

This addon does not depend on VJ's addon, however, the stock configuration does. It also depends on Half Life 1 source or Half Life Deathmatch: Soure


Thanks Nik for your awesome BSP parser! <3

Source: https://chonkyrabbit.eu/git/BMS-Reentify.git/about/
18 Comments
Rhy_Breλd 5 Mar, 2023 @ 6:55pm 
the npcs are there but the pre disaster scientists are post disaster scientists
sysfs  [author] 16 Feb, 2023 @ 12:33am 
Not quite, I'm just currently not playing BMS maps.

You can fork it if you want :shrug:
saturn 14 Feb, 2023 @ 3:54pm 
It's been a literal year, is this dead?
BenL4D2 25 Jan, 2023 @ 9:09am 
it used to work and it doesn't anymore
Ozziey 5 Oct, 2022 @ 1:24am 
Does anyone want to share their working json file which makes the campaign complete or almost complete if anyone has it?
Jariner 26 Sep, 2022 @ 11:35pm 
oof, atleast we can somewhat make them have that specific entity name by using ent_setname
sysfs  [author] 26 Sep, 2022 @ 9:15am 
Guess what I tried ;)

It turns out to be much harder than expected to let the map spawn the entities while also parsing the entities from the map file and then applying the parsed KVs from the parsed map file to the entities. For some reason some entities are not where they are supposed to be or other sutff resulting in some entities just not receiving their KVs.

I don't quite know if I want to sacrifice map-triggered spawns. I should just try out the alternative
Jariner 25 Sep, 2022 @ 6:22am 
also about the "scripted sequences", most can be fixed by renaming the npcs that are intended to have a specific entity name, like for example, the guard at the start of "bm_c1a0a" can be named to "GRD00_Door" and the scripted sequence will function properly
Jariner 25 Sep, 2022 @ 6:20am 
i never thought id actually see a working port of black mesa (steam version) to gmod