Fake players...npc_player scripts
I finally feel ok with posting this first draft of an idea I had. Two files, one is for any npc you wish to simulate as a random player. The other (plugin) supports the first.
I hope the info in the scripts explains what is needed to do. If not please feel free the PM me. Any questions will enable me to better narrate how to use my silly scripts. I am a solo player, running my own private server. The world felt a bit empty. So I started to see about filling it in a bit. For example, I no longer feel alone seeing "newbie" players (npc_player) in Kelethin...running around killing mob next to me. You might want to change the random names...add more etc. This is an organic work. I do plan on expanding the capabilities. Better name choice, etc. But for now the npc_player running around and being a newbie works well. Scripts posted below... |
Script for npc_player...
Code:
#################################### |
Plugin to support previous script...
Code:
#################################### |
New draft...
Here are my new scripts for the idea of a npc_player. PM me if you have questions.
https://github.com/WarAngel-Eric/EQEmu-Plugins_Final https://github.com/WarAngel-Eric/EQEmu-Quests_Final |
/subscribed
|
Updated npc_player scripts.
https://github.com/WarAngel-Eric
Added an ability to 50/50 change the gender of the npc on spawn. Effectively reducing your npc_types database my half, if you want. If your looking to have a set of npc_players keep to a certain gender then copy the quest script and comment out or remove the gender plugin call. |
Pm or DM me if anyone needs better clarification on how to use these scripts.
|
Just for clarification sake on my end. I would need to do the following things.
1. Add your wa_Plugin.pl in to my eqemu/plugins folder and not the eqemu/quest/plugins folder. 2. Then you edit and add the (database_name of npc_player).pl script into the eqemu/quest/(zonename) folder while making the file match the name of the newly created NPC. Do these NPCs have a range? Do I need to make sure the spawn location is close to things I'd want them to "hunt" or make seem not empty? |
https://github.com/xXxWarAngelxXx/EQ...Plugins_Master
https://github.com/xXxWarAngelxXx/EQ...npc_player).pl @Rakkoraz05 Cool to see that you might find this usefull. As far as to your questions... I am going to assume for now that you have knowledge on making quest scripts or modifying the quest scripts for NPCs. In other words, in those NPC quest scripts...adding or changing the call on the plugin(s). 1. Correct. As far as I know, all plugins should go here for reference by the game and quest scripts (.lua/.pl files) 2. Correct. Now the individual NPC quest script must call on the plugins that you want to use. So I included a link to what I use in my game for an example. Yes they can have a range. Look at "plugin::wa_KillMode(400, 1200); #Change the ranges for customizing the npc_player min and max agro radius" at the top of the plugin.pl script. You can set your min/max ranges there. Just now do I realize I need to re-address the range part. As I see that it would be wise to set ranges in the NPC quest scripts so the individual NPC ranges can be specific to themselves. I will look into making it have the script do a check for a individual range before using a general range that is in this plugin...need time on this though. |
@Rakkoraz05
Also, do you have a Discord account set up? DMing or some say PMing there is ssooo much easier to help in a timely matter. Here in the Forums is nice, but there I can really help. And solicit others to help a bit easier. |
Should be noted that I have been away for a few months. Had some...difficulties in RL. And my computer I use for developing or doing mods is under an upgrade. So my files I use to answer questions are in a hard drive in a anti-static bag. Waiting to be set free in a new comp.
Soon though...soon. |
All times are GMT -4. The time now is 01:16 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.