IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Post mod/code requests in the Mod Requests topic

Post mod releases in the Mod Showroom

Read the Modding Rules BEFORE posting!

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Custom Window Cleaning Platforms

 
throat poka  
Posted: Wednesday, Mar 14 2012, 20:32
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 21, 2011

XXXXX



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!
PM
  Top
 

 
MonkeyMan_420  
Posted: Friday, Mar 16 2012, 17:13
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: Mar 7, 2012

XXXXX



CODE
//inside keydown method

//dont allow this to occur unless u r standing on lift and unless lift exists
if  (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

This post has been edited by MonkeyMan_420 on Saturday, Mar 17 2012, 07:40
PM
  Top
 

 
lamar_mustapha  
Posted: Saturday, Mar 17 2012, 09:49
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: Mar 17, 2012

XXXXX



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



This post has been edited by lamar_mustapha on Friday, Mar 23 2012, 00:03
PM
  Top
 

 
throat poka  
Posted: Wednesday, Mar 21 2012, 21:22
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 21, 2011

XXXXX



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.

This post has been edited by throat poka on Wednesday, Mar 21 2012, 21:26
PM
  Top
 

 
lamar_mustapha  
Posted: Thursday, Mar 22 2012, 23:58
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: Mar 17, 2012

XXXXX



uh yeah ur welcome confused.gif

This post has been edited by lamar_mustapha on Friday, Mar 23 2012, 02:26
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG