Author Topic: g_<race>BuildPoints  (Read 3284 times)

Chojin

  • Posts: 96
  • Turrets: +0/-0
    • http://wraths.dyndns.org
g_<race>BuildPoints
« on: June 06, 2006, 07:44:08 pm »
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

  • Posts: 210
  • Turrets: +10/-0
g_<race>BuildPoints
« Reply #1 on: June 06, 2006, 08:31:28 pm »
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

  • Posts: 96
  • Turrets: +0/-0
    • http://wraths.dyndns.org
g_<race>BuildPoints
« Reply #2 on: June 06, 2006, 08:53:14 pm »
Ahh, doooh, stupid me.

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