[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

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

Post by Custodian » 12 Jun 2016, 18:06

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

All instructions are compatible with steam release of the game.
If you are running your world from LiF Yo client (If you are not using LiF dedicated server, which is also available on steam), then your server root will be "Steam\steamapps\common\Life is Feudal Your Own\server\". Follow the default instruction.

Spoiler


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

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

Post by Sossisska » 12 Jun 2016, 18:21

подскажите пожалуйста...
Spoiler

с горем пополам, вроде получилось, но теперь еще проблема, пытаюсь назначить НПС как в указанном видео на первой странице, после нажатия ctr+f3 ничего не происходит...

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

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

Post by Custodian » 13 Jun 2016, 09:07

Sossisska wrote:с горем пополам, вроде получилось, но теперь еще проблема, пытаюсь назначить НПС как в указанном видео на первой странице, после нажатия ctr+f3 ничего не происходит...

Most likely, default ctrl+f3 bind is already taken by either another LiF control, or some of your system software.
Change keyboard bind at 'Controls' menu to any desired combination.

Spoiler


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

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

Post by Sossisska » 13 Jun 2016, 12:00

[quote="Custodian"][/quote]
удалось достичь того, что НПС появились, но сразу же игра вылет с ошибкой приложения cm_yo_server.exe

так же осталась проблема с тем, что после вылета, игра в стиме считается запущенной, но никаких процессов в диспетчере игры нет, приходится перезагружать комп.

после перезагрузки... не заходит на мой сервер, то ошибка, то время подключения истекло, то вылет приложения cm_yo_server.exe...


Fyoki
True Believer
 
Posts: 32
Joined: 01 Jul 2016, 21:33

Re: [MOD] BasilMod v5 update???

Post by Fyoki » 01 Jul 2016, 21:38

Hi i'm having real trouble findign the version 5 basilmod update from 4 can anyone help me

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

Re: [MOD] BasilMod v5 update???

Post by Custodian » 02 Jul 2016, 10:53

Fyoki wrote:Hi i'm having real trouble findign the version 5 basilmod update from 4 can anyone help me

BasilMod::Pack v5 download link is at corresponding topic.


Fyoki
True Believer
 
Posts: 32
Joined: 01 Jul 2016, 21:33

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

Post by Fyoki » 02 Jul 2016, 14:03

How do i delete wrongly placed npcS?

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 Jul 2016, 14:40

Fyoki wrote:How do i delete wrongly placed npcS?

Remove them from mod config file.


Fyoki
True Believer
 
Posts: 32
Joined: 01 Jul 2016, 21:33

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

Post by Fyoki » 02 Jul 2016, 14:43

Custodian wrote:
Fyoki wrote:How do i delete wrongly placed npcS?

Remove them from mod config file.

Thank you your awesome, this is a learning curve for me.
do i need another mod to add Speech ect to npc's?


Fyoki
True Believer
 
Posts: 32
Joined: 01 Jul 2016, 21:33

HOW TO FIND CHARCTER ID'S

Post by Fyoki » 02 Jul 2016, 16:38

I have got this to work a couple of times now by watching the web console but right now it isnt giving me a character id. is there somewhere in the server database i can look?

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

Re: HOW TO FIND CHARCTER ID'S

Post by Custodian » 02 Jul 2016, 21:01

Fyoki wrote:is there somewhere in the server database i can look?

You can find character id from `character` table in your database.


Dealtime
 
Posts: 4
Joined: 30 Oct 2014, 15:54

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

Post by Dealtime » 26 Jul 2016, 00:50

Hi Custodian,

Have 2 questions for the "future" features of this really nice mod :

#1
If you work a npc mod that can be ennemie npc for event like a bunch of pirates npc attacking village.

#2
If you think it's will be possible to give order to friendly npc to work on your village like have some npc peasants cutting tree, terraforming your terrain , building your wall etc. ( LOT OF WORK probably :P)


I appreciate your excellent work for this game, I wish I could do the same of what you doing. Have so many ideas for life is feudal.

And sry for my english. :beer:

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

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

Post by Custodian » 27 Jul 2016, 07:15

Dealtime wrote:#1
If you work a npc mod that can be ennemie npc for event like a bunch of pirates npc attacking village.

I haven't yet looked into detailes of the last 1.1.2.3 patch, but were no way to make agressive NPCs with modding.

Dealtime wrote:#2
If you think it's will be possible to give order to friendly npc to work on your village like have some npc peasants cutting tree, terraforming your terrain , building your wall etc. ( LOT OF WORK probably :P)

This is a lot of work, indeed.
Although, path routes for NPCs (like traveling merchant along the road between 2 cities) are under development now. Small changes to that behaviour, and custom UI for commands handling can be done to implement some kind of command system for NPCs.

User avatar
RetroLogi
 
Posts: 137
Joined: 29 Dec 2014, 15:49
Location: Italia

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

Post by RetroLogi » 26 Aug 2016, 19:54

I'm looking for a code to program my npc walking or guards patrol. Can anyone tell me how to do? thz

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

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

Post by Custodian » 26 Aug 2016, 20:24

RetroLogi wrote:I'm looking for a code to program my npc walking or guards patrol. Can anyone tell me how to do? thz


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

User avatar
RetroLogi
 
Posts: 137
Joined: 29 Dec 2014, 15:49
Location: Italia

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

Post by RetroLogi » 27 Aug 2016, 19:13

OK, but where can I do this?


Catall
Devoted Believer
 
Posts: 43
Joined: 07 Jul 2016, 11:04

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

Post by Catall » 30 Sep 2016, 08:09

At first i really appreciate the hard work you are doing for the community! I am using many mods you did, thumbs up, great work!

I struggle an Error on NPC mod i can'T get rid off:

I did Setup two NPC guards on our Server for testing purposes.

It seems everythin went fine, NPCs appeared and did what the have to to.

When i took a look at the Server console i saw an Error-message apearing almost every second:

ERRR 2016-09-30 08:24:14.743 {} <> [192520] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:15.767 {} <> [192678] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:16.792 {} <> [192827] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:17.822 {} <> [192975] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:18.837 {} <> [193109] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:19.865 {} <> [193261] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!

I read this thread and changed empty Hands in idle from 0 to 3 knowing the Slot 3 of my NPCs is where the weapon went. i just reloaded NPCs after my Change and did not restart the whole Server. The Error still was the same after my change. Might this be the issue for this error?

Error disapears after removing NPC mod and restarting.

Content of config.cs:
Code: Select all
//NPC: Stadtwache 1
// position = "-2085.61 749.895 1016.45";
// rotation = "0 0 1 182.065";
%npc1 = BasilMod::npc_create(290, "-2085.61 749.895 1016.45", "0 0 1 182.065");
%npc1.addIdle("idle1", "2000 2000", 3);
%npc1.addIdle("1h trickmove2", "6000 3000", 3);
//NPC: Stadtwache 2
// position = "-2085.38 739.239 1016.37";
// rotation = "0 0 1 3.52628";
%npc2 = BasilMod::npc_create(290, "-2085.38 739.239 1016.37", "0 0 1 3.52628");
%npc2.addIdle("idle1", "5000 1000", 3);
%npc2.addIdle("approval", "5000 1000", 4);
//ZONE: Guards
//ZONE: trade greet
// position = "-2088.85 743.778 1016.99";
%zone = BasilMod::npc_zone("-2088.85 743.778 1016.99", "4", "0 500", "honor", 0);
%zone.add(%npc1);
%zone.add(%npc2);


In Addition the following mods are installed and working flawless:
ravens, Chats, motd, gmmanounce, teleport (for coords in gm only).

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

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

Post by Custodian » 30 Sep 2016, 08:36

Catall wrote:I struggle an Error on NPC mod i can'T get rid off:
...
When i took a look at the Server console i saw an Error-message apearing almost every second:

Well, thats something new. I haven't seen such error before. Please, share your server log file with me.


SomeoneD
Zealous Believer
 
Posts: 14
Joined: 10 Jun 2016, 22:49

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

Post by SomeoneD » 12 Oct 2016, 10:31

Catall wrote:At first i really appreciate the hard work you are doing for the community! I am using many mods you did, thumbs up, great work!

I struggle an Error on NPC mod i can'T get rid off:

I did Setup two NPC guards on our Server for testing purposes.

It seems everythin went fine, NPCs appeared and did what the have to to.

When i took a look at the Server console i saw an Error-message apearing almost every second:

ERRR 2016-09-30 08:24:14.743 {} <> [192520] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:15.767 {} <> [192678] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:16.792 {} <> [192827] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:17.822 {} <> [192975] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:18.837 {} <> [193109] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:19.865 {} <> [193261] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!

I read this thread and changed empty Hands in idle from 0 to 3 knowing the Slot 3 of my NPCs is where the weapon went. i just reloaded NPCs after my Change and did not restart the whole Server. The Error still was the same after my change. Might this be the issue for this error?

Error disapears after removing NPC mod and restarting.

Content of config.cs:
Code: Select all
//NPC: Stadtwache 1
// position = "-2085.61 749.895 1016.45";
// rotation = "0 0 1 182.065";
%npc1 = BasilMod::npc_create(290, "-2085.61 749.895 1016.45", "0 0 1 182.065");
%npc1.addIdle("idle1", "2000 2000", 3);
%npc1.addIdle("1h trickmove2", "6000 3000", 3);
//NPC: Stadtwache 2
// position = "-2085.38 739.239 1016.37";
// rotation = "0 0 1 3.52628";
%npc2 = BasilMod::npc_create(290, "-2085.38 739.239 1016.37", "0 0 1 3.52628");
%npc2.addIdle("idle1", "5000 1000", 3);
%npc2.addIdle("approval", "5000 1000", 4);
//ZONE: Guards
//ZONE: trade greet
// position = "-2088.85 743.778 1016.99";
%zone = BasilMod::npc_zone("-2088.85 743.778 1016.99", "4", "0 500", "honor", 0);
%zone.add(%npc1);
%zone.add(%npc2);


In Addition the following mods are installed and working flawless:
ravens, Chats, motd, gmmanounce, teleport (for coords in gm only).

I also have this problem with any configuration

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

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

Post by Custodian » 12 Oct 2016, 10:41

SomeoneD wrote:I also have this problem with any configuration

This problem is under investigration. Latest patches caused such behaviour due to internal changes.


Larainan
 
Posts: 83
Joined: 08 Sep 2015, 15:19

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

Post by Larainan » 26 Oct 2016, 11:53

Oh good I thought it was just me. Teleport works for just the coords and I can even get the teleport message when I step into the teleport area specified but I don't go anywhere. Now that I know there is an issue with fancy cities as well I'll wait to try it. I got ravens working ok until I restarted the server now it wont run and causes players to loop on mod installation.

User avatar
RetroLogi
 
Posts: 137
Joined: 29 Dec 2014, 15:49
Location: Italia

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

Post by RetroLogi » 02 Nov 2016, 11:26

[REPORT]

Hi Basil, mod has problems after the last patch, the NPC spawn without equipment..


SomeoneD
Zealous Believer
 
Posts: 14
Joined: 10 Jun 2016, 22:49

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

Post by SomeoneD » 09 Nov 2016, 00:37

RetroLogi wrote:[REPORT]

Hi Basil, mod has problems after the last patch, the NPC spawn without equipment..

+1 :sorry:

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

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

Post by Custodian » 09 Nov 2016, 09:19

RetroLogi wrote:[REPORT]
Hi Basil, mod has problems after the last patch, the NPC spawn without equipment..

Thanks for the report. This is a known issue with latest LiF:Yo versions.
Unfortunately, there is no ETA for the fix.

User avatar
RetroLogi
 
Posts: 137
Joined: 29 Dec 2014, 15:49
Location: Italia

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

Post by RetroLogi » 09 Nov 2016, 10:32

Custodian wrote:
RetroLogi wrote:[REPORT]
Hi Basil, mod has problems after the last patch, the NPC spawn without equipment..

Thanks for the report. This is a known issue with latest LiF:Yo versions.
Unfortunately, there is no ETA for the fix.



No problem mate, so much ever time you need, you take the time.


Mikelinsenmayer
 
Posts: 1
Joined: 14 Oct 2014, 15:11

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

Post by Mikelinsenmayer » 14 Jan 2017, 04:14

Anyupdates?

Also see this error message in console

ERRR 2017-01-13 20:07:52.368 {} <> [169151] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2017-01-13 20:07:53.390 {} <> [169745] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2017-01-13 20:07:54.415 {} <> [170352] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2017-01-13 20:07:55.438 {} <> [170933] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2017-01-13 20:07:56.463 {} <> [171513] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!

Also wont despawn npc's

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 Jan 2017, 18:19

Mikelinsenmayer wrote:Anyupdates?

No updates so far.


Goolah13
 
Posts: 2
Joined: 27 Jan 2017, 22:13

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

Post by Goolah13 » 27 Jan 2017, 22:21

Hi. First off thank you for the effort that you have out into these mods.

I am having trouble getting this to work. I believe that I have everything installed correctly. I have the keybinds options, the config file is updated when I add an NPC in game, but I can't get an NPC to actually show up in game.

I have been using the "Character ID" from the database. For example, the ID in the database is 5 so I changed the config to the following:

%npc = BasilMod::npc_create(5, "1649.51 -1601.68 1011.55", "0 0 1 2.74661");

Is that correct?

Thanks.


Alakar
Beta Tester
 
Posts: 202
Joined: 23 Jan 2015, 07:39

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

Post by Alakar » 28 Jan 2017, 00:21

Goolah13 wrote:Hi. First off thank you for the effort that you have out into these mods.

I am having trouble getting this to work. I believe that I have everything installed correctly. I have the keybinds options, the config file is updated when I add an NPC in game, but I can't get an NPC to actually show up in game.

I have been using the "Character ID" from the database. For example, the ID in the database is 5 so I changed the config to the following:

%npc = BasilMod::npc_create(5, "1649.51 -1601.68 1011.55", "0 0 1 2.74661");

Is that correct?

Thanks.


This mod does not work atm and he just said no updates on to when.

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

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

Post by Custodian » 28 Jan 2017, 10:55

Goolah13 wrote:Is that correct?

Your config is correct, but as Alakar mentioned, mod is not yet compatible with current game version.

Return to Game mods