Compare commits
2 Commits
b0669c4f4d
...
7063f3fd82
| Author | SHA1 | Date | |
|---|---|---|---|
| 7063f3fd82 | |||
| 49ef8a55c0 |
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>
|
||||||
|
```
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<MyOutputFiles Include="$(TargetDir)**\*.*" />
|
<MyOutputFiles Include="$(TargetDir)**\*.*" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Copy SourceFiles="@(MyOutputFiles)" DestinationFolder="/games/cs2-server//game/csgo/addons/counterstrikesharp/plugins/plugin/%(RecursiveDir)" />
|
<Copy SourceFiles="@(MyOutputFiles)" DestinationFolder="/games/cs2-server/game/csgo/addons/counterstrikesharp/plugins/plugin/%(RecursiveDir)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user