Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Adding custom NPCs #52

Open
madhandennis opened this issue Jun 29, 2024 · 1 comment
Open

Question: Adding custom NPCs #52

madhandennis opened this issue Jun 29, 2024 · 1 comment

Comments

@madhandennis
Copy link

Hi,

Is it possible to add custom NPCs without modifying the code? For example, I would like to add the Assistant NPC from https://github.com/noisiver/mod-assistant. Doing a .npc add 9000000 doesn't seem to work. Any suggestions?

Thanks!

@mlsgames-mschenck
Copy link

yes but you have to modify the sql in acore_world. you can do .npc add temp 9000000 but every time the server restarts you will have to add her back.

Here is the sql to add the Assistant NPC, i put her on the top floor near the secondary skill trainers. i am also attaching a file with a number of other NPC that i added as well as a cookpot as i could not find one.
GuildHouseCustomObjects.txt

insert into acore_world.creature (id1,id2,id3,map,zoneId,areaId,spawnMask,phaseMask,equipment_id,position_x,position_y,position_z,orientation,spawntimesecs,wander_distance,currentwaypoint,curhealth,curmana,MovementType,npcflag,unit_flags,dynamicflags,ScriptName,VerifiedBuild,CreateObject,Comment) values (9000000,0,0,1,0,0,1,11,0,16224.19,16303.937,29.262074,6.22119,300,0,0,10635,0,0,0,0,0,'',null,0,'Assistant');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants