\
) for path separators instead of forward slashes (/
). For an innate resource (e.g. an NPC's innate model), it could mean the file is corrupt or missing requiring you to fix the game/mod's installation.
model
value for brush entities, can cause precache errors (i.e. the resources are not precached before being used) which can lead to a crash. The remedy is to have an entity further up the entity list that precaches the resource for it. An env_sprite
or ambient_generic
entity works well for this. To ensure these entities are further up the entity list from the entities that want to use them, simply cut the latter entity in the map editor, and then paste them at the same spot. But a more robust solution is to use the zhlt_usemodel
keyvalue if both precaching and non-caching uses the model
keyvalue; this ensures that the precaching entity is always listed before any entity using its model.
You must log in to post a comment. You can login or register a new account.