custom "outpost" setups

Post Reply
darkwarrior1588
Posts: 22
Joined: Sun May 10, 2015 4:45 am

custom "outpost" setups

Post by darkwarrior1588 » Fri May 15, 2015 4:52 pm

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?

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: custom "outpost" setups

Post by whasf » Fri May 15, 2015 6:02 pm

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

darkwarrior1588
Posts: 22
Joined: Sun May 10, 2015 4:45 am

Re: custom "outpost" setups

Post by darkwarrior1588 » Fri May 15, 2015 10:16 pm

is there a list files of npc and there locations?

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: custom "outpost" setups

Post by whasf » Sat May 16, 2015 10:36 am

No, you'd have to look either in game or one of the wiki's (ffxiclopedia, BG, etc)
-- Whasf

darkwarrior1588
Posts: 22
Joined: Sun May 10, 2015 4:45 am

Re: custom "outpost" setups

Post by darkwarrior1588 » Sun May 17, 2015 3:25 pm

I mentioned a data file with npcs and their positions

Delaide
Posts: 478
Joined: Sat Jun 14, 2014 8:58 am

Re: custom "outpost" setups

Post by Delaide » Sun May 17, 2015 10:27 pm

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.

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: custom "outpost" setups

Post by TeoTwawki » Tue May 19, 2015 4:56 am

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! >.>
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

Post Reply