From 74eb1a68799a0ca5b31961600871b38d4199fad1 Mon Sep 17 00:00:00 2001 From: Mike Parker Date: Wed, 8 Jun 2016 23:02:52 +0100 Subject: [PATCH] Add details of player_shared compile.bat --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23d9509..1c7cddb 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ The model source files of Fortress Forever ## Compiling a Model +If compiling the player models, simply run compile.bat inside `player\ff_player_shared\compile` and check the output for where Source SDK has put the resulting file. + To compile a model, use `studiomdl.exe` found in `Steam/steamapps/common/SourceSDK/bin/ep1/bin`. When you launch Source SDK (see setup instructions), an environment variable named `SourceSDK` will get set to the `Steam/steamapps/common/SourceSDK` directory path, so you can use `%SourceSDK%/bin/ep1/bin/studiomdl` as a shortcut to studiomdl that will work across different machines. Example commands to compile the tranquilizer viewmodel: @@ -29,4 +31,4 @@ cd weapons/tranq/viewmodel Assuming you followed the setup instructions above, the compiled models will be output into the `Steam/steamapps/common/Fortress Forever/sdk` directory (**not** into the main mod directory), so you'll need to copy the newly compiled files into `Steam/steamapps/common/Fortress Forever/FortressForever` -For more information about studiomdl, see https://developer.valvesoftware.com/wiki/Studiomdl \ No newline at end of file +For more information about studiomdl, see https://developer.valvesoftware.com/wiki/Studiomdl