StrataSource / FGD

The FGD + Hammer resource files for games built on Strata Source.
20 stars 15 forks source link

Per-game gameconfig defaults #37

Closed braem closed 3 years ago

braem commented 3 years ago

Currently, P2CE's default gameconfig includes momentum & vice versa. Makes little sense as hammer wont even work in those situations (wont find FGD, etc).

Gocnak commented 3 years ago

This will most likely need to expand to include the CmdSeqDefault as Momentum has ZonMaker as a custom step that P2CE doesn't need.

braem commented 3 years ago

We should be able to use the property_parser module in srctools to read these https://github.com/TeamSpen210/srctools/blob/master/srctools/property_parser.py

Gocnak commented 3 years ago

I was thinking just template files and then the build script replaces the template with the specific game stuff.

braem commented 3 years ago

I was thinking just template files and then the build script replaces the template with the specific game stuff.

Yeah that'd be easier. Would making building all nonsensical though. Or maybe have it output to respective game folders in that case, like build/momentum/ & build/p2ce/. Keeping current functionality to not break internal build scripts/CI.