+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: [RELEASE] (Multi) Exit Point Controller

  1. #1
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,564

    Default [RELEASE] (Multi) Exit Point Controller

    The (Multi) Exit Point Controller
    This lets you change the exit point of vehicles easily using either (per vehicle) localized positions or a common global position.
    It has an array input, and that means my Adv Entity marker is EXTREMELY useful for this. So I suggest getting both.

    To use it, simply get an array of all the vehicles you want to use and wire Position to something. Remember that Global determines if it's a local or a global position. If you wire Global to 0 (or leave it unwired) it will use the position localized to the vehicle.

    Since this could be abused A LOT: Get an E2 that finds all the vehicles on the entire map and outputs them to the exit point controller. With this you could (if I hadn't prevented this) teleport any exiting player to a position of your choice. For example into an anti noclipped box.
    Because of this, I added some checks which use CPPI (So remember! If you don't have CPPI, people _WILL_ be able to abuse this).

    (CPPI is what most prop protections use, according to Feha. I've not confirmed it, but I trust him. I do know that SPP uses it.)

    The allowance check works like this. Any one of these conditions must be met for the player to be teleported.
    ---- If the server has CPPI
    - if the owner of the vehicle is equal to the owner of the exit point
    - if the exiting player has the owner of the exit point in PP Friends
    - if the owner of the vehicle has the owner of the exit point in PP Friends
    ---- If the server does not have CPPI
    - if the distance between the exit point and the vehicle is less than 1000

    Video
    http://www.xfire.com/video/256492/

    Download
    You need to use SVN to download this. Use the SVN tutorial in my signature if you need to.
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Or direct link:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/Exit%20Point%20Controller
    Last edited by Divran; 03-22-2010 at 03:18 AM.
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

  2. #2
    Wiremod Helper Donkie's Avatar
    Join Date
    May 2008
    Location
    Sweden
    Posts
    1,656

    Default Re: [RELEASE] (Multi) Exit Point Controller

    You make to much useful stuff, not much left to make. Lol.
    Great job!
    Get out. Seriously, do it.

  3. #3
    Wire Sofaking ShadowBrain's Avatar
    Join Date
    Oct 2008
    Location
    Where you live.
    Posts
    910

    Default Re: [RELEASE] (Multi) Exit Point Controller

    Can't you just make it so that you can only edit the exit point of your own vehicles? would make the spp thing unneeded since its the players choice to get in the vehicle then.
    I maek 3D mdoels adn paly veido gaems!

  4. #4
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,564

    Default Re: [RELEASE] (Multi) Exit Point Controller

    Quote Originally Posted by ShadowBrain View Post
    Can't you just make it so that you can only edit the exit point of your own vehicles? would make the spp thing unneeded since its the players choice to get in the vehicle then.
    I'm going to take ShadowBrain's suggestion and remake the owner check so it's that way instead.
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

  5. #5
    Wire Sofaking feha's Avatar
    Join Date
    Sep 2009
    Location
    Here
    Posts
    1,151

    Default Re: [RELEASE] (Multi) Exit Point Controller

    Check if there is cppi on srv, and if not, use shadowbrains suggestion

  6. #6
    goluch
    Guest goluch's Avatar

    Default Re: [RELEASE] (Multi) Exit Point Controller

    How about exit point has to be with in a limited distance of the pod?

  7. #7
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,564

    Default Re: [RELEASE] (Multi) Exit Point Controller

    Quote Originally Posted by feha View Post
    Check if there is cppi on srv, and if not, use shadowbrains suggestion
    I'm already checking for SPP, and if there is no SPP, I can't use any owner-related thing without making my own getowner function first. And I just can't be arsed do to that.

    Quote Originally Posted by goluch View Post
    How about exit point has to be with in a limited distance of the pod?
    And how far would that be?
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

  8. #8
    has a custom title mattwd0526's Avatar
    Join Date
    Apr 2009
    Location
    Born Bostonian
    Posts
    2,637

    Default Re: [RELEASE] (Multi) Exit Point Controller

    Close enough so that it isn't used to cross map teleport

  9. #9
    No u Divran's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    4,564

    Default Re: [RELEASE] (Multi) Exit Point Controller

    SVN UPDATE!
    - Edited the allow teleport check.

    It now works like this. Any one of these conditions must be met for the player to be teleported.
    ---- If the server has SPP
    - if the owner of the vehicle is equal to the owner of the exit point
    - if the exiting player has the owner of the exit point in SPP Friends
    - if the owner of the vehicle has the owner of the exit point in SPP Friends
    ---- If the server does not have SPP
    - if the distance between the exit point and the vehicle is less than 1000
    SVN Tutorial
    My SVN:
    Code:
    http://divranspack.googlecode.com/svn/trunk/%20divranspack/
    Get dropbox and get 250 MB extra space: Dropbox

  10. #10
    Wire Sofaking feha's Avatar
    Join Date
    Sep 2009
    Location
    Here
    Posts
    1,151

    Default Re: [RELEASE] (Multi) Exit Point Controller

    Dont use spp, use cppi.

    spp will still work, cppi is just a standard so your stuff works with every pp addon ppl make.

+ Reply to Thread
Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots