Jump to content
  • 0

DZMS Change color text of info spawn missions


juandayz

Question

16 answers to this question

Recommended Posts

  • 0
  On 7/4/2016 at 3:37 AM, lonewolfgaming said:

example: _hMSG = "<t align='center' color='#FACC2E' shadow='2' size='1.75'  - the letters and numbers after the # based on what color. Here is a link to HTML color code site: http://html-color-codes.info/

Expand  

tnks wolf, but  i need put it in there? or where? in each mission file?

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 0

well cant make it works....

i replace one of mission files by:

  Reveal hidden contents

and added in init.sqf

  Reveal hidden contents

remote.sqf

  Reveal hidden contents

try too into remote.sqf

  Reveal hidden contents

but my server stop before read db.

rpt error

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 0

here is the info MattewK sent me when I was trying to have the DZMS messages show with a debug monitor running:

I tried the following and it works , for me anyway :p

after the while {j0k3r5_stats} do { ... add:...  if(waitDebug) then {sleep 10; waitDebug = false;};  ...... like this.... 

  while {j0k3r5_stats} do
    {
		if(waitDebug) then {sleep 10; waitDebug = false;};

At the top of your mission files: 

//DEBUG WAIT
waitDebug = true;
publicVariable "waitDebug";

I've tried it on my test server and it works perfectly.. 

Link to comment
Share on other sites

  • 0
  On 7/5/2016 at 3:06 AM, lonewolfgaming said:

here is the info MattewK sent me when I was trying to have the DZMS messages show with a debug monitor running:

I tried the following and it works , for me anyway :p

after the while {j0k3r5_stats} do { ... add:...  if(waitDebug) then {sleep 10; waitDebug = false;};  ...... like this.... 

  while {j0k3r5_stats} do
    {
		if(waitDebug) then {sleep 10; waitDebug = false;};

At the top of your mission files: 

//DEBUG WAIT
waitDebug = true;
publicVariable "waitDebug";

I've tried it on my test server and it works perfectly.. 

Expand  

mmmm i think you dont understand me :)   i wanna change text colours of missions file...  for example when mission spawn send a global text . i wanna change it.

something like this

  but dsnt work for me.

 

Link to comment
Share on other sites

  • 0
  On 7/4/2016 at 8:17 PM, juandayz said:

well cant make it works....

i replace one of mission files by:

  Reveal hidden contents

and added in init.sqf

  Reveal hidden contents

remote.sqf

  Reveal hidden contents

try too into remote.sqf

  Reveal hidden contents

but my server stop before read db.

rpt error

  Reveal hidden contents

 

Expand  

Juan try it like this:

_hint = parseText format["<t align='center' color='#FFFF66' shadow='2' size='1.75'>mission text</t><br/><t align='center' color='#ffffff'>MISSION TEXT</t>"];
RemoteMessage = ['hint', _hint];
publicVariable "RemoteMessage";

 

as RemoteMessage  not customRemoteMessage.  

Thats how mine works, i use radio messages  but my calls are using the same remote message script

Link to comment
Share on other sites

  • 0
  On 7/6/2016 at 4:12 PM, SideShowFreak said:

Juan try it like this:

_hint = parseText format["<t align='center' color='#FFFF66' shadow='2' size='1.75'>mission text</t><br/><t align='center' color='#ffffff'>MISSION TEXT</t>"];
RemoteMessage = ['hint', _hint];
publicVariable "RemoteMessage";

 

as RemoteMessage  not customRemoteMessage.  

Thats how mine works, i use radio messages  but my calls are using the same remote message script

Expand  

many tnks! gonna try!

Link to comment
Share on other sites

  • 0
  On 7/6/2016 at 4:12 PM, SideShowFreak said:

Juan try it like this:

_hint = parseText format["<t align='center' color='#FFFF66' shadow='2' size='1.75'>mission text</t><br/><t align='center' color='#ffffff'>MISSION TEXT</t>"];
RemoteMessage = ['hint', _hint];
publicVariable "RemoteMessage";

 

as RemoteMessage  not customRemoteMessage.  

Thats how mine works, i use radio messages  but my calls are using the same remote message script

Expand  

well not work for me......... i fail in somewhere.....          can u paste one of ure missions file and u remote.sqf  and how u call it? i know is a lot but im getting crazy :D if ucant thers no problem

Link to comment
Share on other sites

  • 0

I actually prefer having the mission text appear at the top of the screen using infistar's messaging.

 

Example:

 

_txt = "A C130 Carrying Supplies has Crashed! Bandits are Securing the Cargo!";
fnc_show_colorAdminMsg = [_txt,'#F00000'];
publicVariable 'fnc_show_colorAdminMsg';

 

_txt = "The C130 Crash Site has been Secured!";
fnc_show_colorAdminMsg = [_txt,'#F00000'];
publicVariable 'fnc_show_colorAdminMsg';

 

I also added _text to the private array at the top of each mission

This will show the text at the top of the screen in the color Red.

I have it set up to spawn Hero and Bandit missions so feel free to change the Red (what I use for the Bandit Text) to whatever color you want.

 

You can do that for each mission and it's completion text.

Link to comment
Share on other sites

  • 0

Sure Juan  here is my remote.sqf

  Reveal hidden contents

 and here is a snippet from a DZMS mission 

RemoteMessage = ["radio","[RADIO] Bandits have Overrun a NATO Weapons Cache!"];
publicVariable "RemoteMessage";

 

But looking at remote.sqf im not seeing any   

 if(_type == "hint") =

which might be an issue, im pretty sure "hint" would need to be defined in remote.sqf

 

maybe the  "dynamic text" is the one you are looking for?  i dont think so though

Link to comment
Share on other sites

  • 0
  On 7/8/2016 at 4:13 AM, BigEgg said:

I actually prefer having the mission text appear at the top of the screen using infistar's messaging.

 

Example:

 

_txt = "A C130 Carrying Supplies has Crashed! Bandits are Securing the Cargo!";
fnc_show_colorAdminMsg = [_txt,'#F00000'];
publicVariable 'fnc_show_colorAdminMsg';

 

_txt = "The C130 Crash Site has been Secured!";
fnc_show_colorAdminMsg = [_txt,'#F00000'];
publicVariable 'fnc_show_colorAdminMsg';

 

I also added _text to the private array at the top of each mission

This will show the text at the top of the screen in the color Red.

I have it set up to spawn Hero and Bandit missions so feel free to change the Red (what I use for the Bandit Text) to whatever color you want.

 

You can do that for each mission and it's completion text.

Expand  

Sorry for bumpin an old thread.. But was the only post i could about the subject.

Trying to use theese messages for the carepackage script. Instead of that silly white text i would like to use the infistar text.

But cant seem to make it run. Is it because of the eventhandler is only serverside? 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...