Author Topic: Anyone know how to set the default build points to a map?  (Read 7965 times)

Cosmonaut

  • Posts: 106
  • Turrets: +1/-14
Anyone know how to set the default build points to a map?
« on: November 14, 2009, 11:46:40 pm »
title says it all, I thought i knew how by typing the commands in the maprotation data, but maybe i did it wrong.

Cosmonaut

  • Posts: 106
  • Turrets: +1/-14
Re: Anyone know how to set the default build points to a map?
« Reply #1 on: November 15, 2009, 01:02:53 am »
As an added note, I am having trouble setting the rcon password in both the game console and the server console. I did it all

/set rconpassword "Password"
/set g_rconpassword "Password"

I even went into the server file and tried it, but for some reason, even though I have the password, it wont set it.

Is there a way to do it that i'm not doing?

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Anyone know how to set the default build points to a map?
« Reply #2 on: November 15, 2009, 02:40:48 am »
Build points are set in a qvm.  You can compile your own qvm, or declare the build points per map on the rotation using:
Code: [Select]
set g_humanbuildpoints [number]
set g_alienbuildpoints [number]
and putting that after every map in your maprotation.cfg.
The advantages to building it into your qvm, is that when a map is voted (off your rotation) the build points won't be set back to the default in your old qvm.  So, if you just plop that line into your maprotation, and a new map is voted, you will not get your new build points on that map.

To set your rcon, add:
Code: [Select]
set rconPassword [password]into your server.cfg
and use your rcon by typeing:
Code: [Select]
/rcon [password] [command]into your tremulous console (in game).

Best Regards,
Kiwi

I was in a rush when I typed this, if you need further explanation or clarification, just ask and I'll post again when I have free time.

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Anyone know how to set the default build points to a map?
« Reply #3 on: November 15, 2009, 03:00:03 am »
/mapconfigs

For all:

-> default.cfg:

set g_alienBuildPoints ###;
set g_humanBuildPoints ###;

Specific:

-> atcs.cfg
-> rush_human_a1.cfg
« Last Edit: November 15, 2009, 03:01:53 am by Bissig »

Cosmonaut

  • Posts: 106
  • Turrets: +1/-14
Re: Anyone know how to set the default build points to a map?
« Reply #4 on: November 15, 2009, 04:10:31 am »
Build points are set in a qvm.  You can compile your own qvm, or declare the build points per map on the rotation using:
Code: [Select]
set g_humanbuildpoints [number]
set g_alienbuildpoints [number]
and putting that after every map in your maprotation.cfg.
The advantages to building it into your qvm, is that when a map is voted (off your rotation) the build points won't be set back to the default in your old qvm.  So, if you just plop that line into your maprotation, and a new map is voted, you will not get your new build points on that map.

To set your rcon, add:
Code: [Select]
set rconPassword [password]into your server.cfg
and use your rcon by typeing:
Code: [Select]
/rcon [password] [command]into your tremulous console (in game).

Best Regards,
Kiwi

I was in a rush when I typed this, if you need further explanation or clarification, just ask and I'll post again when I have free time.


I'd like to thank you and bissig for informing me of what the issues were without being absolute assholes like most people on the forum. hard to come by people who will give you the answer without saying how ignorant, idiotic, and stupid one is.

Tyvvm

edit: I did what was mentioned with the Map Rotation for the build points and it did not work. I added "set rconPassword [My password]" into the server config, and it did not work either.

Is there something I am missing? Do i need to use certain caricatures such as quotations or parenthesis? could my content be out of date?

I'm going to reboot my computer and see if that does anything, because i already tried to fix the name of my server "It is currently Cosmona and it says in the server file it's Cosmonaut", perhaps it's a loading error
« Last Edit: November 15, 2009, 05:01:08 am by Cosmonaut »

Cosmonaut

  • Posts: 106
  • Turrets: +1/-14
Re: Anyone know how to set the default build points to a map?
« Reply #5 on: November 15, 2009, 06:32:39 am »
Although the name changed, and i finally found a way to make me GM, i have failed to set the build points for my maps and a password. this is what i have for the map info:

Quote
rotation1
{
  karith
g_humanbuildpoints 900000
g_alienbuildpoints 900000
  arachnid2
g_humanbuildpoints 900000
g_alienbuildpoints 900000
  nexus6
g_humanbuildpoints 900000
g_alienbuildpoints 900000
  transit
g_humanbuildpoints 900000
g_alienbuildpoints 900000
  uncreation
g_humanbuildpoints 900000
g_alienbuildpoints 900000
  atcs
g_humanbuildpoints 900000
g_alienbuildpoints 900000
  tremor
g_humanbuildpoints 900000
g_alienbuildpoints 900000
  niveus
g_humanbuildpoints 900000
g_alienbuildpoints 900000
}

I Tried adding the word "Set" before the G, but alas, that did not work. and now for my password info for my server (Censored of course, just showing the location and asking if it is done correctly):

Quote
//passwords
set g_needpass 0
//set g_password password   //server password
//set rconPassword Password  //rcon Password
//loading screen

The password was not the password in red, that is just an example of where I put it. I feel as though I did it incorrectly.


