Page 1 of 1

[GameRules] Yeah I know ^^

PostPosted: Sat Sep 22, 2012 1:48 am
by WaterRatj
After coming back to SourceSDK is still the issue on how to add with the less code as possible a way to create new gamerules each in seperate file.
This is the only reason why I can't start working on my mod.

After that I'm able to create new files (cpp+h) for a new gamemode, I can work on the mod.
But before that I really need to find a way to have my own gamerules files for each gamemode (one to begin with) and then adding new function to it or ovveriding existing ones.

But realy there is nowhere a good tutorial on this.
I really hope someone with enough experience can put one up for the SourceSDK 2007 one.

Cause the minimal one on the Valve wiki doesn't work for SourceSDK 2007 (mod from scratch)

Re: [GameRules] Yeah I know ^^

PostPosted: Sat Sep 22, 2012 6:31 pm
by WaterRatj
Really hope somone can give an update on this.
Or help me on my way.

Re: [GameRules] Yeah I know ^^

PostPosted: Sat Aug 02, 2014 3:34 pm
by SM Sith Lord
This is still correct, the Valve Wiki's example doesn't work, it throws a very strange error when you attempt to load up a map using your skeleton gamerules.

I just gave up and am modifying the hl2mp_gamerules.cpp directly now.

Re: [GameRules] Yeah I know ^^

PostPosted: Sat Aug 02, 2014 7:23 pm
by wereMole
2 year bump? :-D

Re: [GameRules] Yeah I know ^^

PostPosted: Sat Aug 02, 2014 8:00 pm
by SM Sith Lord
Well they always say to use the Search feature instead of creating a new topic, lol.

Besides the Steam forums and wiki, this forum is the best collection of Source coding knowledge I know of. :)

I'm sure making new game rules is something modders know how to do very well, just hoping somebody takes the time to help me and the next Googler get through it in minutes rather than hours.