Entity Script for HL2 Games, Aiming to bring a GMOD-like Experience in Original HL2
(1) Create a new folder named as ent
in [MOD_NAME]/cfg
, for example hl2/cfg
, episodic/cfg
, ep2/cfg
.
(2) Put all the files into the ent
folder.
(3) Run the game, enter a map, aim at ground, in console enter exec ent/[SCRIPT_FILENAME]
, the .cfg
suffix is not required.
Note #1: for some scripts, you may need to noclip
to the mid air and aim directly down to the ground, then exec
the script. Otherwise, the relative positions between the entities in the script may not be correct.
Note #2: for most of the scripts, one script can be run ONLY ONCE in a map or saved game. Do NOT RUN A SINGLE SCRIPT FOR MULTIPLE TIMES IN A MAP OR SAVED GAMES. Otherwise the newly spawned entities by the script may not be working. This is because the entity name of them are the same. And custom enetity scripts do not have dynamic-naming feature. You have to make a copy of the .cfg
file and change their entity names, if you want to have more group of the entities in the script.\
脚本作者为pulsarfield,作者本人在Bilibili视频网的主页是:https://space.bilibili.com/1561286759 这个B站up主和本github repo是同一人,脚本皆为作者自己制作,并非搬运/盗取!请某些人(冒犯者的b站ID在这里已删除,暂且原谅他一次)不要诬陷!不要戾气太重!