Skip to content

Commit

Permalink
playing w/ precaching
Browse files Browse the repository at this point in the history
  • Loading branch information
dudleycodes committed Dec 9, 2023
1 parent 08027d4 commit a18e302
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions dist/default.pre
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
precache_file models/player/terror/aquaman.mdl
precache_file models/player/terror/Bender.mdl
7 changes: 3 additions & 4 deletions linux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ COPY --chown=GoldSource:root ./amxmodx/amxmodx_base /app/valve/addons/amxmodx

COPY --chown=GoldSource:root ./amxmodx/amxmodx_ll-config /app/valve/addons/amxmodx

RUN echo "precache.amxx" >> /app/valve/addons/amxmodx/configs/plugins.ini &&`
touch /app/valve/addons/amxmodx/configs/precache/default.pre &&`
echo "precache_file models/player/terror/aquaman.mdl" >> /app/valve/addons/amxmodx/configs/precache/default.pre &&`
echo "precache_file models/player/terror/Bender.mdl" >> /app/valve/addons/amxmodx/configs/precache/default.pre
RUN echo "precache.amxx" >> /app/valve/addons/amxmodx/configs/plugins.ini

COPY --chown=GoldSource:root ./dist/default.pre /app/valve/addons/amxmodx/configs/precache/default.pre

COPY --chown=GoldSource:root ./dist /app

Expand Down

0 comments on commit a18e302

Please sign in to comment.