Author Topic: [SOLVED] sv_cheats readonly???  (Read 21613 times)

zimmemic25

  • Posts: 5
  • Turrets: +0/-0
[SOLVED] sv_cheats readonly???
« on: September 14, 2008, 08:13:26 am »
Hi, i wanted to start a lan party with the ingame "Create Server" button.
then i wanted to allow cheats, but sv_cheats is readonly.

i started a test server with following command: tremulous.x86  +set dedicated 1 +map atcs +set sv_cheats 1
after loading the PK3s it said:
Quote
InitGame: \g_suddenDeathTime\0\g_maxGameClients\0\sv_maxclients\10\timelimit\0\sv_hostname\noname\sv_maxRate\0\sv_minPing\0\sv_maxPing\0\version\tremulous 1.1.0 linux-x86 Feb 28 2006\protocol\69\mapname\atcs\sv_privateClients\0\sv_allowDownload\0\gamename\base\g_needpass\0
2 teams with 2 entities
-----------------------------------
-----------------------------------
sv_cheats is read only.

how can i set such readonly variables when starting the ingame server?
« Last Edit: September 14, 2008, 09:34:34 am by Lava Croft »

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Re: sv_cheats readonly???
« Reply #1 on: September 14, 2008, 08:40:39 am »
Use /devmap *mapname* in the console. Alternatively, use a tremded instead.

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: sv_cheats readonly???
« Reply #2 on: September 14, 2008, 08:46:54 am »
The reason sv_cheats is readonly is so that cheats can't be flicked on and off in the middle of a game at someone's whim. Thus, you have to start it with "devmap" instead of "map", which will start a new game with cheats enabled.

zimmemic25

  • Posts: 5
  • Turrets: +0/-0
Re: sv_cheats readonly???
« Reply #3 on: September 14, 2008, 09:00:07 am »
ah ok thanks.

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: [SOLVED] sv_cheats readonly???
« Reply #4 on: September 14, 2008, 04:45:07 pm »
I once created a command that lets you toggle them in the middle of a game. Not a very good idea, in retrospect.