mirror of
https://github.com/fortressforever/fortressforever-models.git
synced 2024-11-09 23:11:33 +00:00
Add details of player_shared compile.bat
This commit is contained in:
parent
59f4d03a45
commit
74eb1a6879
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
For more information about studiomdl, see https://developer.valvesoftware.com/wiki/Studiomdl
|
||||
|
|
Loading…
Reference in a new issue