sv_cheats whitelist?

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Wed Jul 09, 2008 4:49 am

  • MrBougo, who makes the teaching mod, added a feature for a cheats whitelist which would allow specific cheats to be enabled. I think he made a cvar of sv_cheats_whitelist. Is there away for this to be a feature in a future version of Nexuiz?

    This would be for setting up a alias to add to the vote list for "god mode" without enabling the other cheats (specifically clones, which can eventually bog down the server).
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Wed Jul 09, 2008 12:22 pm

  • I'd like that but with additional changes...


    eg. I'd want impulse 99 to to give cheats_impulse99_armor/health armor and health
    (and THAT command should only be available right after spawn anyway, for a second or two)

    I'd like fly to work for some time and then have to be recharged :P

    bah
    I'm gonna make that for my local server :P
    User avatar
    Blµb
    Alien trapper
     
    Posts: 277
    Joined: Thu Mar 29, 2007 1:49 pm

Wed Jul 09, 2008 1:02 pm

  • Is there a way to link these cheats to entities? i.e. I walk into a room and I get 999 health and 999 armor.
    User avatar
    [-z-]
    Site Admin and Nexuiz Ninja
     
    Posts: 1794
    Joined: Mon Nov 13, 2006 12:20 am
    Location: Florida

Wed Jul 09, 2008 1:34 pm

  • Not yet, but thanks to a new QC extension that can read and write entity fields given their name and a value, we could make a new funny entity:

    {
    "classname" "target_modify_ent"
    "message" "OR items 64, SET ammo_cells 999, ADD ammo_rockets 50, OR flags 64"
    "targetname" "modme"
    }
    {
    "classname" "trigger_multiple"
    "target" "modme"
    }

    touching the trigger_multiple will give you the hagar, 999 cells, add 50 rockets and enable god mode.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Jul 09, 2008 5:00 pm

Wed Jul 09, 2008 5:30 pm

  • I suppose something like this could be used to remove all of your weapons or remove certain weapons?
    User avatar
    Revenant
    Alien
     
    Posts: 122
    Joined: Sat Mar 04, 2006 9:38 pm
    Location: Canada

Wed Jul 09, 2008 5:40 pm

  • Yeah -z- mentioned the idea in IRC of a training map using this when switching from one room to the next. Room 1 = rocket room... room 2 = nex room, etc. when switching from one to the next, it adjusts your weapons/ammo/health/armor accordingly.
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Wed Jul 09, 2008 11:38 pm

  • Hmmm, do you really need GOD-mode when you get 'impulse 99'? I would think that 999 health and armour would be kick-ass enough as it is, ...or is the idea that the god-mode only lasts a few seconds to a minute, tops? (I hope)
    Tenshihan
    Alien
     
    Posts: 233
    Joined: Sun Jul 06, 2008 11:28 am

Thu Jul 10, 2008 1:04 am

  • for training purposes...absolutely it's useful to have both god mode and impulse 99.
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Thu Jul 10, 2008 1:48 am

  • divVerent wrote:Not yet, but thanks to a new QC extension that can read and write entity fields given their name and a value, we could make a new funny entity:

    {
    "classname" "target_modify_ent"
    "message" "OR items 64, SET ammo_cells 999, ADD ammo_rockets 50, OR flags 64"
    "targetname" "modme"
    }
    {
    "classname" "trigger_multiple"
    "target" "modme"
    }

    touching the trigger_multiple will give you the hagar, 999 cells, add 50 rockets and enable god mode.



    So it would be possible to create ammo and health stations in onlsaught that could act as control points?
    Xeno
    peregrinus originis incognitae
     
    Posts: 396
    Joined: Wed Nov 15, 2006 10:42 pm

Thu Jul 10, 2008 2:19 pm

  • Xeno The Blind wrote:
    divVerent wrote:(... about the funny entity ...)



    So it would be possible to create ammo and health stations in onlsaught that could act as control points?


    That's a very good idea yay :D
    I bet the next argument we'll hear is that it's too UT-ish ;)
    User avatar
    Blµb
    Alien trapper
     
    Posts: 277
    Joined: Thu Mar 29, 2007 1:49 pm

Tue Sep 30, 2008 1:09 am

  • Just searching for an update.
    Did this feature ever make it to SVN?
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Tue Sep 30, 2008 2:01 am

  • divVerent wrote:Not yet, but thanks to a new QC extension that can read and write entity fields given their name and a value, we could make a new funny entity:

    {
    "classname" "target_modify_ent"
    "message" "OR items 64, SET ammo_cells 999, ADD ammo_rockets 50, OR flags 64"
    "targetname" "modme"
    }
    {
    "classname" "trigger_multiple"
    "target" "modme"
    }

    touching the trigger_multiple will give you the hagar, 999 cells, add 50 rockets and enable god mode.


    Could it be made that weapon pickups could be modified on a map:
    Like machinegun number 11 in the map you could set to fire slower and use your "side-fed assault rifle with dual side mounted bayonets" model in the pk3 and firing animation in the pk3 of the map?
    take_this_cup_of_poison
    Banned
     
    Posts: 198
    Joined: Sun Jan 20, 2008 2:25 am



Return to Nexuiz - Development




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest