Cheats in multplayer? How enable?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

Cheats in multplayer? How enable?

Post by Aprop »

For god sake, i dont know how enable console comm's in mp! I always run game with sv_cheats etc, and it work for SP... but when i start new "team match"... "cheats're not enable on this server"!

I need'em for map testing, not for cheating...
User avatar
211476
Captain
Posts: 273
Joined: Fri Feb 29, 2008 2:20 am
Location: Arizona, USA
Contact:

Post by 211476 »

a post by tltrude a while back
you must play the map in singleplayer -- no cheats allowed in multiplayer!

There is a hidden menu that you can bring up. It has Tris 1 and Tris 2.

bind F8 "togglemenu leveldesign"

I think you can just type togglemenu leveldesign in the console too.
btw, if you don't know place your map in the maps/ folder not in maps/dm to make it singleplayer
then start up game type maplist in console and doubleclick on your map
Image
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

I think tltrude means to play the map LAN (~singleplayer) to do cheat-required commands.

I don't see why you need console commands that require sv_cheats on your server/multiplayer, Aprop?
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
User avatar
Gold
First Lieutenant
Posts: 176
Joined: Sun Sep 28, 2003 8:10 pm

Post by Gold »

for aa sh or bt?
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

Post by Aprop »

BT. All cmds work on singleplayer... but i need to start map by Team Match, because if i start it from maplist or spdevmap game think its sp map and dont understand .dmteam value...
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

Yup, like I told Broadus, if you use map (not the same as rcon map) your map will be loaded as if it were a singleplayer map. You'll notice it right away when you're immediately spawned as an allied with no weapons.

"dmteam" doesn't work in singleplayer because it's DMteam (and not SPteam or something) so for LAN & multiplayer and you can only choose 1 team in singleplayer (= allies).

Just start the map LAN m8. Instead of clicking on the red door in the multiplayer room, click on the brown board next to it. I always use LAN for testing anything. But make sure gamespy and dedicated server are turned off before starting.

And set these in your unnamedsoldier.cfg config if they aren't there already. They'll ensure you, that you can use the full control of the console for your modding/developing:

Code: Select all

seta sv_cheats "1"
seta developer "1"
seta ui_minicon "1" //--> handy miniconsole!!
seta fps "1"
Now you can use sv_showbboxes, it can show you bounding boxes of entities (value 1 I think), triggers (value 4) etc
Last edited by $oldier Of Ra on Mon Dec 22, 2008 11:10 am, edited 1 time in total.
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

Post by Aprop »

$oldier Of Ra wrote: Just start the map LAN m8. Instead of clicking on the red door in the multiplayer room, click on the brown board next to it.
Huh? I always start my Team-Match test map by that board... TEAM GAME- Start Team Game - Start Game ....
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

Then I don't see the problem? :?
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

Post by Aprop »

$oldier Of Ra wrote:Then I don't see the problem? :?
I start, but i cant use noclip, showtris, give, etc!!
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

Use AA, developing cmds in BT & SH are horrible according to my personal opinion. Sv_cheats in the shortcut doesn't always work; make sure these 2 lines are in your config file:

Code: Select all

seta sv_cheats "1"
seta developer "1"
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

Post by Aprop »

BT! Not AA. I ask how use cmd's in BT!
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

Code: Select all

seta sv_cheats "1"
seta developer "1"
^ Calm down, This is for BT! I just said AA is much better for these kind of things and if sv_cheats doesn't work, try:

Code: Select all

seta cheats "1"
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Herr Klugscheisser
Lance Corporal
Posts: 21
Joined: Thu Mar 17, 2005 1:14 pm

Post by Herr Klugscheisser »

What I do is set it in dmprecache. I have a cvar that I can enable/disable it but in a nutshell:

Code: Select all

level waittill spawn
setcvar "cheats" "1"
setcvar "thereisnomonkey" "1"
Aprop
Major
Posts: 291
Joined: Mon Nov 17, 2008 3:40 pm

Post by Aprop »

Got it! setcvar in map script, after level prespawn. Finally, thanks Herr Klug'err
Post Reply