-
Notifications
You must be signed in to change notification settings - Fork 545
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
[LUA/SQL] Add Carpenters' Landing barge #5790
base: base
Are you sure you want to change the base?
Conversation
9d0780a
to
3de21f5
Compare
local ID = zones[xi.zone.PHANAUET_CHANNEL] | ||
|
||
return { | ||
['Eunirange'] = { messageSpecial = ID.text.ARE_WE_THERE_YET }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If its an event it would be in the capture.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npc:showText(7217)
or something similar. Using the variable instead of a magic number of course
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry based on this you probably want
player:showText(npc, 7217, timeLeft)
etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That does work, it turns them towards you and they get stuck in that direction but it's better than nothing I suppose.
scripts/globals/barge.lua
Outdated
player:addKeyItem(xi.ki.BARGE_TICKET) | ||
player:messageSpecial(ID.text.KEYITEM_OBTAINED, xi.ki.BARGE_TICKET) | ||
else | ||
player:messageSpecial(7440) -- too poor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was able to get the NPC to say it using player:showText()
but you still get the thank you message before the too poor message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not at a computer to check, but it could be due to default actions being called because the onTrigger isn't starting an event
It seems like some of the timings for leaving the barge/channel zone don't line up exactly with retail (when it triggers the transport event), is there any way to tweak that? This mostly affects arriving at the North and South landings when the boat is out of service and restarts. |
3de21f5
to
1133165
Compare
I did the barge for ASB (over 1.5 years ago at this point) and trying to get anything to line up, even with proper captures is very difficult. Its all in the sqls with time offsets, waiting, anim arrive, anim depart. I got them as close as I could but if you can get them even better more power to ya 💪 |
1133165
to
9ef0979
Compare
Co-authored-by: Frankie-hz <105882754+Frankie-hz@users.noreply.github.com> Co-authored-by: Abdiah <62350957+dallano@users.noreply.github.com>
9ef0979
to
7fbf0f4
Compare
I affirm:
What does this pull request do?
Adds Carpenters' Landing barge interactions and transport records. Based on a combination of ASB's implementation of the barge, manaclipper.lua, and retail captures:
https://www.youtube.com/watch?v=1Mxu0rIvjC8
https://www.youtube.com/watch?v=JER9lZEIQrA
https://www.bg-wiki.com/ffxi/Phanauet_Channel
Each trip removes 1 use/ticket regardless of landing, if you have no ticket you'll get booted and a unique cutscene will play depending on which landing you're at. The docking order is as follows: Central > South > North > Central > South. Upon arriving at the North or South Landings the boat will drop passengers off and then exit without letting anybody on. A new boat will then appear and allow players to get on coming from the same direction that the previous boat left.
Timings could be a bit better but this is a good start. NPCs on the boat still need work as do the NMs, although one seems to be implemented already.
Resolves #97
Steps to test these changes
North Landing !pos -302 -2 505 2
Central Landing !pos -137 -2 60 2
South Landing !pos 230 -2 -530 2