Counter-Strike 2D Manual

Manual for CS2D Beta 0.1.0.0

www.cs2d.com |www.unrealsoftware.de |U.S.G.N.

Content


• Command Line Parameters
• Script Commands



Command Line Parameters

You can use "command line parameters" to start CS2D in special ways.

24bit and 32bit
CS2D will use 24/32 bit for graphics. This works only if you run CS2D in fullscreen. Otherwise it will use the same colordepth as you use with windows. Default colordepth is 16 bit.

vram or highqual
This command forces CS2D to use the VRAM of your 3D graphics card. This should improve the look of some graphics.

win and freesize or scaleable
Use these commands to run CS2D in a normal window (640x480) or in a window with a changeable size.

nostartup, nointro and console
Skips the little "Unreal Software" intro!

noerrormsgs
Disables the error message output. Use this if you get not pursuable errors.

map mapname
Use map followed by a mapname to setup a server and load the map right after the startup of CS2D.
You can combine the map command with these commands:
dedicated = setup server as dedicated server
bots = setup server as offline botgame server
(CS2D will setup a normal netgame server if you do not add "dedicated" or "bots" to the commandline)

set
CS2D "asks" which window mode and colordepth you want to use and whether you want to use vram or not before it starts!

connect ip (password)
Connect to server with given ip address as soon as CS2D started. Password is optional.

• top


Script Commands

Here is a list of all Counter-Strike 2D scripting commands.
All parameters in brackets are optional!

antialias (state)
Activate/deactivate antialias
Parameters:
(state): 1/0, true/false, on/off or none to toggle value

ak47
Buy ak47

attack
Primary attack

attack2
Secondary attack/change zoom mode

aug
Buy aug

awp
Buy awp



back
Move player backwards

ban PlayerID/PlayerNick
Bans a player. Banned players aren't able to connect to the server again
Parameters:
PlayerID/PlayerNick: ID (listplayers) or nick of a player

banid PlayerID/PlayerNick
Bans a player. Banned players aren't able to connect to the server again
Parameters:
PlayerID/PlayerNick: ID (listplayers) or nick of a player

bind "keyname" "script"
Binds a script to a key.
Parameters:
"keyname": name of a key
"script": one or more script commands

binds
Shows a list of all bind-scripts

blood amount
Changes the amount of blood.
Parameters:
amount: blood amount 0-6

bot
Opens the bot menu

buy
Opens the buy menu

buyammo1
Buy primary ammo

buyammo2
Buy secondary ammo

buyequip
Opens the buy menu for equipment



chooseteam
Opens the chooseteam menu

clear
Removes the current console output

close
Closes the console

