SamplePage

From FPArma Wiki
Revision as of 18:42, 12 July 2017 by Comfy (talk | contribs)
Jump to navigation Jump to search

Example of Syntax Highlighting

The Highlighting makes use of the SyntaxHighlight Plugin which makes use of the Python tool "Pygments"

See the following site if you want to see the supported languages:

Python Code

def quickSort(arr):
	less = []
	pivotList = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass

SQF Code

enableSaving [false,false];

// These are the recommended settings for view distance based on zombie distance spawning. 
// You can change them but remember to edit config.sqf if zombies are spawning within visible range
// The reason fog is set here is because then it won't take into account height
0 setFog 0.73;
setViewDistance 800;
setObjectViewDistance 600;

if (isServer) then {
  forceWeatherChange;
};

// Config should be set first
[] call compile preprocessFileLineNumbers "config.sqf";
// Start FPZ
[] call fpz_api_fnc_init;

HPP / EXT Files

class Header
{
  gameType = Coop;
  minPlayers = 1;
  maxPlayers = 64;
};
disabledAI = 1;

// ===  Mission name etc settings
OnLoadName = "FPZ Template v1.0";// Mission name (short)
briefingName = "FPZ Template v1.0"; // mission selection name
onLoadMission="description.ext to change!"; // Longer description
// loadScreen = "img_loading.jpg"; // custom load image
author="Cuel | 2017";


Hotlinking Images

Embed a Video