81 posts in this topic

ETG Fast Travel System

by
Kellojo

 

 

Description:

This script allows you to travel between markers very fast with a nice camera journey.

ETG Fast Travel System Youtube Video

 

Features:
dynamic price (based on distance)
dynamic travel time (based on distance)
a nice camera journey
easy to implement (using markers)
easy to modify (only one array)
server friendly

 

Installation:

1. Add to init.sqf:

fn_ftravel = compile preprocessFile "scripts\fn_ftravel.sqf";

2. Add to description.ext:

#include "dialogs\defines.hpp"
#include "dialogs\FastTravelDialog.hpp"

class RscTitles {
    #include "dialogs\FastTravelHUD.hpp"
};

3. Add this code to an action or sth. else where you want the fasttravel dialog to be opend

createDialog "ETG_FastTravelSystem_Dialog";

or add this action to any object you like...

this addAction ["Fast Travel System", {createDialog "ETG_FastTravelSystem_Dialog";}];

4. Install @happydayz's Update Respect/Poptabs and save to database addon (is required to remove the pop tabs)

Update Respect/Poptabs and save to database

 

How can i add new destinations?:

Spoiler

 

1. Go to scripts\fn_ftravel.sqf and add markernames to the _Citys Array:  


_Citys = ["ftravel_Athira","ftravel_Pyrgos","ftravel_Sofia"];

It is important that these are names of markers!!! ( the position of the marker is important - put them in your traderzone...)  

 

 

How can i tweak the price and the travel time?:

Spoiler

 

1. Locate and open the fn_ftravel.sqf in the scripts folder

2. In line 11 & 12 you can find this code:


_distPriceMult = 0.005; //(price = distance * _distPriceMult)
_distTimeMultip = 5; //(time = distance * _distTimeMultip)

3. Edit the values to you likings

 

 

Notes:
If you have any ideas or found some bugs/errors feel free to add me on Steam ( Kellojo ) and tell me about them.


License/Disclaimer:
You can use this script on your servers and missions and are allowed to modify it however you want.
Its not necessary to give credit to me but it would be appreciated.

 

Download:

Link to the GitHub repository of the ETG Fast Travel System

Link to the ETG Fast Travel System

 

Screenshots:

Spoiler

etg-fast-travel-system-01-v1.0_3.jpg

 

 

Edited by Kellojo
  • Like 2

Share this post


Link to post
Share on other sites
Advertisement

The link i downloaded "etg-fast-travel-system-version-2.0.rar" have that things on it:

fn_crashdrop.Altis

Exile_Classnames.txt

fn_crashdrop.sqf

Screen1.png

Screen2.png

Screen3.png

Screen4.png

Screen5.png

I seem that file is wrong.

  • Like 2

Share this post


Link to post
Share on other sites
1 hour ago, Kellojo said:

Lol :swear: Really sorry I have uploaded the wrong files :D

Yea xD but now its working well, thank you!

Edited by Jose Mari
  • Like 1

Share this post


Link to post
Share on other sites
3 minutes ago, El Nastrados said:

hi can you send  me plz your Mission.sqm it dosent works for me. Thanks

I don't have it installed yet, only say the link works well now. Sorry!

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.