mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-12 14:57:56 +03:00
Expanded coding section
parent
47a2a79e2e
commit
f2cf257100
@ -26,7 +26,19 @@ Mapbase runs with modified versions of Source 2013's shaders. These modified ver
|
||||
|
||||
## Coding
|
||||
|
||||
If you are planning on using custom code, you could just clone this repo or download it onto your computer and work as normal. DLLs placed in your mod's `bin` folder will override the stock Mapbase DLLs it draws from. However, you need to have `discord_rpc.dll` in the same folder as `client.dll` at all times. This is a limitation with the way it is implemented and cannot be fixed easily.
|
||||
If you are using an existing mod with existing custom code, it *must* be a Git repo that is forked from the original Source SDK 2013 repository run by Valve in order to merge Mapbase's code automatically. Code based off of .ZIP downloads or other methods unrelated to Git cannot take advantage of Git to merge Mapbase's code. If you do not know how to use Git, or you are not aware of what Git is, I highly recommend reading up on it if you are a programmer.
|
||||
|
||||
If your repo is not eligible for automatically merging Mapbase's code, you will need to either manually bring Mapbase's code to your repo or bring all of your code to Mapbase's repo. I highly recommend moving your own code to a Git-based fork of Source 2013 so you could not only do the automatic Mapbase merge, but also take advantage of Git's other features.
|
||||
|
||||
---
|
||||
|
||||
If you are creating a new mod that is going to use custom code, I highly recommend cloning this repo with Git rather than downloading it as a .ZIP. This will allow you to update your code when Mapbase updates and allows you to take advantage of Git's other benefits. If you do not know how to use Git, or you are not aware of what Git is, I highly recommend reading up on before starting.
|
||||
|
||||
When the repo is cloned or downloaded, you will be able to work as normal as if it were regular Source SDK 2013. DLLs placed in your mod's `bin` folder will override stock Mapbase DLLs if it draws from them. However, you need to have `discord_rpc.dll` in the same folder as `client.dll` at all times. This is a limitation with the way it is implemented and cannot be fixed easily.
|
||||
|
||||
---
|
||||
|
||||
When Mapbase updates, you can use Git to pull from this repo's `master` branch.
|
||||
|
||||
## More Help
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user