Added readme with installation guidelines
This commit is contained in:
36
README.md
Normal file
36
README.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Porning CS2 plugin
|
||||
The official plugin of Porning's CS2 server
|
||||
|
||||
# Installation
|
||||
### Installing Metamod
|
||||
Download the latest version [here](https://www.metamodsource.net/downloads.php/?branch=master).
|
||||
Extract the files and copy the `/addons/` directory into `/game/csgo/`. \
|
||||
Modify `/game/csgo/gameinfo.gi` as such by adding `Game csgo/addons/metamod`:
|
||||
```cs
|
||||
FileSystem
|
||||
{
|
||||
SearchPaths
|
||||
{
|
||||
Game_LowViolence csgo_lv // Perfect World content override
|
||||
|
||||
Game csgo/addons/metamod
|
||||
|
||||
Game csgo
|
||||
Game csgo_imported
|
||||
Game csgo_core
|
||||
Game core
|
||||
```
|
||||
### Installing CounterStrikeSharp
|
||||
Download the latest version with runtime [here](https://github.com/roflmuffin/CounterStrikeSharp/releases). \
|
||||
Extract the files and copy them into `/addons/`.
|
||||
### Installing Porning
|
||||
Clone the latest version of the repository. \
|
||||
Modify `plugin.csproj` by changing the directory used to copy the output files of the plugin.
|
||||
```cs
|
||||
<Target Name="CopyAllOutputAfterBuild" AfterTargets="AfterBuild">
|
||||
<ItemGroup>
|
||||
<MyOutputFiles Include="$(TargetDir)**\*.*" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(MyOutputFiles)" DestinationFolder="$SERVER_LOCATION$/game/csgo/addons/counterstrikesharp/plugins/plugin/%(RecursiveDir)" />
|
||||
</Target>
|
||||
```
|
||||
Reference in New Issue
Block a user