connect server (password)
Connects to a server
Parameters:
server: server adresse with or without port. e.g.: xxx.xxx.xxx.xxx / xxx.xxx.xxx.xxx:xxxx / www.xxxx.dyndns.org:xxxx (Counter-Strike 2D uses the default port if no port is specified
(password): server password



deagle
Buy deagle

debug (state)
Activate/deactivate developer debug mode
Parameters:
(state): 1/0, true/false, on/off or none to toggle value

debugbot (state)
Activate/deactivate developer bot debug mode
Parameters:
(state): 1/0, true/false, on/off or none to toggle value

debuglog (state)
Activate/deactivate logging. Counter-Strike 2D will write debuglogs to the debug dir if this is activated.
Parameters:
(state): 1/0, true/false, on/off or none to toggle value

defuser
Buy defuser

drawradar
Displays the radar

drop
Drops the current weapon



echo text
Displays text in the console
Parameters:
text: just a text

elite
Buy elite

entityinfo
Shows a list with entity informations

exec file
Executes a file with scripts
Parameters:
file: a file with Counter-Strike 2D scripts

exit
Quit Counter-Strike 2D

fgren
Buy flare grenade

fixedport port
Sets a 'fixedport'
Parameters:
port: a portnumber

flash
Buy flashbang

fn57
Buy fn57

forward
Move player forwards



g3sg1
Buy g3sg1

getservers
Get the current serverlist

glock
Buy glock



hegren
Buy HE grenade

hideradar
Hide radar

hud_fastswitch (state)
Activate/deactivate fastswitch
Parameters:
(state): 1/0, true/false, on/off or none to toggle value



invnext
Next slot

invprev
Previous slot



kick PlayerID/PlayerNick
Kicks a player
Parameters:
PlayerID/PlayerNick: ID (listplayers) or nick of a player

kill
Kill yourself



left
Move/strafe left

listplayers
Shows a list of all players, containing their id, nick, ip and port



m249
Buy m249

m3
Buy m3

m4a1
Buy m4a1

mac10
Buy mac10

map map
Changes the map
Parameters:
map: name of the new map

mapchange map
Changes the map
Parameters:
map: name of the new map

mapinfo
Displays information about the loaded map

maximize
Maximizes the console

mp5
Buy mp5



name name
Changes the nick of the player
Parameters:
name: new player name

net_graph (state)
Activate/deactivate netgraph which displays fps and traffic
Parameters:
(state): 1/0, true/false, on/off or none to toggle value

nightvision (state)
Activate/deactivate nigthvision view
Parameters:
(state): 1/0, true/false, on/off or none to toggle value

nvgs
Buy nightvision googles



p228
Buy p228

p90
Buy p90

port
Display the currently used udp port

primammo
Buy primary ammo



quit
Quit Counter-Strike 2D



radio1
Opens radio menu 1

radio2
Opens radio menu 2

radio3
Opens radio menu 3

reload
Reloads the current weapon

resinfo
Shows a list of all loaded external map sourcefiles

right
Move/strafe right



say (message)
Say something
Parameters:
(message): the text you want to say

sayteam (message)
Say something to your teammates
Parameters:
(message): the text you want to say

scout
Buy scout

secammo
Buy secondary ammo

sg550
Buy sg500

sg552
Buy sg552

sgren
Buy smoke grenade

showscores
Display the scores

slotX
Select slot X

snapshot
Take a screenshot. I will be saved in the screenshots dir

specmode
Change the spectator mode

specplayer
Change the spectated player

speed
Walk

spray
Spray your spraylogo

sv_ff (state)
Activate/deactivate friendly fire
Parameters:
(state): 1/0, true/false, on/off or none to toggle value

sv_fow (state)
Activate/deactivate fog of war
Parameters:
(state): 1/0, true/false, on/off or none to toggle value

sv_maxplayers max
Change the maxplayers value
Parameters:
max: maximum player amount

sv_msg message
Sends a message to ALL clients
Parameters:
message: a message

sv_name name
Changes the servername
Parameters:
name: servername

sv_password password
Changes the server password
Parameters:
password: server password

sv_remote remotepassword command
Executes a script command at the server
Parameters:
remotepassword: remotepassword of the server
command: a script command

sv_remotepw remotepassword
Changes the remote server password for sv_remote control
Parameters:
remotepassword: remote server password

sv_restart delay
Restarts the round and resets all values
Parameters:
delay: restart delay

sv_restartround delay
Restarts the round and resets all values
Parameters:
delay: restart delay

sv_warmode (state)
Activate/deactivate warmode
Parameters:
(state): 1/0, true/false, on/off or none to toggle value



tmp
Buy tmp



ump45
Buy ump45

unbanall
Remove all bans

unbindall
Remove all binds

uprate rate
Changes the uploading rate for movements
Parameters:
rate: uploading rate 1 (high) - 5 (very low)

usp
Buy usp

usgn_cancel
Cancel U.S.G.N. server add process

usgn_hideserver
Remove server from U.S.G.N. serverlist

usgn_setserver
Setup server in the U.S.G.N. serverlist



version
Display your version of Counter-Strike 2D

vest
Buy vest

vesthelm
Buy vest+helm

volume volume
Change game volume
Parameters:
volume: 0 (loudless) - 100 (loud)



wireframe (state)
Activate/deactivate wireframe view
Parameters:
(state): 1/0, true/false, on/off or none to toggle value



xm1014
Buy xm1014

• top






CS2D Manual by Unreal Software
Last Update: December 20, 2004