News:

Come Chat with us live! Learn how HERE!

Main Menu

g_<race>BuildPoints

Started by Chojin, June 06, 2006, 07:44:08 PM

Chojin

Hi Guys,

I'd like to try to modify the build points a race has. I put these lines in my server.cfg:

// building points
set g_alienBuildPoints = "160"
set g_humanBuildPoints = "110"

But once a map loads, those variables are reset to 100 each.


So I tried it in the maprotation.cfg:

nexus6
{
 set g_alienBuildPoints = "160"
 set g_humanBuildPoints = "110"
}

This worked for the variables, when I checked in the console. But when I joined the server, neither aliens nor humans had any build points at all. Just as if sudden death was activated at map start.

Setting the variables with the console at map start works fine.

Am I missing something or is this a bug?

Best regards,
Marc

tjw

nexus6
{
set g_alienBuildPoints = "160"
set g_humanBuildPoints = "110"
}

That should not have the '=':

nexus6
{
set g_alienBuildPoints "160"
set g_humanBuildPoints "110"
}


However this was a bug, but has been fixed in SVN.

https://bugzilla.icculus.org/show_bug.cgi?id=2690

Therefore, you won't be able to use the stock 1.1.0 game.qvm if you want to do this.    You'll have to build from SVN, or use the builds here  http://tjw.org/tremulous/ to do this.

Chojin

Ahh, doooh, stupid me.

I have your code running already :) Not it works, thanks TJW