AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Natural Selection Commands (https://forums.alliedmods.net/showthread.php?t=390)

devicenull 03-21-2004 09:49

Natural Selection Commands
 
1 Attachment(s)
Verson 0.13 - Updated on July 18, 2004
Changes
This version fixes that readyroom crash, and eliminates the nsx_ prefix
Quote:

Originally Posted by Natural Selection Module
* Commands:
* amx_teamone or amx_marine - Force client to join team one
* amx_teamtwo or amx_alien - Force client to join team two
* amx_readyroom - Force client to go to the readyroom
* amx_pain or amx_randomall - Bind of Pain (Execute random on all)
* amx_uncomm - Remove a player from the comm chair
* amx_skulk - Make the player become a skulk

:)

[RED-Designs] 03-21-2004 09:55

Re: Natural Selection Commands
 
1 Attachment(s)
Quote:

Originally Posted by devicenull
Quote:

Originally Posted by Natural Selection Module
* nsx_teamone - Force client to join team one
* nsx_teamtwo - Force client to join team two
* nsx_readyroom - Force client to go to the readyroom
* nsx_pain - Bind of Pain (Execute random on all)
* nsx_uncomm - Remove a player from the comm chair
* nsx_skulk - Make the player become a skulk


Very nice, I will use this when I set up my NSDS later on.

Only problem I have with it is using "nsx_", I dont really want to have to think twice about what comes before something like "skulk". Mainly cause I work on so many servers and plugins.

You could add a if to check if something like "sv_nsxamx", if 1 then use amx, if 0 use NSX. Mainly this would add flexiblity for people, which I happen to think makes any plugin even more likly to be loved :D

Edit: Here... if sv_nsxamx is not set to 1 it uses amx :D

devicenull 03-21-2004 10:06

Okay, Thanks.. I'll do that to the rest of the plugins too

[RED-Designs] 03-21-2004 10:07

Quote:

Originally Posted by devicenull
Yea, I can do that, it'll take about 5 minutes

I already did it for you :D

devicenull 03-21-2004 10:07

Yea, Didnt see :P

[RED-Designs] 03-21-2004 10:08

Quote:

Originally Posted by devicenull
Yea, Didnt see :P

I guessed that or that you posted the reply right as I updated it with the plugin :D

Check you private messages, I PMed you :D


Do I get any credit for the cvar? :P

QwertyAccess 03-29-2004 20:16

nice :D

devicenull 03-31-2004 19:12

Quote:

Originally Posted by [RED-Designs
]
Quote:

Originally Posted by devicenull
Yea, Didnt see :P

I guessed that or that you posted the reply right as I updated it with the plugin :D

Check you private messages, I PMed you :D


Do I get any credit for the cvar? :P

Yea, see :P
About the PM, I added AIM id to my profile

Vie 04-15-2004 05:47

How about adding the ability to change the following CVARs that are specific to NS:

mp_team1damagepercent <0-100>
mp_team2damagepercent <0-100>
mp_tournamentmode <0/1>

This would be useful, specifically for clan matches.

:D

zippy 07-16-2004 16:39

Code:

new username[64] //User name of player
new targetname[64] //Name of target
public plugin_init() {
        register_plugin("NsX-NS","0.1","devicenull")
        register_cvar("nsx_version","0.1")       
        register_cvar("nsx_ns","0.1")
        register_cvar("sv_nsxamx","1")
        if (get_cvar_float("sv_nsxamx")==1){
        register_concmd("nsx_teamone","forceteam_one",ACCESS_TEAM," <user> Switches user to team one (marines)")
        register_concmd("nsx_teamtwo","forceteam_two",ACCESS_TEAM," <user> Switches user to team two (aliens)")
        register_concmd("nsx_readyroom","forceteam_rr",ACCESS_TEAM," <user> Switches user to the readyroom")
        register_concmd("nsx_pain","forceteam_all",ACCESS_TEAM," Randoms everyone (bind of pain)")
        register_concmd("nsx_uncomm","remove_commander",ACCESS_COMM," <user> Removes user from the comm chair")
        register_concmd("nsx_skulk","make_skulk",ACCESS_COMM," <user> Makes the user a skulk")
        } else {
        register_concmd("amx_marine","forceteam_one",ACCESS_TEAM," <user> Switches user to team one (marines)")
        register_concmd("amx_alien","forceteam_two",ACCESS_TEAM," <user> Switches user to team two (aliens)")
        register_concmd("amx_readyroom","forceteam_rr",ACCESS_TEAM," <user> Switches user to the readyroom")
        register_concmd("amx_random","forceteam_all",ACCESS_TEAM," Randoms everyone")
        register_concmd("amx_uncomm","remove_commander",ACCESS_COMM," <user> Removes user from the comm chair")
        register_concmd("amx_skulk","make_skulk",ACCESS_COMM," <user> Makes the user a skulk")
        }
}

that make it so the commands are amx_random to force random, amx_marine and amx alien.

will these changes work like that?


All times are GMT -4. The time now is 09:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.