Author Topic: Would like advice on creating a transportation system  (Read 470 times)

Legacy_Badwater

  • Full Member
  • ***
  • Posts: 220
  • Karma: +0/-0
Would like advice on creating a transportation system
« on: May 15, 2011, 08:24:54 pm »


               The module I'm building is going to have 6 or 8 cities/settlements that players can travel to. I'd like to set up a transportation system that allows PCs to not have to walk - at a price, of course.

I'm thinking that it will be cleaner and easier if I have one conversation and one script that covers the travel possibilities between settlements. That would mean the NPC or object that a PC is negotiating travel arrangements with would need a reference to know where they're at, and give options and price based on distance. I also think there should be a flag (perhaps trigger based?) that determines whether a PC has actually traveled yet to the place they're trying to get transportation to get to. If you haven't gotten there by foot then you're not going to take a carriage or airship there!

This system would not include water travel; that's handled differently.

If anyone knows of a download that would cover these bases, then great; otherwise, I'd appreciate any advice you might have on putting this together so I don't have a half-dozen conversations and a dozen or more scripts.

Thanks very much!
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #1 on: May 16, 2011, 04:14:01 pm »


               I'd make a teleportation Rune which started a conversation with the PC...

When the PC get's to a town, they can talk to a mage, who can enchant the rune to store a permanent location back to the city, this way the PCs can jump from city to city, once they have reached a city and paid the mage to enchant the rune so that they can teleport back...

This is a pretty popular way of handling teleporting...

Basically you will need a teleportation script for each line in the conversation, and the conversation will need to check to see if the variable is stored on the rune, the mage will natrually place the variable on the rune, for a price...


If you need further help just ask..
               
               

               


                     Modifié par _Guile, 16 mai 2011 - 03:16 .
                     
                  


            

Legacy_Kato -

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #2 on: May 16, 2011, 10:13:42 pm »


               I already have such a system in place in my PW. It's custom, tiny, and works with a single script and a portal stone. It's driven by a dynamic dialog showing the available destinations to user. Each destination sets a variable on a portal stone(each player owns one) so that the player can travel there at will. You can also port to party leader, or to last location where you used your stone. The cost can be changed easily, as for the rest of the parameters, since the script is simple and small. If this is what you're looking for, I'll be happy to share this tiny system with you, it works flawlessly.

I forgot: You need to have ZDialog installed for this system to work. It's well worth it, it will probably help you with most of your dialogs. '<img'>
               
               

               


                     Modifié par Kato_Yang, 16 mai 2011 - 09:33 .
                     
                  


            

Legacy_Badwater

  • Full Member
  • ***
  • Posts: 220
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #3 on: May 18, 2011, 09:41:42 pm »


               I'm not familiar with ZDialog; what's that about and what does it do?
               
               

               
            

Legacy_Kato -

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #4 on: May 18, 2011, 10:11:06 pm »


               Zdialog is a great system written by Paul Speed, allowing you to build dynamic dialogs, or if you prefer, to build conversations programmatically. The system can be found on the vault, and it contains a small demo module to help you get started, along with a bunch of scripts you only need to import. The porting system I mentioned is ready to use with ZDialog '<img'>
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #5 on: May 18, 2011, 10:22:30 pm »


               It is a dynamic conversation system   There is also a second version  ZZ-Dialog 1.0 .  I myself have never used or looked at either one, so can not really give an opinon on useing them. I mormally just write my own dynamic conversations as needed.  
               
               

               
            

Legacy_Badwater

  • Full Member
  • ***
  • Posts: 220
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #6 on: May 19, 2011, 09:28:55 pm »


               Thanks for the feedback, everyone. None of this is quite what I'm after, but the responses have helped me to clarify my thinking insofar as what I would like to be doing instead. I will mull over this a bit more and then get cracking.
               
               

               
            

