Looking for GTA5 Mods?
GTAGaming has partnered with CurseForge to provide the best possible experience for the GTA V modding community. CurseForge provides excellent services for developers, whether as a team or a solo project, and a sharp modern interface for the users to find new ways to make the best of Grand Theft Auto V.

Ramp Spawner v1.0.2 with Controller Support

by NomeSkavinski
Please explain why you're reporting this file:

Fixed a few null reference exceptions. And when iterating objects the camera looks at them for easier acquisition.

Fixed another null reference exception which arose rarely. If RampsList.txt does not exist it is generated now.

Another null reference that was hidden away, sorry about that.

I know object spawners has been done a million times before, but heres one for the controller users.

What it does
Allows ramps (and other objects) to be spawned. Also allows the user to access a free camera
mode, to move and rotate a selected object.

Different Objects can be selected within the edit mode menu, more objects can be added to this
menu via the RampList.txt file.

How it Works
# Spawning a ramp/object #
When regularly playing press the Left Mouse Button or the Left Stick Button to spawn an object. The object will
spawn in front of the Camera facing it. If the object is not facing the correct way you can alter this by
changing the second value in RampList.txt for the objects rotation OR if it is too far/close to the camera
you can change the DistanceFromCamera value in RampSpawning.ini.

Objects will remove themselves if the player is over 600 units away from the object, again this can be altered

Note: When spawning objects in regular playmode the object is set to the ground, so if on a highway or
bridge with a road underneath it may appear there.

Spawn Buttons are changable in the RampSpawning.ini.

# Editing a ramp/object #
Activate editing mode via Home or DPadDown + Right Button.
Use the WASD + Mouse to move and rotate the camera OR LeftStick and RightStick. Again ramps can be spawned
using the set Spawn Buttons, in this mode ramps are spawned where the ghosted ramp is.
From this point all set buttons are on screen so just follow them.

When changing the Edit State this switches between moving ramps and free cam. When moving ramps the camera is
locked in position, it will however follow an object during movement(even if not on screen, must fix this).
You can move the object with WASD or LeftStick and rotate with the mouse or RightStick.
These are not changeable via RampSpawning.ini.
In the top left you can see which Axis are being manipulated on the object, these can be toggled
and input hints will be onscreen.

When deleting in the ramp edit mode it wlil delete the one you have currently selected, if you delete in free cam mode ALL are deleted.

When rotating an object about the X axis, it will reach its side and begin to jump around and may disappear.
This is annoying bug i can't overcome yet, but shaking the mouse left and right or the RightStick will
sometimes force it to continue rotating.
If it does disappear just delete the object. Working on a fix.

Edit Mode Buttons are changeable in the RampSpawning.ini.

Tested Working on: GTA 4 and EFLC

Copy the contents of the resepctive folder from this download and place them within your scripts folder.
Except for the Microsoft.Xna.Framework.dll and Microsoft.Xna.Framework.xml. Copy these to the root
of your GTA/EFLC directory, so its with GTA4.exe or EFLC.exe. Replaces: v1.0.1
9.43/10 - 7 votes
Downloads: 5,642
Added: March 4, 2013 12:34PM
Last Downloaded: April 17, 2015 3:00AM
File Size: 399.94 KB

This file has no videos.
Sorry, you must be registered and logged in to add a video to this file. Log in now!

h do you know how to make simple psp4 controller make work with gta iv?
Posted on March 10, 2013 1:05PM by XxproxXgammer
If you mean PS3 Controller, i use MotionJoy Gamepad Tool. Then select the option to emulate an XBOX 360 pad, thats how i play GTA on pc.

Otherwise i'm not sure what you mean. Hope i've helped in some way.
Posted on March 10, 2013 2:08PM by NomeSkavinski
can u make for me this spawner to work with kayboard :) plz
Posted on March 11, 2013 4:00PM by XxproxXgammer
it does work for keyboard
Posted on March 11, 2013 8:32PM by NomeSkavinski
i want to know how you make objects to move i know only how to spawn them!
Posted on March 12, 2013 12:36AM by XxproxXgammer
Does it not display the controls on screen? If not i'm sure i put the controls in the readme. To move the objects use WASD when in edit mode (use Insert to enable edit mode and Home to switch between free cam and object movement) use the mouse to rotate the object.

These controls can be changed in RampSpawning.ini, to any of the buttons here:


If its not displaying the controls on screen when you enable edit mode send me a screenshot so i can work out why.
Posted on March 12, 2013 8:05AM by NomeSkavinski
ffs, down for so many hours and it still didn't put up the other screenshot:

Posted on March 12, 2013 5:52PM by NomeSkavinski
Sorry i didnt said about yours but i am making script with spawning objects and i want to know the code for moving objects
Posted on March 13, 2013 5:21PM by XxproxXgammer
help me why i t dosent work did i something wrong can do beter instalation tutorial? \Grand Theft Auto IV\common\data\script i put files in there and what i shoul pres in the game i try to pres evrything
Posted on April 15, 2013 12:18PM by viljami323
@ viljami323

Hey buddy, your comment above says your scripts are going in the directory:

\Grand Theft Auto IV\common\data\script

I haven't compiled them to be ran by the GTA engine itself, you will need a scripthook OR it sounds like your using a different script hook then what i designed it with. Either way try this one:


And drop your scripts into:

\Grand Theft Auto IV\scripts OR EFLC\scripts

If you are using the controller version:

In case you get any errors after this, remember to copy the Microsoft.Xna.Framework.dll and Microsoft.Xna.Framework.xml where your GTAIV.exe is.

If further errors persist you will need the XNA redistributables:


Press the 'Insert' key to activate the editing mode, from there on there shall be on screen prompts. if you are using the XBOX pad press Dpad down + right button. All these buttons can be changes within the RampSpawner.ini file. Check the ReadMe for further buttons that can be used.

By default if the Left mouse button is clicked OR the LeftStick Button is pressed this will spawn a ramp/object in the direction of where the camera is facing. Any object in the game can be spawned using this script so long as you add the objects' name and rotation into the RampsList.txt

I hope that helps.
Posted on April 15, 2013 6:16PM by NomeSkavinski
thank you! this is so fun! :D
Posted on April 16, 2013 7:11AM by viljami323
BUT when

i shoot it spwans i tems
Posted on April 16, 2013 7:59AM by viljami323
Ahhh, i did not plan for that. I use the game pad you see, so i don't come across those issues. Go to the RampSpawner.ini file in your scripts file. And under the heading:


You should find this:


Change the LButton to any other keyboard button that is convenient to you form this list (under the Member Name column):


Let me know of any other issues, i'll be sure to add all this trouble shooting to the next release, i forgot to add the link to the key member names in the readme.

Thanks for your input, very much appreciated.
Posted on April 16, 2013 8:21AM by NomeSkavinski
everything fine now... can you add more items it would be nice.
Posted on April 19, 2013 6:42AM by viljami323
If you open the file:


And go to:


Copy an objects name from the above address and set it rotation, for example:

ab_burger_GlassB 90

Save the text file and load up GTA, or enter edit mode delete all objects and then reload scripts in the console. You will now be able to access the newly added object when you enter edit mode and access the object menu.
Posted on April 19, 2013 7:48AM by NomeSkavinski
Excellent ! Thank you very much. 10/10
Posted on March 6, 2014 7:02PM by beurk
Please, would it be possible to add the ability to save objects (like with the Trainer) ?
Posted on March 14, 2014 11:44AM by beurk
Sorry, you must be registered and logged in to post a comment. Log in now!