mirror of
https://github.com/fortressforever/fortressforever-2013.git
synced 2024-11-22 12:32:08 +00:00
41130702a1
I was wrong about having 'to include the entire contents' of HL2MP VPCs. Made it easy to remove HL2DM sdk files as we go without touching stock VPCs, through usage of '-$File' wizardry. it needs folder structure to match for some wacky fun reason though.
31 lines
No EOL
1.2 KiB
Markdown
31 lines
No EOL
1.2 KiB
Markdown
# VPC notes
|
|
|
|
## loading order
|
|
default.vgc is always loaded first. this sucks and isnt super ideal
|
|
but its easy to change.
|
|
|
|
default.vgc defines game strings you can pass to vpc 'vpc /gamestr' to
|
|
pick which conditional gets set.
|
|
default.vgc loads groups and projects (all)
|
|
|
|
gotcha: VPC seems to ignore VPCs not in a group (thus no sln),
|
|
even when in a project unless you force generate them..
|
|
|
|
## adding new junk that you want to generate projects for
|
|
1. create your custom vpc
|
|
2. (Optional) add the vpc $Project to a group in your group file (see default.vgc)
|
|
3. run 'vpc +ProjectName' to make it spit out vcxprojs. if it cant find your
|
|
'ProjectName', you may need to add the vpc to your project file in default.vgc.
|
|
4. if you want to create a solution for a group (or single project for some wacky reason) pass '/mksln <sln name>' to vpc
|
|
|
|
|
|
### File paths
|
|
_Adding_: $Folder has no effect on path when trying to find $File. it is solely for creating 'filters' in the VS project.
|
|
_Removing_: You must recreate the $Folder structure that was used when adding or else it wont actually remove shit!! eg.
|
|
$Folder "HL2MP"
|
|
{
|
|
-$File "hl2mp\hl2mp_client.cpp"
|
|
}
|
|
If you just try:
|
|
-$File "hl2mp\hl2mp_client.cpp"
|
|
It wont fucking work |