You make to much useful stuff, not much left to make. Lol.
Great job!
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 02:18 AM.
PewPew (New GCombat) | SVN Tutorial | EGP v3
MY SVN LINK:Code:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
Thanks for clicking, everyone!
http://www.minerwars.com/?aid=927
But if I get even more clicks, I get the full game, so keep at it!
You make to much useful stuff, not much left to make. Lol.
Great job!
Hurr
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.
PewPew (New GCombat) | SVN Tutorial | EGP v3
MY SVN LINK:Code:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
Thanks for clicking, everyone!
http://www.minerwars.com/?aid=927
But if I get even more clicks, I get the full game, so keep at it!
Check if there is cppi on srv, and if not, use shadowbrains suggestion
How about exit point has to be with in a limited distance of the pod?
PewPew (New GCombat) | SVN Tutorial | EGP v3
MY SVN LINK:Code:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
Thanks for clicking, everyone!
http://www.minerwars.com/?aid=927
But if I get even more clicks, I get the full game, so keep at it!
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
PewPew (New GCombat) | SVN Tutorial | EGP v3
MY SVN LINK:Code:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
Thanks for clicking, everyone!
http://www.minerwars.com/?aid=927
But if I get even more clicks, I get the full game, so keep at it!
Dont use spp, use cppi.
spp will still work, cppi is just a standard so your stuff works with every pp addon ppl make.
Bookmarks