Legacy_Kato -

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #7 on: May 29, 2011, 03:41:27 am »


                
               
               

               


                     Modifié par Kato_Yang, 29 mai 2011 - 02:47 .
                     
                  


            

Legacy_Taino

  • Sr. Member
  • ****
  • Posts: 268
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #8 on: May 30, 2011, 04:24:34 pm »


               Their is a Wagon Transportation which I think is pretty neat... It kinda makes the player feel as if they are on a actual wagon.
               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #9 on: May 31, 2011, 02:17:45 pm »


               I use a Stargate System myself.

Players choose 6 out of 42 possible rune symbols (ascii characters), and the symbols corospond to numbers and letters.

The order of symbols they choose, can construct a 6 digit string like this

154ab8

Which then tells the stargate that they have to find a Stargate with a matching tag, it then activates both stargates, and when the player walks into the local stargate, it transports them to the stargate they were 'Dialing'.

This system gives unlimited expandability to both travel destinations,
in addition to the ability to have any content you want in the off world locations, it is after all, simulating an off world location. So it can be as different or out of Canon as you want.
               
               

               
            

Legacy_Badwater

  • Full Member
  • ***
  • Posts: 220
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #10 on: June 04, 2011, 06:22:23 am »


               What I'm after is a point-to-point system of non-arcane traveling. I'm not using stones of recall or portals, for the simple reason that I feel a barbarian half-orc is likely to not be able to use such a magical device and would instead just throw it in frustration at something or someone. Said barbarian probably can, however, figure out how to hire a carriage or pay for a ride aboard a ship. That's my rationale, anyway. The mages on our server already have teleporting capabilities.

I was after a script where I could use one conversation for a carriage or boat/ferry ride. The NPC would know where s/he is at and where that particular location connects to at whatever price.
               
               

               
            

Legacy_Badwater

  • Full Member
  • ***
  • Posts: 220
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #11 on: June 04, 2011, 06:27:06 am »


               

_Guile wrote...

I'd make a teleportation Rune which started a conversation with the PC...

When the PC get's to a town, they can talk to a mage, who can enchant the rune to store a permanent location back to the city, this way the PCs can jump from city to city, once they have reached a city and paid the mage to enchant the rune so that they can teleport back...

This is a pretty popular way of handling teleporting...

Basically you will need a teleportation script for each line in the conversation, and the conversation will need to check to see if the variable is stored on the rune, the mage will natrually place the variable on the rune, for a price...


If you need further help just ask..


The problem in application to what I'm doing is that not every settlement or destination I have in mind will have a mage. I'm creating a very low magic world and while magical things will not be rare, they will be uncommon in many places.
               
               

               
            

Legacy_Badwater

  • Full Member
  • ***
  • Posts: 220
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #12 on: June 04, 2011, 06:27:57 am »


               

Taino wrote...

Their is a Wagon Transportation which I think is pretty neat... It kinda makes the player feel as if they are on a actual wagon.


Does anyone know more about this?
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #13 on: June 04, 2011, 07:15:26 am »


               It could be done all in one conversation, but it would be variable and token heavy, each NPC needing to have the locations they can travel to set on them individually.  You could then also either set a specific cost of the travel on each NPC, or use a base cost and multiplier system based on the "distance" between points.

 Are you looking for an immediate jump to point on agreement, or will they have to spend some small amount of time in the back of a wagon as they travel, similar to what PotM had installed a few years back?
               
               

               
            

Legacy_Badwater

  • Full Member
  • ***
  • Posts: 220
  • Karma: +0/-0
Would like advice on creating a transportation system
« Reply #14 on: June 04, 2011, 08:08:19 am »


               If something was available on the back of a wagon, I could see where something like that could be useful. Having some random (including no) encounters is something I could do interesting things with, but I don't have any information on it and what it does, and can therefore make no determination on if I would or could use something like that.

In the absence of anything clever I'll probably use individual conversations. My only concern is hitting resource limits - because we ran into that in our original server, I'm quite conscious of ways to trim resource usage.