If i could get feedback on what it was that I did wrong for either one, let me know.


Silver

  • Posts: 376
  • Turrets: +307/-62
Re: Anyone know how to set the default build points to a map?
« Reply #6 on: November 15, 2009, 06:37:33 pm »
Its probably how many buildpoints you have set there  I don't think it supports over 9,999

also you forgot the ; I think.

I don't know if its needed in the rotation though.

Try doing it bissigs way in the cfg's.
I SUKC AT TRMELUS

IABZ IS JESUS

Cosmonaut

  • Posts: 106
  • Turrets: +1/-14
Re: Anyone know how to set the default build points to a map?
« Reply #7 on: November 15, 2009, 07:26:20 pm »
Its probably how many buildpoints you have set there  I don't think it supports over 9,999

also you forgot the ; I think.

I don't know if its needed in the rotation though.

Try doing it bissigs way in the cfg's.

Normally I would make an "Over nine thousand" joke right now, but time to get cracking on the editing. Semicolon and setting BP to 9,001.

Thanks silver ;3

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Anyone know how to set the default build points to a map?
« Reply #8 on: November 15, 2009, 07:55:20 pm »
BP shouldn't matter, as long as you don't overflow the int the only limit is the UI, which only shows up to 999.

The rotation needs {} around the cvars, see http://tremulous.net/manual/#x1-150003.4 for details.

The rconPassword line is currently disabled, the // at the start mean it's a comment and ignored by everything.  Remove the // and it should be good.


EDIT:  Just noticed that the manual says they are run after the map.  I'm 99% sure that's wrong.
« Last Edit: November 15, 2009, 07:57:33 pm by David »
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Cosmonaut

  • Posts: 106
  • Turrets: +1/-14
Re: Anyone know how to set the default build points to a map?
« Reply #9 on: November 15, 2009, 08:27:05 pm »
BP shouldn't matter, as long as you don't overflow the int the only limit is the UI, which only shows up to 999.

The rotation needs {} around the cvars, see http://tremulous.net/manual/#x1-150003.4 for details.

The rconPassword line is currently disabled, the // at the start mean it's a comment and ignored by everything.  Remove the // and it should be good.


EDIT:  Just noticed that the manual says they are run after the map.  I'm 99% sure that's wrong.

Thank you very very very much!

Got the password set up, and it's working :D

All that's needed now is the BP, and i'm cracking on that
« Last Edit: November 15, 2009, 08:33:55 pm by Cosmonaut »

Cosmonaut

  • Posts: 106
  • Turrets: +1/-14
Re: Anyone know how to set the default build points to a map?
« Reply #10 on: November 15, 2009, 08:45:26 pm »
So i read the thing, and I tried using the bracket things like it said, but I still don't have it working just yet for the build points. Am i on the right track though?

Quote
rotation1
{
{
g_humanbuildpoints 9001;
g_alienbuildpoints 9001;

  karith
}
{
g_humanbuildpoints 9001;
g_alienbuildpoints 9001;

  arachnid2
}
{
g_humanbuildpoints 9001;
g_alienbuildpoints 9001;

{
  nexus6
g_humanbuildpoints 9001
g_alienbuildpoints 9001
}
{
  transit

g_humanbuildpoints 9001
g_alienbuildpoints 9001
}
{
  uncreation

g_humanbuildpoints 9001
g_alienbuildpoints 9001
}
{
  atcs

g_humanbuildpoints 9001
g_alienbuildpoints 9001
}
{
  tremor

g_humanbuildpoints 9001
g_alienbuildpoints 9001
}
{
  niveus

g_humanbuildpoints 9001
g_alienbuildpoints 9001
}
}

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Anyone know how to set the default build points to a map?
« Reply #11 on: November 15, 2009, 08:49:05 pm »
Code: [Select]
rotation1
{
  karith
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  arachnid2
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  nexus6
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  transit
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  uncreation
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  atcs
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  tremor
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  niveus
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
}
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Cosmonaut

  • Posts: 106
  • Turrets: +1/-14
Re: Anyone know how to set the default build points to a map?
« Reply #12 on: November 15, 2009, 08:51:28 pm »
Code: [Select]
rotation1
{
  karith
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  arachnid2
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  nexus6
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  transit
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  uncreation
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  atcs
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  tremor
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
  niveus
  {
    g_humanbuildpoints 9001;
    g_alienbuildpoints 9001;
  }
}

Sorry, i feel like an ass. TYVM for correcting my mistakes, and i +turret'd you :D


BIG BIG BIG BIG BIG BIG BIG thanks!

Edit: Hold up, still not working >.<

Don't worry, i'll pinpoint this thing.

edit2: Worked after i skipped to the next map, i think it should be working now.
« Last Edit: November 15, 2009, 09:22:56 pm by Cosmonaut »

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Anyone know how to set the default build points to a map?
« Reply #13 on: November 16, 2009, 08:51:26 pm »
Yeah, your first map is started when in your server.cfg you have
Code: [Select]
map atcswhich "starts" your server.  This won't be a problem once your server keeps going.  But you could always add
Code: [Select]
g_humanbuildpoints 9001
g_alienbuildpoints 9001
after you "map atcs".

Best Regards,
Kiwi