[MOD] BasilMod::NPC - Fancy cities!

Place for sharing your game modifications for Life is Feudal: Your Own
User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

[MOD] BasilMod::NPC - Fancy cities!

Post by Custodian » 27 Nov 2015, 20:17

Greetings feudalists!

Are you tired of boring GM cities where nothing happens and you feel alone, when less than 30 people online?
With BasilMod::NPC its not a problem anymore!

Create, place and script NPC to fear your enemies and add glory to your kingdom!

This mod requires BasilMod::Pack v5+ to be installed and running on the server.
This mod is part of BasilMod::Bundle.

Long story short, here is video.

Spoiler


This mod works well in conjuction with quests, storylines and merchandise mods. This allow you to create truly RP-PVE server with unique storyline.

NPC can do their own business, can react to player actions and movement. They can be global (same state for everybody on server) or local (personal actions for every player who interact with NPC, i.e while you advance along the quest chains).

:friends:

Video tutorials
Spoiler


Server-side installation.
Spoiler


Configuration.
Spoiler


Current public release does not provide support for animation transitions, mounts, animals, action queues and NPC movement.

This mod is still under development. Expect various issues on mod config reload or server shutdown.
Last edited by Custodian on 07 May 2016, 23:29, edited 10 times in total.


Jjreed
 
Posts: 6
Joined: 19 Mar 2014, 23:33

Re: BasilMod::NPC - Fancy cities!

Post by Jjreed » 28 Nov 2015, 05:35

awesome cant wait to try it. Is there a place that explain how install your mods. Keep up the great work.

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

Re: BasilMod::NPC - Fancy cities!

Post by Custodian » 28 Nov 2015, 09:10

Jjreed wrote:awesome cant wait to try it. Is there a place that explain how install your mods. Keep up the great work.

Each mod, which is ready for public use, have installation and configuration notes at end of first thread post.


Jjreed
 
Posts: 6
Joined: 19 Mar 2014, 23:33

Re: BasilMod::NPC - Fancy cities!

Post by Jjreed » 29 Nov 2015, 06:18

okay thanks and thanks for fast reply cant wait tel this one is ready


Keoir
 
Posts: 13
Joined: 18 Dec 2015, 18:20

Re: BasilMod::NPC - Fancy cities!

Post by Keoir » 18 Dec 2015, 18:24

Is there a download link for this mod yet? I saw it is part of a large set of RP packs, but I could not find where to download it at.

- keoir

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

Re: BasilMod::NPC - Fancy cities!

Post by Custodian » 19 Dec 2015, 19:37

Keoir wrote:Is there a download link for this mod yet? I saw it is part of a large set of RP packs, but I could not find where to download it at.

- keoir

This mod is not yet available for wide release due to configuration difficulties.


Exodius
 
Posts: 2
Joined: 26 Dec 2015, 07:18

Re: BasilMod::NPC - Fancy cities!

Post by Exodius » 31 Dec 2015, 19:47

Would really love to see this!
Is there a way to make the trader post work?
Thats what i would like the npcs for.. Trading!
But if otherwise works aswell, id be very interested

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

Re: BasilMod::NPC - Fancy cities!

Post by Custodian » 31 Dec 2015, 21:03

Exodius wrote:Is there a way to make the trader post work?
Thats what i would like the npcs for.. Trading!

Expect AuctionHouse and Merchandize mods.

User avatar
Darkbouzouf
Beta Tester
 
Posts: 19
Joined: 25 Nov 2014, 00:02

Re: BasilMod::NPC - Fancy cities!

Post by Darkbouzouf » 24 Jan 2016, 11:58

I'm probably the 10 521 st to say that i appriciate your job but anyway i hope it's still fine for you to read it :good:


Any estimated time of arrival for this mod ?
Can't wait for it.

By the way i'd like to introduce some monney in game so we decided to create a list of things that a Gm can buy and prices and we spawn gold/silver/copper coin to trade and introduce monney but it takes a lot of time for GM...

- can we dream that your NPC will be abble to create a trade window with a player and give them the correct quantity of coins for each stuff sold ?

(config file could be set for what to sell / what to buy / prices and of course the limited quantity of what NPc sell / buy because if you set no limit you can imagine someone being rich by farming always the most efficient thing to sell wich is not the purpose...)


Have a nices day dudes
Image

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

