[MOD] BasilMod::ZoneMessage - Set name for zones.

Place for sharing your game modifications for Life is Feudal: Your Own
User avatar
Galestaer
 
Posts: 11
Joined: 30 May 2016, 03:22
Location: Brazil

Re: [MOD] BasilMod::ZoneMessage - Set name for zones.

Post by Galestaer » 08 Jun 2016, 21:15

Custodian wrote:You can use BasilMod::GMAnnounce mod

Thank you for the suggestion, but it's a new server for brazilians roleplayers and i want to use only server-side mods for now.

Through server-side only there's no way to do this?
Image

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::ZoneMessage - Set name for zones.

Post by Custodian » 08 Jun 2016, 21:20

Mantoanrodrigo wrote:Through server-side only there's no way to do this?

Cattoaster has shown you one way to do this, without client-side mods.

As RP community, you should consider BasilMod::Pack on your server, as it can bring a lot to your roleplay gaming experience.

User avatar
Galestaer
 
Posts: 11
Joined: 30 May 2016, 03:22
Location: Brazil

Re: [MOD] BasilMod::ZoneMessage - Set name for zones.

Post by Galestaer » 08 Jun 2016, 22:45

Cattoaster wrote:open your server console, enter centerPrintAll("Your text goes here",<seconds to display>);
where <seconds to display> could be 0 to .. ehm many seconds
unfortunately there is no tab completion

Thank you for the help. I tried and it's working fine!

Custodian wrote:As RP community, you should consider BasilMod::Pack on your server, as it can bring a lot to your roleplay gaming experience.

It's in our plan to use the BasilMod::Pack, but for now, we want to attract players to the community and later we will propose the mod to our players.
Image

User avatar
Galestaer
 
Posts: 11
Joined: 30 May 2016, 03:22
Location: Brazil

Re: [MOD] BasilMod::ZoneMessage - Set name for zones.

Post by Galestaer » 08 Jun 2016, 22:56

Guys, just another question: i use the centerPrintAll but it creates just a line, so when the text needs to break line, it's become a little glitch. There's a way to change this?

ex.
Image
Image


MacDante
 
Posts: 95
Joined: 12 May 2015, 10:08

Re: [MOD] BasilMod::ZoneMessage - Set name for zones.

Post by MacDante » 05 Sep 2016, 20:56

@Custodian - itry run this mod in many ways, but i can't run it.
I define
Code: Select all
exec("BasilMod/zonemessage/ZoneMessage.cs");
in main.cs
I try run it from SERVER console (i have correct message on console like:
BasilMod::ZoneMessage v1 loaded



i try define zone point in config like this:
Code: Select all
$BasilMod::zonemessage::enable = true; //Enable on server startup

BasilMod::zonemessage_register("-145.000 62.00 1015.00", 40, "Welcome to trade district.", true, false, true); //Register new zone

and never see message on this area.

I try set this same area in others mod like:
SAFEZONE
Code: Select all
$BasilMod::safezone::show_coords = false; //Show coords hint message for GM characters
$BasilMod::safezone::enable = true; //Enable on server startup

BasilMod::safezone_register("-145.000 62.00 1015.00", 40, "<color:00ff00>You enter Trade City. <color:ff0000>No Arms Allowed.", "<color:00ff00>You left Trade City. You are easy target now, Bon voyage!", "<color:ff0000>You cannot attack at this spot!", true, true, true); //Register new safe spot


RESTZONE
Code: Select all
$BasilMod::restzone::enable = true; //Enable on server startup

BasilMod::restzone_register("-145.000 62.00 1015.00", 10, "<color:00ff00>Szpital<coslor:bb03d7>\r\npoczekaj chwile aby sie calkowicie uleczyc!", true, true, true);
BasilMod::restzone_register("-145.000 62.00 1015.00", 40, "<color:00ff00>Szpital<coslor:bb03d7>\r\npoczekaj chwile aby sie calkowicie uleczyc!", true, true, true);


And in this mods all work correctly...

Are you sure than this mod work correctly on actual LIFe version and BasilMod server Pack? Or have any idea why it don't work?

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::ZoneMessage - Set name for zones.

Post by Custodian » 07 Sep 2016, 09:33

MacDante wrote:@Custodian - itry run this mod in many ways, but i can't run it.

This mod uses same mechanics as teleport or safezone do.

MacDante wrote:I define
...

Your setup seems valid to me. Try to disable other zone mods, like safezone and restzone, and try to reduce radius of zone message from 40 to 10.


MacDante
 
Posts: 95
Joined: 12 May 2015, 10:08

Re: [MOD] BasilMod::ZoneMessage - Set name for zones.

Post by MacDante » 02 Oct 2016, 12:34

You have right all work correctly. But in mod probably is simple bug. Looks like yours mod take value of meter radius like additional divide.
example:
10 in config is max 1-2 meter in game
100 in config is like some about 10-12 meter radius.

in safe zones, heal zone all values in config in game have this same value.

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

Re: [MOD] BasilMod::ZoneMessage - Set name for zones.

Post by Custodian » 12 Feb 2017, 16:21

BasilMod::ZoneMessage has been updated to v2 and now compatible with LiF 64bit.

User avatar
Skyff85
True Believer
 
Posts: 26
Joined: 18 Feb 2017, 15:03
Location: United Kingdom

Re: [MOD] BasilMod::ZoneMessage - Set name for zones.

Post by Skyff85 » 27 Feb 2017, 02:07

Hello.
I use that mod, but this mode having a problem. I can`t put movable things on the ground, where the territory is marked. :(

Return to Game mods