throat poka Posted March 14, 2012 Share Posted March 14, 2012 I was fooling around with Simple Native Trainer and I spawned a window cleaning lift just for sh*ts and gigs. I thought about how cool it would be to set up your own custom window cleaning lifts around the city. To do that, you obviously couldn't load the objects using the trainer - the objects would have to be part of the map. No big deal, because I have no problem converting objects to WPL. I am not, however, accustomed to scripting ... at all. And I realize that in order for a window cleaning platform to work, it would have to be scripted. So my question to all you scripters out there: could you make this work? I'll provide the WPL and an updated gta.dat (unless you're familiar with making pathways and you don't need the gta.dat) and your job would be to get the damn thing scripted. Of course there may be more steps involved than making a WPL and scripting, and if so let me know! Link to comment Share on other sites More sharing options...
MonkeyMan_420 Posted March 16, 2012 Share Posted March 16, 2012 (edited) //inside keydown method//dont allow this to occur unless u r standing on lift and unless lift existsif (e.Key == Keys.Up){ for (int i = (int)lift.Position.Z; i < zTarget; i = (int)lift.Position.Z) { lift.Velocity += new Vector3(0, 0, 1); Wait(0); }}//im actually gonna finish making this as long as it isnt buggy i will post here well looks like i made a ninja jump too, lol almost! well i attached and froze niko and he stays on, now to figure out object collisions, anyone? i found these at http://www.gtamodding.com/index.php?title=...models_hashes_C CJ_WINDOW_CLEANER 526230755 0x1F5DA4E3 CJ_WINDOW_CRADLE 1289046123 0x4CD5486B CJ_WINDOW_CRADLE_2 3751776710 0xDF9F91C6 CJ_WINDOW_CRADLE_3 4028183225 0xF01932B9 CJ_WINDOW_CRADLE_4 1263724843 0x4B52E92B Edited March 17, 2012 by MonkeyMan_420 Link to comment Share on other sites More sharing options...
lamar_mustapha Posted March 17, 2012 Share Posted March 17, 2012 (edited) and so monkey man dies but where he left off more continue his work, he lives on in all of us u asshole bitchez Updated March 17 18:52 (pacific standard time) (Older Version in Video) Updated March 17 Download Here by jitsuin credits to lms (gta coder extraordinaire) (ok u can ban me again) xD Shift+O opens menu, page up and page down to select stuff in menu, left and right arrows to adjust the numbers on your selection, and enter when selecting attach/detach if you want to move lift around while standing on it u need to attach yourself first, walk near center of lift to attach or use press O to spawn/delete lift Now just press T to activate lift when standing on it xD converted lift mod to an ai heli Edited March 23, 2012 by lamar_mustapha Link to comment Share on other sites More sharing options...
throat poka Posted March 21, 2012 Author Share Posted March 21, 2012 (edited) These are all well and good, but not what I'm looking for. I need a script that would turn a lift that I've placed on the map into an actual working lift. I want it to work just like all the other lifts in the city. You get on the lift, a message box appears telling you to press a button to activate the lift, you press the button and you can control the lift. There has to be a script somewhere in the game folders that scripts for all the the window cleaning lifts around the city. I assume that the scripts are all based on the coordinates of each particular lift and that all you would need to do is spawn a lift using simple native trainer, save the lift as an actual WPL (which I have done) and plug the coordinates into the script. Of course the script would also need the height at which the lift stops (so that it knows when to let you off). If you can figure out how to make a custom lift into a lift the game recognizes as real, that'd be exactly what I'm looking for. Edited March 21, 2012 by throat poka Link to comment Share on other sites More sharing options...
lamar_mustapha Posted March 22, 2012 Share Posted March 22, 2012 (edited) uh yeah ur welcome Edited March 23, 2012 by lamar_mustapha Link to comment Share on other sites More sharing options...
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