Tremulous Forum

General => Troubleshooting => Topic started by: Belier13 on July 20, 2006, 06:36:29 pm

Title: Changing build limit
Post by: Belier13 on July 20, 2006, 06:36:29 pm
Well In some server the build limit was increased, we had about 150 ~~points something around that,

how so?

Answer unless you are BR, thanks.
Title: Changing build limit
Post by: PIE on July 20, 2006, 07:58:42 pm
in your tremulous folder open up the file
server.cfg

and edit these lines to whatever you want

set g_humanBuildPoints 100
set g_alienBuildPoints 100
Title: Changing build limit
Post by: Belier13 on July 20, 2006, 08:00:58 pm
Awesome !

Thanks dude.

Just another question, is there a limit? To prevent subscrib out of range.
Title: Changing build limit
Post by: Neo on July 20, 2006, 08:10:11 pm
Not certain but i'd guess the limit would be 255
Title: Changing build limit
Post by: DPyro on July 21, 2006, 04:37:16 am
SST server has a build limit of 260, so no, the limit is not 255. That's the size of a byte, and I would hope we'd advance past then by now in computing =)

Btw, humans incidently camp a lot on SST...
Title: Changing build limit
Post by: yetshi on July 24, 2006, 07:32:22 am
there seems to be no upper limit on build points.

atleast if there is it isnt under 1000.
Title: Changing build limit
Post by: kevlarman on July 25, 2006, 05:51:50 am
i believe the upper limit is exactly 2,147,483,647 build points
Title: Changing build limit
Post by: Belier13 on July 25, 2006, 12:52:13 pm
^ I second that.
Title: Changing build limit
Post by: Checkpoint on July 25, 2006, 05:57:30 pm
What do you open it with?

EDIT: nvm, found it

EDIT2: I couldn't find the above lines for some reason.
Title: Changing build limit
Post by: PIE on July 25, 2006, 06:20:35 pm
Fun enough.. there are 2 of them.
One in the tremulous folder, and one in teh base folder.. i think you have the base folder one..

But actually you can use from the console
/devmap mapname
to enable cheats
and then enter
/set g_humanbuildpoints 999
or whatever you want so you can play instead of having it dedicated if thats what you want..
Title: Changing build limit
Post by: Checkpoint on July 25, 2006, 06:27:16 pm
But I have to have it in the server folder?
Title: Changing build limit
Post by: PIE on July 25, 2006, 06:30:40 pm
Server folder!?!?

You don't need to do anything special to use the devmap cheat... you can do that from the console ingame if thats what your asking..
Title: Changing build limit
Post by: Checkpoint on July 25, 2006, 06:35:38 pm
Ok, I got that, but what's the code to change stages? :P

That's pretty much all I want to know. =/

EDIT: I can get it to 2, but if I try to get it to 3, I can't buy/build anything =/
Title: Changing build limit
Post by: PIE on July 25, 2006, 06:40:48 pm
;)
/set g_humanstage #
/set g_alienstage #

0 = stage 1
1 = stage 2
2 = stage 3
3 = stage 4 :eek:
Title: Changing build limit
Post by: Checkpoint on July 26, 2006, 09:25:57 pm
Is there any to change the building timer?
Title: Changing build limit
Post by: Belier13 on July 26, 2006, 11:11:33 pm
This being my thread, I feel very outraged by you hijacking it. I will nicely ask you all to stfu  :) .

Thanks kbye.
Title: Changing build limit
Post by: Lava Croft on July 28, 2006, 03:57:06 pm
Quote from: "Belier13"
This being my thread


*Lava Croft pounces Belier13 square in the nuts and confiscates his thread.
Title: Changing build limit
Post by: Checkpoint on July 28, 2006, 04:24:16 pm
At least this is on topic. And you are not the boss of us, even in your thread. The admins/mods are. :)
Title: Changing build limit
Post by: Belier13 on July 28, 2006, 04:52:45 pm
Quote from: "Checkpoint"
And you are not the boss of us


I beg to differ.
Title: Changing build limit
Post by: Checkpoint on July 28, 2006, 05:10:14 pm
You don't seem to be an admin/mod...

And we ARE on topic...
well, we were, but this pretty much got shifted to this argument.
Title: Changing build limit
Post by: Aninhumer on August 03, 2006, 11:28:39 am
Quote from: "kevlarman"
i believe the upper limit is exactly 2,147,483,647 build points

That looks like it's storing it as a floating point? Why?
I know the quake 1 engine stores everything as a float, but I would have thought they would have changed that?
Title: Changing build limit
Post by: Teiman on August 03, 2006, 12:28:22 pm
Quote from: "Aninhumer"
Quote from: "kevlarman"
i believe the upper limit is exactly 2,147,483,647 build points

That looks like it's storing it as a floating point? Why?
I know the quake 1 engine stores everything as a float, but I would have thought they would have changed that?


CVAR is a structure with a float, a int (often) and a string version.
The engine can get the version that fit the context ( for a netname, will get the string version, other stuff may need to integer or float version ).
After a change, all other versions are recalculated.  You sould say that Cvars store "variants" more than floats.

Netcode use integer, even to encode floats. Maps formats are integer based. OpenGL seems more float friendly. Game stuff seems integer friendly. Ok?