Killswitch/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 83: Line 83:
</pre>
</pre>


== Tables ==
In learning how to do tables, I decided to prettify a list that I found in [[granQ's_sandbox]].
GranQ, feel free to "steal" this back. :-)
{| border="1" cellspacing="0" cellpadding="5" align="left"
! Weapon
! Magazine
! Inventory picture
|-
|AK74
|30Rnd_545x39_AK
|\CA\weapons\data\equip\w_ak74_ca.paa
|-
|AK74GL
|1Rnd_HE_GP25
|\CA\weapons\data\equip\w_ak74gp25_ca.paa
|-
|AKS74UN
|30Rnd_545x39_AKSD
|\CA\weapons\data\equip\w_aks74un_ca.paa
|-
|AKS74PSO
|30Rnd_545x39_AK
|\CA\weapons3\data\W_aks74pso_CA.paa
|-
|SVD
|10Rnd_762x54_SVD
|\CA\weapons\data\equip\w_SVD_ca.paa
|-
|KSVK
|5Rnd_127x108_KSVK
|\CA\weapons3\data\W_ksvk_CA.paa
|-
|PK
|100Rnd_762x54_PK
|\CA\weapons\data\equip\w_pk_ca.paa
|-
|RPG7V
|PG7V, PG7VR
|\CA\weapons\data\equip\w_rpg7_ca.paa
|-
|Strela
|Strela
|\CA\weapons\data\equip\w_9k32_ca.paa
|-
|M16A2
|30Rnd_556x45_Stanag
|\CA\weapons\data\equip\w_m16_ca.paa
|-
|M16A2GL
|1Rnd_HE_M203
|\CA\weapons\data\equip\w_m16m203_ca.paa
|-
|M16A4
|30Rnd_556x45_Stanag
|\CA\weapons3\data\W_m16a4_CA.paa
|-
|M16A4_ACG
|30Rnd_556x45_Stanag
|\CA\weapons3\data\W_m16a4_acg_CA.paa
|-
|M16A4_ACG_GL
|1Rnd_HE_M203
|\CA\weapons3\data\W_m16a4_acg_gl_CA.paa
|-
|M16A4_GL
|1Rnd_HE_M203
|
|-
|M24
|5Rnd_762x51_M24
|\CA\weapons\data\equip\w_m24_green_ca.paa
|-
|M107
|10Rnd_127x99_m107
|\CA\weapons3\data\W_m107_CA.paa
|-
|M240
|100Rnd_762x51_M240
|\CA\weapons\data\equip\w_m240_ca.paa
|-
|M249
|200Rnd_556x45_M249
|\CA\weapons\data\equip\w_m249_ca.paa
|-
|M4
|30Rnd_556x45_Stanag
|\ca\Weapons\Data\equip\w_m4_ca.paa
|-
|M4AIM
|30Rnd_556x45_Stanag
|\CA\weapons\data\equip\w_m4aim_ca.paa
|-
|M4SPR
|20Rnd_556x45_Stanag
|\CA\weapons\data\equip\w_spr_ca.paa
|-
|M4GL
|1Rnd_HE_M203
|\CA\weapons\data\equip\w_m4gl_acog_ca.paa
|-
|M4A1SD
|30Rnd_556x45_StanagSD
|\CA\weapons\data\equip\w_m4SD_aim_ca.paa
|-
|MP5SD
|30Rnd_9x19_MP5SD
|\CA\weapons\data\equip\W_HKM5_SD6_CA.paa
|-
|MP5A5
|30Rnd_9x19_MP5
|\CA\weapons\data\equip\W_HKM5_A5_CA.paa
|-
|M136
|M136
|\CA\weapons\data\equip\W_m136_launcher_CA.paa
|-
|Stinger
|Stinger
|\CA\weapons\data\equip\w_fim92_ca.paa
|-
|Binocular
|
|\CA\weapons\data\equip\w_binocular_ca.paa
|-
|Laserdesignator
|Laserbatteries
|\Ca\weapons\Data\Equip\W_SOFLAM_CA.paa
|-
|NVGoggles
|
|\CA\weapons\data\equip\w_nvg_ca.paa
|-
|}
[[Category:Sandbox]]
[[Category:Sandbox]]

Revision as of 16:52, 6 March 2007

Title

Regular paragraph of text. Talk talk blah blah.

Subtitle

Subsection text.

Sub-subtitle

Even more text.

A config.cpp snippet inside a <pre> environment:

class CfgPatches
{
	class Something
	{
		units[] = {};
		weapons[] = {};
		requiredAddons[] = {};
		requiredVersion=1.00;
	};
};

(A "pre environment" will result in tabs being rendered properly. This is useful for presenting properly indented code.)

OFP/ArmA server config file example

// comments are preceded by "//" and extend to the end of the line

//
// Example server.cfg
//
password = "xyz";		// password required to connect to server
passwordAdmin = "xyzxyz";	// admin password. Use "#login xyzxyz" in global chat in-game to login as admin

// The name of our server
hostname="Example OFP server";

// Welcome message. This is a list of strings
// separated by comma signs. Each string will be
// displayed on a new line. The example motd below
// will display two lines
motd[]= {
	"Welcome to the Example OFP server.",
	"Have fun!"
}; 
motdInterval=1; 	// if motd has multiple lines this setting
			// determines the delay in seconds between showing
			// lines (default is 5 seconds).

voteMissionPlayers=3;	// start voting for missions when 3 players connect
voteThreshold=0.33;	// when one third agrees, this is enough to confirm a vote

reportingIP=""; 	// private server - don't report
			// Use "armedass.master.gamespy.com" to
			// report to the master server

checkFiles[]={			//list of files to check
	"HWTL\dta\data3d.pbo",
	"dta\data3d.pbo"
};
kickDuplicate=1;		// do not allow duplicate id

// If equalModRequired is set, players will need
// to connect to the server using the *exact same*
// -mod=... shortcut parameter the server is using.
//
// Possible values: 0 and 1 (or false/true, "false"/"true")
// Default: 0 / false / "false"
//
// As an example: if the server was started with
//
//        -mod=@mymod
//
// all players will need to have exactly that parameter
// in their shortcuts. Note that the argument ("@mymod")
// is case significant. In other words, if a player used
// "-mod=@MyMod" connection would be refused.
//
equalModRequired=1;

class Missions {};	// an empty Missions list will lead to
			// players being presented with the full
			// list of missions the server has.
			// Players will have to vote
			// to select a mission

Tables

In learning how to do tables, I decided to prettify a list that I found in granQ's_sandbox.

GranQ, feel free to "steal" this back. :-)

