Rvnimwegen wrote:I would love it if the mod gets updated, my city looks so empty now. Any chance we will be seeing this mod working soon or is it dead?
Kind regards
BasilMod::Pack as a requirement of this mod is being updated. After that, NPC mod also should be updated.
Hey, Nice work! I saw a post stating that you were in the process of updating both the base Basil mods, and the Npc mod as well, might I inquire as to when this may be in a usable state, a few of us have recently purchased a server and Npc's are high on our list of wants, Sorry to bother, you prolly get asked this 1000 times a day. Just curious and thanks for you time
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!
Guards salute while you pass them. Blacksmith working on his own. AuctionHouse vendor welcomes you to trade, while another customer checks his new suit. Citizens at town square are listening to the monks' sermon about True Gods. Thief hides inside the warehouse and guards tries to get him. Housekeeper warmly welcomes you on your arrival.
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).
Download all files and place to folder "BasilMod/NPC/" of server root.
add this line to the end of file "main.cs" of the server after BasilMod::Pack: exec("BasilMod/npc/npc.cs");
Start server.
Configuration.
Spoiler
This mod requires certain skill from server admin (or the person responsible for mod maintenance). At this time, you would need basic SQL and scripting knowledge to successfuly configure this mod.
General mod configuration
Spoiler
BasilMod::NPC provides following function which can be used for NPC manipulations.
BasilMod::npc_init(); Reload NPC config. You can issue this command directly from server console, or via keybind from client in GM mode.
BasilMod::npc_clear(); Remove all NPCs from server. Reload with empty config fill with do the same.
BasilMod::npc_zone(); Core function for creating action zone for NPC. NPC reacts when player enters such zone.
"lowerbound_delay upperbound_delay" Interval in milliseconds which should be used by NPC for performing action. Random delay from the interval will be used. For constant duration upperbound can be omited.
"state" Animation which should be used for action
"hands" Equipment slot which should be used in hand during action.
Function returns Zone object, which can be used for NPC connection, with .addNpc function:
ID Chracter ID which should be used for appearance and equipment. You may use same ID for multiple NPCs. Chracters used for NPC will be hidden from your character selection window, they will be marked as inactive characters. If you would like to login into character, you should make it active at your database.
"position" Position of NPC character
"rotation" Rotation of NPC chracter
Result: This function will return the NPC Character object, which can be connected to action zone, or altered with extra animations. By default, every NPC character has idle animation performed in a loop. If you would like to alter animations, you should use .addIdle function. If NPC character has multiple idle animations, they are executed in a loop in random order according to duration bounds.
"lowerbound_duration upperbound_duration" Interval for animation duration in milliseconds. Random value will be selected from the interval. or constant duration upperbound can be omited.
"hands" Equipment slot which should be used during animation.
Template config generation.
Spoiler
You can generate template config while in GM mod with special binds. Issued actions are appended to template config content_update.cs file, which is located at BasilMod/NPC/content_update.cs.
Place NPC character (ctrl + f1) Add new NPC character placement to template config. Current character position and rotation will be used as a source.
Place NPC Zone (ctrl + f2) Add new NPC action zone to template config. Current character position will be used as zone location center.
Reload NPC config (ctrl + f3) Reload mod config from config.cs. This may cause different artifacts. Mostly a debug function, for initial mod configuration.
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.
Merhaba,Ben Hasret. Hello, I am Hasret.I'm playing lif yo.All I wanted was to download the required mods and play Basilmod: Npc. I set up my own server but didn't make any special settings.. I would be very happy if you reply to this text.I'd like to know what to do step by step please.. *No changes in game files (fresh) *I'm use to Google translate