vRNemesis
New Member
Could anyone help me with adding any of this to our server? We host from Dayz.st so only have access to the mission.pbo and server.pbo. In testing, I've managed to get ellipses to show up on the map, and I can change their size/shape but I can't get text to show up.
This was the code I used, in mission.sqm under class Markers.
Also tried this:
Basically copied it straight from a Takistan Life mission file. The ellipse shows up on the map, but not the text.
Next is Diary subjects, I've tried adding things like a changelog and server information on the upper left hand side when you open the map. Right when I join my server, they show up for about half a second then disappear.
This is what I did:
Created a file called "briefing.sqf" and placed it in the root of my mission.pbo and added this to the init.sqf:
Here is my briefing.sqf:
Am I missing something or will it just not work with dayz?
Finally, is it possible to increase the view distance? I've searched and searched but none of the results work. I've already removed the fog and changed other weather effects, but the fog still shows up around 1300-1400m in-game.
If anybody can shed any light on any of these subjects for me it would be greatly appreciated. These are the 3 main things I have not been able to figure out on my own. Thanks!
This was the code I used, in mission.sqm under class Markers.
Code:
class Item7
{
position[]={4372.6641,46.275856,10846.304};
name="test1";
text="test1";
markerType="ELLIPSE";
type="Empty";
colorName="ColorOrange";
a=80;
b=80;
angle=45.631645;
};
Code:
class Item8
{
position[]={9931.499,129.98312,11349.759};
name="test2";
text=" test2";
type="mil_warning";
colorName="ColorOrange";
};
Next is Diary subjects, I've tried adding things like a changelog and server information on the upper left hand side when you open the map. Right when I join my server, they show up for about half a second then disappear.
This is what I did:
Created a file called "briefing.sqf" and placed it in the root of my mission.pbo and added this to the init.sqf:
execVM "briefing.sqf";
Here is my briefing.sqf:
Code:
player createDiarySubject ["rules", "Rules"];
player createDiarySubject ["changelog", "Change Log"];
player createDiarySubject ["teamspeak", "Teamspeak & Server Info"];
player createDiaryRecord["changelog",
[
"Test Subject 3",
"
<br/>
[Added] - Test3<br/>
"
]
];
player createDiaryRecord["changelog",
[
"Test Subject 2",
"
<br/>
[Added] - Test2<br/>
"
]
];
player createDiaryRecord["changelog",
[
"Test Subject 1",
"
<br/>
[Changed] - Test1<br/>
"
]
];
player createDiaryRecord["rules",
[
"
<br/>
Rule1<br/>
Rule2<br/>
Rule3<br/>
"
]
];
player createDiaryRecord["teamspeak",
[
"About Us",
"
<br/>
Description.
"
]
];
player createDiaryRecord["teamspeak",
[
"Teamspeak",
"
<br/>
Teamspeak Info.
"
]
];
Am I missing something or will it just not work with dayz?
Finally, is it possible to increase the view distance? I've searched and searched but none of the results work. I've already removed the fog and changed other weather effects, but the fog still shows up around 1300-1400m in-game.
If anybody can shed any light on any of these subjects for me it would be greatly appreciated. These are the 3 main things I have not been able to figure out on my own. Thanks!