Weapon Magazine Inventory picture
AK74 30Rnd_545x39_AK \CA\weapons\data\equip\w_ak74_ca.paa
AK74GL 1Rnd_HE_GP25 \CA\weapons\data\equip\w_ak74gp25_ca.paa
AKS74UN 30Rnd_545x39_AKSD \CA\weapons\data\equip\w_aks74un_ca.paa
AKS74PSO 30Rnd_545x39_AK \CA\weapons3\data\W_aks74pso_CA.paa
SVD 10Rnd_762x54_SVD \CA\weapons\data\equip\w_SVD_ca.paa
KSVK 5Rnd_127x108_KSVK \CA\weapons3\data\W_ksvk_CA.paa
PK 100Rnd_762x54_PK \CA\weapons\data\equip\w_pk_ca.paa
RPG7V PG7V, PG7VR \CA\weapons\data\equip\w_rpg7_ca.paa
Strela Strela \CA\weapons\data\equip\w_9k32_ca.paa
M16A2 30Rnd_556x45_Stanag \CA\weapons\data\equip\w_m16_ca.paa
M16A2GL 1Rnd_HE_M203 \CA\weapons\data\equip\w_m16m203_ca.paa
M16A4 30Rnd_556x45_Stanag \CA\weapons3\data\W_m16a4_CA.paa
M16A4_ACG 30Rnd_556x45_Stanag \CA\weapons3\data\W_m16a4_acg_CA.paa
M16A4_ACG_GL 1Rnd_HE_M203 \CA\weapons3\data\W_m16a4_acg_gl_CA.paa
M16A4_GL 1Rnd_HE_M203
M24 5Rnd_762x51_M24 \CA\weapons\data\equip\w_m24_green_ca.paa
M107 10Rnd_127x99_m107 \CA\weapons3\data\W_m107_CA.paa
M240 100Rnd_762x51_M240 \CA\weapons\data\equip\w_m240_ca.paa
M249 200Rnd_556x45_M249 \CA\weapons\data\equip\w_m249_ca.paa
M4 30Rnd_556x45_Stanag \ca\Weapons\Data\equip\w_m4_ca.paa
M4AIM 30Rnd_556x45_Stanag \CA\weapons\data\equip\w_m4aim_ca.paa
M4SPR 20Rnd_556x45_Stanag \CA\weapons\data\equip\w_spr_ca.paa
M4GL 1Rnd_HE_M203 \CA\weapons\data\equip\w_m4gl_acog_ca.paa
M4A1SD 30Rnd_556x45_StanagSD \CA\weapons\data\equip\w_m4SD_aim_ca.paa
MP5SD 30Rnd_9x19_MP5SD \CA\weapons\data\equip\W_HKM5_SD6_CA.paa
MP5A5 30Rnd_9x19_MP5 \CA\weapons\data\equip\W_HKM5_A5_CA.paa
M136 M136 \CA\weapons\data\equip\W_m136_launcher_CA.paa
Stinger Stinger \CA\weapons\data\equip\w_fim92_ca.paa
Binocular \CA\weapons\data\equip\w_binocular_ca.paa
Laserdesignator Laserbatteries \Ca\weapons\Data\Equip\W_SOFLAM_CA.paa
NVGoggles \CA\weapons\data\equip\w_nvg_ca.paa