Posted: . At: 4:12 PM. This was 1 year ago. Post ID: 17847
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


How to have custom text appear on a billboard in Arma 3.


Printing text on a billboard in Arma 3 is very easy, this code sample will print the player`s name and the server’s name on a billboard in a welcome message.

_texture = [0, format["#(rgb,256,512,3)text(0, 1, ""RobotoCondensed"", 0.1, ""#ffffff00"", ""#6aa84f"", Hello %1\nWelcome to\n%2\n)", profileName, serverName, "Gear up and get into the action."]]; 
this setObjectTexture _texture;

This is how to print text from a variable or a scripting function. This is very cool, this could be very useful to print information personalized for each player. The init of the billboard is run for every player, so they will all see their own player name.

This code below will allow you to have a tiny model tank in your base.

if (isServer) then {  
    private _simpleObject = this call BIS_fnc_replaceWithSimpleObject; 
    _simpleObject setObjectScale 0.1; 
    _simpleobject setposatl [4440.88,18268.1,0];
};

Then right-click the tank and copy the location to the clipboard. Then replace the setPosATL value with the location of the tank. Then you will have a nice little decorative tank. I have tested this on a dedicated server and it works perfectly. As you can see in the screenshot, this also works for buildings. Even modded ones like Jbad.

A tiny tank in a base, scaled down and visible on a dedicated server.

To change the rain to snow without mods in Arma 3, use the code below and run it in the initServer.sqf file.

initServer.sqf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
0 setOvercast 1;
0 setRain 1;
0 setFog 0.1; // snow affects visibility at distance
setHumidity 0.9; // don't want to see dust clouds
enableEnvironment [false, true]; // don't want to see snakes and butterflies either
 
forceWeatherChange;
[
	"a3\data_f\rainnormal_ca.paa",	// rainDropTexture
	1,	// texDropCount
	0.01,	// minRainDensity
	15,	// effectRadius
	0.3,	// windCoef
	0.5,	// dropSpeed
	0.7,	// rndSpeed
	0.5,	// rndDir
	0.01,	// dropWidth
	0.01,	// dropHeight
	[0.2, 0.1, 0.1, 1],	// dropColor
	0.1,	// lumSunFront
	0.1,	// lumSunBack
	5.5,	// refractCoef
	0.3,	// refractSaturation
	true,	// snow
	false	// dropColorStrong
]
call BIS_fnc_setRain;

The ability to customise the rainfall is amazing.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.