Add details of player_shared compile.bat

This commit is contained in:
Mike Parker 2016-06-08 23:02:52 +01:00
parent 59f4d03a45
commit 74eb1a6879

View file

@ -18,6 +18,8 @@ The model source files of Fortress Forever
## Compiling a Model ## 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. 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: Example commands to compile the tranquilizer viewmodel: