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?
custom "outpost" setups
Re: custom "outpost" setups
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.
-- Whasf
-
- Posts: 22
- Joined: Sun May 10, 2015 4:45 am
Re: custom "outpost" setups
is there a list files of npc and there locations?
Re: custom "outpost" setups
No, you'd have to look either in game or one of the wiki's (ffxiclopedia, BG, etc)
-- Whasf
-
- Posts: 22
- Joined: Sun May 10, 2015 4:45 am
Re: custom "outpost" setups
I mentioned a data file with npcs and their positions
Re: custom "outpost" setups
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:
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:
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.
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:
Those are just the start. There are many on that list.Adelbrecht (E-8) Campaign Enlistment
Adelheid Sturm (H-7) Campaign General
Adelinde (H-6)
Adjutant (J-9)
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:
Another NPC that isn't there but is listed on the wiki? It hasn't been scripted yet.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
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
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! >.>
Custom_Mog.lua ...Custom_Mog.lua everywhere! >.>
Hi, I run The Demiurge server.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
DO NOT PRIVATE MESSAGE ME ABOUT BUGSPLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE