rijads Posted June 7, 2011 Share Posted June 7, 2011 I want to create a simple dd map, that has multiple gravitations, if that is possible. I created road in a shape of cube, and put road so you can drive on each side. SO for example when i go to edge od one surface, where i am supposed to fall in water, i actually dont fall, but it just changes gravity, and i am again like before on the road, just on other side of cube. And only if i fall into the hole of cube, i go into water. I saw some map that had this script that changes gravity at one place, i think it was puma something. But i lost map and script, so is it possible to make something like that ? here is pic: If anyone knows how to, could he write here code, with random x,y,z positions, which i can then edit ? Link to comment
Dark Dragon Posted June 7, 2011 Share Posted June 7, 2011 i think pumas map used my magnetwheels resource. im not sure though, but you might want to try it: https://community.multitheftauto.com/index.php?p= ... ils&id=329 Link to comment
rijads Posted June 7, 2011 Author Share Posted June 7, 2011 Thank you it helped me much, its kinda buggy though, is it possible, when i am not near any element, but in the air, that it doesn't go up in the sky, but down in the water ? Link to comment
Dark Dragon Posted June 8, 2011 Share Posted June 8, 2011 well that would need additional scripting work you can however easily just kill people when they are too far away from the center of the cube Link to comment
Faw[Ful] Posted June 9, 2011 Share Posted June 9, 2011 You can create an area with a colshape and the event is onColShapeHit to know if the player enters the colshape : https://wiki.multitheftauto.com/wiki/CreateColRectangle change the vehicle gravity vector on each colshape zone : https://wiki.multitheftauto.com/wiki/SetVehicleGravity This will change the vehicle gravity vector, fast, in 1 move, you can change it slowly with a timer I guess. Link to comment
rijads Posted June 10, 2011 Author Share Posted June 10, 2011 You can create an area with a colshape and the event is onColShapeHit to know if the player enters the colshape :https://wiki.multitheftauto.com/wiki/CreateColRectangle change the vehicle gravity vector on each colshape zone : https://wiki.multitheftauto.com/wiki/SetVehicleGravity This will change the vehicle gravity vector, fast, in 1 move, you can change it slowly with a timer I guess. thanks benox Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now