Page 1 of 1

custom "outpost" setups

Posted: Fri May 15, 2015 4:52 pm
by darkwarrior1588
what id like to do is create an outpost or even a store tent setup with an npc to sell potions and the like that i can also have a chocobo npc at then i would like to take this store/outpost deal and duplicate it across areas in my server. i havent looked much into this and i will say that the graphical appearance of an "outpost" isnt necessary if i could just copy a store npc and a choco npc where i want then mod the store npc inventory and prices.

is this possile without going crazy into coding. perhaps a db or npc list mod altering xyz locations?

Re: custom "outpost" setups

Posted: Fri May 15, 2015 6:02 pm
by whasf
You could take one of the "generic" NPCs in the zones that just do general chit-chat and code up their script to do what you want. That'd be the easiest way.

Re: custom "outpost" setups

Posted: Fri May 15, 2015 10:16 pm
by darkwarrior1588
is there a list files of npc and there locations?

Re: custom "outpost" setups

Posted: Sat May 16, 2015 10:36 am
by whasf
No, you'd have to look either in game or one of the wiki's (ffxiclopedia, BG, etc)

Re: custom "outpost" setups

Posted: Sun May 17, 2015 3:25 pm
by darkwarrior1588
I mentioned a data file with npcs and their positions

Re: custom "outpost" setups

Posted: Sun May 17, 2015 10:27 pm
by Delaide
Let me give you an example of the NPCs he is talking about. I call them Babble NPCs. They don't do anything but talk.
They aren't involved in anything. No missions. No quests. No events. No trade this for that. They do nothing other than give a line of dialog and that is it.

Here is a pull request I made adding babble NPCs to Bastok Markets [S]: https://github.com/DarkstarProject/darkstar/pull/1252

These NPCs aren't involved in anything, they just exist. There are NPCs like this all over. Here is one NPC I added: http://wiki.ffxiclopedia.org/wiki/Benjamin

Notice he is not linked to quests, missions, shops, or anything special in the wiki. So, you want an outpost in the middle of Bastok Markets [S], use him. He will not break anything. Put in your custom script and go.

You can find these "babble" NPCs in the locations you want an outpost. Put the custom script in and go.

If you want to know what NPCs are available, look at the wiki: http://wiki.ffxiclopedia.org/wiki/Bastok_Markets_(S)

Here, I see many NPCs:
Adelbrecht (E-8) Campaign Enlistment
Adelheid Sturm (H-7) Campaign General
Adelinde (H-6)
Adjutant (J-9)
Those are just the start. There are many on that list.
Want to know if the NPC already has a script created in DSP? Look it up.
scripts -> zones -> your target zone -> npcs

You will see the scripted NPCs listed there.

For example, in Bastok Markets [S], I see these NPC scripts:
Adelbrecht.lua
Adelinde.lua
AngryBull.lua
Benjamin.lua
Blingbrix.lua
BottomlessGorge.lua
Christoph.lua
Clemens.lua
Heumila.lua
HomePoint#1.lua
Jagaris.lua
Karlotte.lua
Moogle.lua
Porter_Moogle.lua
RedCanyon.lua
Silke.lua
Weldon.lua
Another NPC that isn't there but is listed on the wiki? It hasn't been scripted yet.

Sorry, there is no master list. You will need to do your own homework, and look between DSP code, the wikis that whasf already pointed out to you, and try to figure out which NPC fits your needs.

Re: custom "outpost" setups

Posted: Tue May 19, 2015 4:56 am
by TeoTwawki
if you don't mind your NPC being named "NPC" in the client side display you can also just make up new IDs to use (within the limit of 1024 npc/mob objects per zone). No zone currently even comes close to that, so if you take whatever the last ID in the zone is and just +50 it you are golden.

Custom_Mog.lua ...Custom_Mog.lua everywhere! >.>