Re: BasilMod::NPC - Fancy cities!

Post by Custodian » 24 Jan 2016, 13:02

Darkbouzouf wrote:Any estimated time of arrival for this mod ?
Can't wait for it.

No ETA. Soon(tm).

Darkbouzouf wrote:- can we dream that your NPC will be abble to create a trade window with a player and give them the correct quantity of coins for each stuff sold ?

You will be able to do it with merchandize(sells unlimited/or conditional amount of goods to players) and auctionhouse(gm can place items with specifics prices) mods.


Cratos
Zealous Believer
 
Posts: 4
Joined: 30 Jan 2016, 16:50

Re: BasilMod::NPC - Fancy cities!

Post by Cratos » 31 Jan 2016, 10:09

How do I get the coordinates??

User avatar
Fiko
True Believer
 
Posts: 15
Joined: 17 Sep 2015, 13:58

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Fiko » 04 Apr 2016, 02:20

Any news about this one? We are really excited about this as the whole server! :)
Image
Image

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

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Custodian » 04 Apr 2016, 18:06

Fikoleite wrote:Any news about this one? We are really excited about this as the whole server! :)

Not yet ready for public release :pardon:

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

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Custodian » 05 May 2016, 21:27

Okay, RP'ers, you pushed too hard :friends:

Make sure your servers are powered with BasilMod::Pack v5.
Something is coming!
Spoiler


Start to look for the spots at your GM and Event cities :crazy:
Last edited by Custodian on 05 May 2016, 22:00, edited 1 time in total.


Dnice
 
Posts: 1
Joined: 05 May 2016, 21:29

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Dnice » 05 May 2016, 21:31

Wow, absolutely amazing work. This should really add some flair to creative server owners.

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

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Custodian » 07 May 2016, 22:28

Hype hype hype!

Head post updated with download, installation and configuration information, as well as video tutorials.

Tutorial: Gate with NPC guards


Tutorial: House worksite


:Yahoo!:

User avatar
Cattoaster
 
Posts: 110
Joined: 03 Nov 2014, 16:13
Location: Medieval Germany

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Cattoaster » 07 May 2016, 23:23

:Yahoo!:
I can't say it enough, thanks for your awesome skills and interests to improve our YO experience with your mods!

Woohoo, downloading!


Halvdal
 
Posts: 107
Joined: 20 Jan 2016, 13:36

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Halvdal » 07 May 2016, 23:44

Great mod!

I don't have these keybinds in my controls and i got this error:

Spoiler

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

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Custodian » 07 May 2016, 23:53

Halvdal wrote:Great mod!
I don't have these keybinds in my controls and i got this error:
Spoiler

This is server-side mod. You should install and run it on your server.


Halvdal
 
Posts: 107
Joined: 20 Jan 2016, 13:36

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Halvdal » 08 May 2016, 04:46

Sorry, the error comes from my client. The mod is active on my server but i don't have any keybinds for placing npcs or zones.

Mod and basilmodloader are up-to-date.


Catherine
 
Posts: 31
Joined: 01 Mar 2016, 10:00

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Catherine » 08 May 2016, 07:19

Halvdal wrote:Sorry, the error comes from my client. The mod is active on my server but i don't have any keybinds for placing npcs or zones.

Mod and basilmodloader are up-to-date.



may i ask you how u get the basil working on ur server?
the host wont let me use the .exe in the files. i get no where any answere's.
would be great if anyone can help me :( we have it all in our clients etc but server side... not allowed to put the: base64encoder.exe in to the server files.

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

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Custodian » 08 May 2016, 08:49

Halvdal wrote:Sorry, the error comes from my client. The mod is active on my server but i don't have any keybinds for placing npcs or zones.

Yep, my mistake in release files. :cry:
Please redownload the mod. Server log should say that v2 was loaded.

Padme wrote:we have it all in our clients etc but server side... not allowed to put the: base64encoder.exe in to the server files.

base64encoder required for content syncronization between client and server.
As a general solution, I sugget you change your hosting provider. Some of them officially supports BasilMods.
If syncronization is not available, your player must manually download "client" folder of the mod and place its content to "basilmod/npc/" on their computers. If they wont do this, mod will malfunction.

User avatar
Fiko
True Believer
 
Posts: 15
Joined: 17 Sep 2015, 13:58

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Fiko » 14 May 2016, 11:03

Hey Basil,

Thanks for the awesome mod! However, we are getting some complaints about lag after implementing the mod. We have 12 NPCs located at our GM harbour.

Do you think the mod can cause lag?

Thank you! :beer:
Image
Image

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

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Custodian » 14 May 2016, 11:35

Fikoleite wrote:Do you think the mod can cause lag?

It depends on your NPC configuration and timings. You can increase certain timings to reduce serverload if actions are looped (i.e. sawing, mining, etc), if you NPC only do this kind of action.

Try to remove all actions added to you NPCs, or remove all NPCs, or disable NPC mod and ask your players(but dont say what you done, say like 'an optimization was made') if they notice any lags, or performance changes.

Future version of NPC mod will provide an action queue, so less processing will be required by the server, which should cause overall performance incsease for non-movable NPCs.
But movable NPC will require pathfindings between way points, so it would lag a lot :crazy:

User avatar
Fiko
True Believer
 
Posts: 15
Joined: 17 Sep 2015, 13:58

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Fiko » 14 May 2016, 12:03

Custodian wrote:
Fikoleite wrote:Do you think the mod can cause lag?

It depends on your NPC configuration and timings. You can increase certain timings to reduce serverload if actions are looped (i.e. sawing, mining, etc), if you NPC only do this kind of action.

Try to remove all actions added to you NPCs, or remove all NPCs, or disable NPC mod and ask your players(but dont say what you done, say like 'an optimization was made') if they notice any lags, or performance changes.

Future version of NPC mod will provide an action queue, so less processing will be required by the server, which should cause overall performance incsease for non-movable NPCs.
But movable NPC will require pathfindings between way points, so it would lag a lot :crazy:


Got it, cheers! :good:
Image
Image


FrittiDeluxe
 
Posts: 1
Joined: 20 May 2016, 21:43

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by FrittiDeluxe » 21 May 2016, 01:06

Hey,
first of all: amazing work :good:

So I decided to create a whole new world on my computer, making my LiF server and client (my gf will join this server later on, after I worked out how to use all your mods).

I installed/copy-pasted all the needed files as you explained.

Then I used the CTRL+F1 and +F2 function to create a testing npc + area, copypasted the text from config_update.cs to config.cs, so it kinda looked like that:

Spoiler


At first I had some problems with the client-based options I guess, then I just deleted all mod files but kept the server-files in /server, so my client "downloaded" all the needed client files again.

That helped me to get rid of this console warn:

Spoiler


But there is still an error and I totally dont know how to solve it:
Spoiler


So I think I managed some things wrong and I hope to find any help you can offer - thanks in advance! :good:

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

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Custodian » 21 May 2016, 08:55

FrittiDeluxe wrote:
Code: Select all
%npc.addIdle("idle1", "5000 1000", 0);
%zone = BasilMod::npc_zone("2159.03 2286.78 1016.83", "4", "0 500", "welcome", 0);


You should not use 0 as a used slot value for the idle or actions. If hands should be empty, omit argument, or use "" (empty quotes).


FrittiDeluxe wrote:But there is still an error and I totally dont know how to solve it:

If you reload mod multiple times and has multiple disconnects, there could be different issues. While you are configuring this mod, you can start mod with empty confing, and after you have connected to the server, place/update your config and then reload mod.


Tycomaru
 
Posts: 3
Joined: 02 Jun 2016, 01:14

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Tycomaru » 02 Jun 2016, 06:52

When trying to run the mod on server, it keeps reading "Error can not find file for player 0" and repeats continually

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

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Custodian » 02 Jun 2016, 08:28

Tycomaru wrote:When trying to run the mod on server, it keeps reading "Error can not find file for player 0" and repeats continually

Make sure you have created your NPC character, and used its characterID for NPC placement.
Share your log, as I haven't seen "Error can not find file for player" message before.


Sossisska
 
Posts: 3
Joined: 12 Jun 2016, 07:53

Re: [MOD] BasilMod::NPC - Fancy cities!

Post by Sossisska » 12 Jun 2016, 17:46

распишите пожалуйста как установить данную модификацию не на отдельный какой то сервер, а на скаченную игру в стиме. Ну чтобы когда создаешь Мой мир, этот мод можно было испоьзовать

Return to Game mods