Quantcast
Channel: GTA X Scripting - JulioNIB mods
Viewing all 182 articles
Browse latest View live

GTA iV HULK Script - Screenshots and progress [W.I.P.]

$
0
0
HULK script is evolving...

Download it here

Requested by taltigolt, also he is giving tips and making tests :)
Ped model used in screens/videos it's from ac.amir, unfortunately the oficial download link is offline, you can temporary download it here
The script it's not available yet, but will be released soon

Videos:
"Lamp pole as baseball bat" feature: http://www.facebook.com/photo.php?v=354247838031496
Ped grab and throw: http://www.facebook.com/photo.php?v=355231647933115
"Ped smash", possible feature: http://www.facebook.com/photo.php?v=355430167913263
Basic melee attacks: http://www.facebook.com/photo.php?v=357637081025905


All started with simple big jump attack

Hold jump to jump higher with an limit, fall from high places 
and damage ground, peds, vehicles an objects around you

Footsteps ground effect (sound and particle fx):

When walking or running you will cause some small damage on ground, 
unfortunately i don't know how to create the crackle textures on ground yet

Lift objects and vehicles and throw them:

You can lift dumpsters and throw them. If you hold attack key 
HULK will have his rage increased and will throw with more force

The same can be done with any vehicle, maybe i will add an 
size limit, lift an bus seems too much

Watch those features above here:



Grab a lamp pole and use it like a baseball bat:

Q: What about grab an lamp pole and use it like an baseball bat?

A: HULK Smash!

Actually we have three movements for this attack: 
Attack from right, from left and from top

Crash almost everything that is in front of player


just crazy.

Ped grab and throw:

 Actual issue is the transition between animated ped to ragdoll 
and grabbed ped, sometimes it looks ugly, also the grab can fail
because of attach point distant form player hand, hard to control this detail.

 But it's a nice feature, i think i will keep

 Other bad point is that is only dangerous for the grabbed ped ^^
An ped at high speed it's not dangerous.


"Ped smash", kinda Loki being punished by Hulk in Avengers movie.



Basic melee attacks

 Animation + sound + ptfx = nice punch


 Top attack will throw peds and vehicles up


Cars will have their doors broken


"Thunder clap"


Makes me remember Fus Ro Dah ^^

Punch ground attack



Peds, objects and vehicles in front of player will be launched

Jump to targeted ground


Makes a lot easier reach the top of a building

Direct attack against targets





"Wall climb"


This feature will allow you to "climb" walls, also 
it's useful to avoid fall on ground when big jump fails
Unfortunately the ped arms and foot will "blend" with the wall.


More features are coming :)

HULK script - GTA iV - Release post and installation guide

$
0
0
Scroll to the end of the page to see the screenshots

Finally the HULK script is released :)

This script will give to player some HULK powers:
  • Super melee attacks
  • Thunder clap
  • Punch ground attack
  • Grab and throw (or smash on ground) peds, it's not precise yet, the grab fail more than work :(
  • Grab lamp pole and use like an baseball bat
  • Lift vehicles or dumpster and throw them
  • Big jump attack
  • Direct attack against targets
  • Big jump to reach top of buildings or cover big distances
  • Grab launched rockets and throw them
  • Wall climb
  • Extra speed when running/swimming fast
  • And maybe something that i'm forgetting now ^^

Hit play and see the mod in action :)



***

Download: V1.1 released, click here to download


***



*This mod was requested by taltigolt, that also gave tips and made tests :)



If you wanna make videos of this mod or share it anywhere, please use the following links in the post, this will help me a lot :)






Installation (script)

Always do this steps with game closed ;)

With this mod i'm using an new installation method that is easier for who have the OpenIV installed, this is how it works:

Download and extract the files, you will have this:


Now open the OpenIV and click in Package Installer:


In the next window choose the file HULK script.oiv and click in Open, you will have this window now:


Click in what game version you will install the script on, the next window will be similar to:


Now click in Hulk Script to install the script, if everything is Ok an button to run the game will appear, click in Close.

If you don't have the ScriptHook installed you need to run OpenIV again, repeat the steps, but in the last step choose one of the two options to install the scripthook files, choose based on your game patch version. Without scriptHook you can't run this script.




Installation (ped model)

Always do this steps with game closed ;)

The installation of the ped model is basically same idea, extract the files, run OpenIV, click in Package Installer, choose the file HULK Ped model.oiv, choose the game version and click to install.

If you don't want to use this method you can see the instructions for manual installation in the readme.txt :)




Hotkeys

Insert or H - Activate/Deactivate (or show the mod menu)

Middle mouse button - Grab/lift peds, dumpsters, vehicles, lamp poles and rockets (hold for rockets)

Left mouse button - Attack with punches, throw grabbed/lifted things, attack with lamp pole

E - Hold to charge the Thunder clap attack, release to perform the attack

R - Hold to charge the Punch ground attack, release to perform the attack

Hold space for a while to perform the Big jump, you can do this running too

While falling from Big Jump hold Left mouse button to perform Big Jump fall attack

You can hold space when getting close to ground to perform the big jump again with more forward speed

Right mouse button - Set targets, use Left mouse button to attack/jump to target

When grabbing or lifting something hold left mouse button to increase the Throw force

With grabbed ped if you reach more than 70 of Rage you will perform a "ped smash" attack ( kinda Hulk vs. Loki in Avengers movie :) )

When falling and facing a wall you will grab the wall if forward key is down ( commonly W )
Hold W to keep grabbed to the wall, press Space to jump to an position above or press Left mouse button to climb the wall


XBox 360 controller support


H Activate (keyboard)
X Jump
B Grab
Left bumper Punch gound
Right bumper Thunder clap
Left trigger Aim
Right trigger Attack
Left ThumbStick Move player
Right ThumbStick Point camera





Videos

http://www.youtube.com/watch?v=xgOX1aJgJmw
http://www.youtube.com/watch?feature=player_detailpage&v=21UVWx3X8BY#t=99s
http://www.youtube.com/watch?feature=player_embedded&v=iWCrxB2O-Z4
http://www.youtube.com/watch?v=xtzKr89wbys
http://www.youtube.com/watch?feature=player_embedded&v=mBEG3MyDdLY
http://www.youtube.com/watch?v=_etWJfR5m2M
http://www.youtube.com/watch?feature=player_embedded&v=Hqb15SF54Sk
http://www.youtube.com/watch?feature=player_embedded&v=rGv7iqgYwT4




Screenshots

an HULK hook punch

Lift cars or dumpster and throw them


Jump high and cause damage when "landing"

With some luck you can climb walls, lag (-15 fps) will make this feature fail sometimes :(

Grab an lamp pole and smash

Annihilator helicopter will shoot with miniguns if you are close to aim center

This is the "ped smash", if you grab an ped (that still a hard task) you can hold attack key and perform this attack (Rage > 70)

If you hold middle mouse button and have some luck you can grab an flying rocket...

...and throw it back

Wrong attach offset when throwing, but we almost don't notice while playing :)




HULK GTA iV - Update v1.1

$
0
0
***
Veja aqui a versão PT-BR deste post
***

This is the last released version of this script the v1.1, fixed some bugs and added some new features.

See the demo: Niko vs HULK



If you wanna make videos of this mod or share it anywhere, please use the following links in the post, this will help me a lot :)



Changes:

Added mod menu, press Insert to see the menu, when you install an updated mod made by me it will appear on that list
Added support for XBox 360 controller
Fixed some issues with jump and attacks
Increased basic melee attack speed
Added the enemy feature, now you can create and HULK enemy and try to kill him, he is a little dumb but will be fun, i hope.


Download here (mirror)


Need help with .oiv files? click here
Installation guide: here


Hotkeys

Insert or H - Activate/Deactivate (or show the mod menu)

Middle mouse button - Grab/lift peds, dumpsters, vehicles, lamp poles and rockets (hold for rockets)

Left mouse button - Attack with punches, throw grabbed/lifted things, attack with lamp pole

E - Hold to charge the Thunder clap attack, release to perform the attack

R - Hold to charge the Punch ground attack, release to perform the attack

Hold space for a while to perform the Big jump, you can do this running too

While falling from Big Jump hold Left mouse button to perform Big Jump fall attack

You can hold space when getting close to ground to perform the big jump again with more forward speed

Right mouse button - Set targets, use Left mouse button to attack/jump to target

When grabbing or lifting something hold left mouse button to increase the Throw force

With grabbed ped if you reach more than 70 of Rage you will perform a "ped smash" attack ( kinda Hulk vs. Loki in Avengers movie :) )

When falling and facing a wall you will grab the wall if forward key is down ( commonly W )
Hold W to keep grabbed to the wall, press Space to jump to an position above or press Left mouse button to climb the wall


XBox 360 controller:

Activate (keyboard)
Jump
Grab
Left bumper Punch gound
Right bumper Thunder clap
Left trigger Aim
Right trigger Attack
Left ThumbStick Move player
Right ThumbStick Point camera


W.I.P. videos:



Enemy features:

The enemy will be able to:
  • Perform basic melee attacks
  • Lift and throw vehicles
  • Use lamp pole as baseball bat

Screens:





------------------------------------------------------------------------------------------
Edit: 11/07/2013

Second attack done: Lift and throw vehicles o.O



------------------------------------------------------------------------------------------
Edit: XX/XX/XXXX ^^

Actually i adapted the basic Punch attack (left mouse clicks) to make it capable of being performed by any pedestrian, this means that we can spawn an pedestrian and make him perform the HULK basic punch attack against vehicles and poor pedestrians that are on the way.


The actual result it's very cool, now i need to improve the tasks to make the ped more aggressive and find more targets to attack, then i will adapt other attacks like lift and throw vehicles, use lamp poles as baseball bat (this will be cool) and perform big jumps.
------------------------------------------------------------------------------------------


This weekend i was developing the XBox 360 control support for the HULK script and decided to try to create a enemy with HULK powers.


In the end i hope that we can spawn an HULK enemy and use other mods like Iron Man to defeat him, that would be amazing.

Now an Abomination model would be nice too ^^, it's a shame that the model sizes can't be bigger without side effects.

I will add to this blog post more news about this update and in the end of the process the link to download it.

GTA V - First gameplay video released by R* o.O

$
0
0
OMG, this will be awesome:


Rockstar released an new video about GTA V, showing to us what we will have in this awesome game.

Three characters, best graphics ( i hope with better performance :) ), characters and car customization, big map, wild animals, mountains, multiplayer, planes, dive, bicycles, tennis, golf, amazing environment desctruction, and more, this is a "must buy" game.

We can notice how the characters (Ped) of the game looks much better and with more fluid animation.
Those animals are perfect, the grass, the illumination, everything just awesome.

Can't wait o.O



Tags: gta v first gameplay, gta v news, gta v coming soon, gta v awesome gameplay, notícias gta v, gameplay do gta v, gta v multiplayer, gta v customization.

[TUT] OpenIV Package Installer guide - User side

$
0
0
Now we can use the OpenIV package installer feature to make easy to install mods in GTA IV or EFLC, the use it's very simple.

*To install mods in GTA it's interesting use last patch update to have all native methods, or at least patch 1.0.4.0

Watch the guide here:


***

Setting up OpenIV

IMPORTANT: If you don't have OpenIV installed and/or configured:
  • First download the OpenIV here and install it
  • Run it and click in the game that you want to mod
  • It will ask the game folder, for GTA IV for example it's (commonly):


C:\Program Files\Rockstar Games\Grand Theft Auto IV
or for Steam users:
C:\Program Files\Steam\steamapps\common\grand theft auto iv\GTAIV


  • Close OpenIV.
***


Installing .oiv files (easy setup files)

Now that your OpenIV is ready to make modifications on your GTA let's see how to install the .oiv files

*Remember: It's recommended do those steps with the game closed :)


When you download a OpenIV package you will have an .oiv file that must be opened with OpenIV:


Open the OpenIV and click in Package Installer and select the .oiv file:


You will see the initial screen that will have buttons to choose the game version, click in the game version that you plan to install the mod:


In the next step you will choose what to install, commonly the mod will come with one option only, my mods goes with two or three, depending on gta iv/eflc choice, basically what we need to do first is install the mod, then, if necessary, install the additional files:


So, after installing the mod (first option) you need to install the ScriptHook if you don't have it installed.

To see if your ScriptHook is installed and working, with the character on screen, press ' or ~, a black window should appear, this is the scripthook's console window:



***

Manual setup - How to manually install .oiv files

If you can't install using OpenIV you can install the mod manually, it's very simple, you just need a file compression unity like WinZIP or WinRAR.

Open the .oiv file with winzip or winrar and you will see this files:


Inside folder "content" you will see all required files, now just copy the folder Scripts to your gtaiv.exe (or eflc.exe) folder and copy the ScriptHook files if you don't have the ScriptHook installed.


*The ScriptHook files are: dsound.dll (ASI loader), NAudio.dll (required to play some sounds), ScriptHook.dll, ScriptHook.dll.4 (that should overwrite ScriptHook.dll when installing it on game with patch 1.0.4.0 or lower) and ScriptHookDotNet.asi

**Extra folders (like Models to IV) may contain models that must be installed in game.

Switch Player model - Small script request - GTA iV

$
0
0
The idea here is be able to switch player model to any ped model using hotkeys or command lines or clone an pedestrian copying their skin, attached objects like Bags, Glasses and Hats don't will be copied.

Jatin Narula asked to me this script and i have some parts of this code done for my future Prototype mod, so, was easy to extract it and create this script.


Download: MEGA

Need more speed with your MEGA downloads? click here


How to use

First you need scripthook installed.
Copy the two files inside he zip to the Scripts folder of your GTA IV or EFLC

The file goes with a sample .ini file with two examples of use for the models ig_Brian and ig_Tuna

Press control + hotkey (based on .ini config) to change into the desired model

Aim at an pedestrian and press middle mouse button to switch to the targeted ped model, you will have same clothes.

The hotkeys can be switched in the .ini file :)


Screens




[TUT] Drawing shapes and text on screen (Menu, HUD, Message) - GTA iV

$
0
0
One basic thing that great part of mods have is Messages, HUD and/or Menus on the screen, to show info and options.

I will show in this tutorial what i know about drawing things on game screen.

Download the source code of this tutorial here


Native methods

We have some cool methods that we can call to draw shapes and game textures on screen, they must be called in a tick or loop, those are the ones that i know how to use:

DRAW_SPRITE_FRONT_BUFF (New: Added 15/11/2013)
DRAW_CURVED_WINDOW
DRAW_FRONTEND_HELPER_TEXT
DRAW_RECT
DRAW_SPRITE


DRAW_SPRITE_FRONT_BUFF (New)

Native.Function.Call("DRAW_SPRITE_FRONT_BUFF", 0.2, 0.21, 0.3, 0.3, 0.0, 150, 190, 195, 200)

This method is interesting, it draws the actual screen on the specified area, its  like a mirror of the reality but not mirrored ^^.

Params:
0.2 - X percent of the game screen to be the center of the window, 1.0 = 100%
0.21 - Y percent of the game screen to be the center of the window
0.3 - percent of the screen that will be the width of the window, 1.0 = full width
0.3 - percent of the screen that will be the height of the window
0.0 - rotation in degrees
150 - Red component of the color
190 - Green component of the color
195 - Blue component of the color
200 - Alpha component of the color

Result with those params:



DRAW_CURVED_WINDOW

Native.Function.Call("DRAW_CURVED_WINDOW", 0.1, 0.11, 0.2, 0.25, 200)

Params:
0.1 - X percent of the game screen to be the X position of the window, 1.0 = 100%
0.11 - Y percent of the game screen to be the Y position of the window
0.2 - Width percent of the game screen to be the Width of the window, 1.0 = 100% = full screen width
0.25 - Height percent of the game screen to be the Height of the window
200 - Alpha value, 255 = full opaque, 0 = full transparent

Result:



DRAW_FRONTEND_HELPER_TEXT

This method will draw game predefined messages on right bottom corner and will display a key draw (Enter, Delete, Backspace, etc.):

Native.Function.Call("DRAW_FRONTEND_HELPER_TEXT", "ADD_FILTER_CAP", "INPUT_F_ENTER", 0)

Params:
"ADD_FILTER_CAP" - This is the predefined message, you can find more in the SCOCL files searching for the native method.
"INPUT_F_ENTER" - This will make the "Enter" game display message appears, you can find other examples in SCOCL files.
0 - Not 100% sure what this does, but if the second call has an number 1 instead of 0, this message will appear below the previous, if its 0 it will appear in same line.

Result with first call with 0 and second call with 0:


Result with first call with 0 and second call with 1:



DRAW_RECT

This method will draw a rectangle o.O

Native.Function.Call("DRAW_RECT", 0.5, 0.52, 0.5, 0.2, 255, 100, 50, 150)

Params:
0.5 - X percent of the game screen to be X center of the rectangle, 1.0 = 100%
0.52 - Y percent of the game screen to be Y center of the rectangle,
0.5 - Percent of the game screen that will be the Width of the rectangle, 1.0 = full width
0.2 - Percent of the game screen that will be the Height of the rectangle
255 - Red color amount
100 - Green color amount
50 - Blue color amount
150 - Alpha amount, 0 to 255

Result:




DRAW_SPRITE (Based on Michael Wojtanis tip)

This method will draw a game texture, it's very interesting.
This method requires that we load the TXD and the Texture that will be displayed before call the method, we need to do this only one time, so, in the Sub New of the project we can load it, in this example i'm loading at global variable declaration but i don't recommend this:


Params for LOAD_TXD:
"binoculars" - Name of the TXD where the texture is located

Params for GET_TEXTURE:
txd - The ID returned by LOAD_TXD call
"binoculars" - Name of the texture

Now that we have the texture ID we can proceed and call the draw method in a tick:

Native.Function.Call("DRAW_SPRITE", tTexture, 0.2, 0.1, 0.1, 0.09, 0.0, 255, 255, 255, 255)

Params:
tTexture: The texture ID obtained with the previous two methods
0.2 - X percent of game screen to be the X of the center of the texture, 1.0 = 100%
0.1 - Y percent of game screen to be the Y of the center of the texture
0.1 - percent of game screen to be the Width of the texture, 1.0 = full width
0.09 - percent of game screen to be the Height of the texture
0.0 - rotation of the draw in degrees
255 - Red color amount
255 - Green color amount
255 - Blue color amount
255 - Alpha amount

Result:


Using OpenIV we can discover the TXD and Textures names and preview the Textures:


We can draw interesting things like gun icons, zombie scratch ( i never saw this in the game :( ), loading screen images, etc.:





Drawing with the PerFrameDrawing event

Be careful with this method, i recommend to only use the draw methods inside this event because you can cause game crash or lag if you do heavy things here, if this event stops, the frame drawing stops.

This is the method:


Using the "e" object we will be able to draw rectangles, text, lines and textures (images)

Drawing lines

e.Graphics.DrawLine(200, 10, 200, 500, 5, Color.White) ' white line
e.Graphics.DrawLine(300, 10, 500, 700, 10, Color.FromArgb(100, 255, 0, 0)) ' red line with alpha amount at 100

Params:
200 - X initial position
10 - Y initial position
200 - X final position
500 - Y final position
5 - Width of the line
Color.White - color of the line, you can use Color.FromArgb to have more control of the color components

Result:



Drawing rectangles

e.Graphics.DrawRectangle(225, 235, 400, 250, Color.FromArgb(150, 0, 255, 0))

Params:
225 - X that will be the X center of the rectangle
235 - Y that will be the Y center of the rectangle
400 - Width
250 - Height
Color.FromArgb(150, 0, 255, 0) - Color, in this case a green color with alpha amount at 150

Result:



Drawing text

e.Graphics.DrawText("This is a text o.O", 20, 30, Color.FromArgb(255, 0, 255, 255))

Params:
"This is a text o.O"- the text :P
20 - initial X position
30 - initial Y position, left top corner of text
Color.FromArgb(255, 0, 255, 255) - the color, unfortunately the alpha low values only will make the text look more dark

We can change the font too, but i don't know too much about this.

Result:



Drawing sprites (images)

To draw an non game image on screen first we need to read the bytes of this image and create one Texture with those bytes:




We need the import of System.IO (or we can call System.IO.File...)
We need the Texture object
We need to read the bytes and create the Texture object, the path used is:

.\ - Results in current directory, GTAIV.exe/EFLC.exe folder
Scripts - inside current directory, Scripts folder
AnyImage.png - the image file inside Scripts folder, if this file don't exists script will crash because of exception at the byte reading:


So, make sure that the image file exists and is readable.

Now that we have the texture loaded we can draw it on screen:

e.Graphics.DrawSprite(myImage, 500, 200, 100, 150, 0, Color.FromArgb(150, 255, 255, 255))

Params:
myImage - the Texture object created before
500 - X center of the image on screen
200 - Y center of the image on screen
100 - Width
150 - Height
0 - Rotation in degrees
Color.FromArgb(150, 255, 255, 255) - Color, this param is optional, the alpha amount don't will change anything, you can change the color components to obtain different color filters

Result:



Combining Rectangles and Text draws we can create cool Menus or Messages:






That's all what i know (until now) about drawing things on game screen, any tip is welcome ;)

GTA V style in GTA IV - Char switch

$
0
0
***
Veja aqui a versão PT-BR deste post
***

This script is an "try" to bring to GTA IV the character switch system from GTA V, at this moment we can switch between Niko, Luis and Johnny in GTA iV.



Download last version here


***
If you want share this mod anywhere, please use this link as reference for download link, this will help me a lot:



***


Remember this is under develop stage and has some bugs. You will need ScriptHook installed to use this script, put the file inside your Scripts folder.

See the ScriptHook installation guide: here


When we change to other char the old one will wander around or evade from cops if wanted level is greater than zero.

Each char has his own health, armor, ammo and vehicle, those info are saved each time you change chars and will be loaded when game starts.

Unfortunately to me this mod is being developed by other scripters/coders, this is why i'm not sure if i will release this at official sites.


Hotkeys

Numpad 1 to 3 - Switch to Niko, Luis and Johnny
or
Hold X to see the char HUD and move mouse left or right to set the new char

You can edit the hotkeys in the .ini file

This mod was tested in GTA iV patch 1.0.7.0 and EFLC TBoGT first patch.

[TUT] ScriptHook installation with OpenIV Package Installer - GTA iV

$
0
0
First of all

Make sure that you have installed:
  • Microsoft .Net Framework 4.0
  • Microsoft Visual C++ 2010 Redistributable Package (x86)
  • OpenIV, installed and configured
  • At least game patch 1.0.4.0 installed

Source: http://www.gtaforums.com/index.php?showtopic=392325


Let me explain how it works:

  1. ASI loader is loaded by game because game "thinks" that is a normal dsound.dll file
  2. ASI loader loads any file that is in GTAIV.exe folder that ends with .asi (extension .asi)
  3. The ScriptHookDotNet.asi is loaded by the ASI loader 
  4. ScriptHookDotNet.asi loads the ScriptHook.dll file
  5. ScriptHook.dll loads any .net.dll, .vb or .cs file that is inside the Scripts folder

Installation

*Run everything with admin rights.

1 - Download the ScriptHook here
2 - Extract all files to an folder:


Open the OpenIV and click in Package Installer:


Select the ScriptHook.oiv file:


Select in what game version you will install:


If you don't have an ASI loader you can install it clicking in the first option, the ASI loader is necessary to load the ScriptHook:




After the installation click in Close, now open the OpenIV again, select the same file and install the ScriptHook based in your game patch version:



Now let's test the ScriptHook, open the game, load an save game and when your character is on screen press ' or ~, an black window must appear, this indicates that the ScriptHook was loaded:


Now press Insert to see if the scripts that is inside the Scripts folder is loading, an menu like this must appear:


Done! Now you can drag to Scripts folder any .net script for GTA IV :)



Troubleshooting

  • My game don't load anymore
You probably have an issue with the ASI loader, remove the dsound.dll file from GTAIV.exe folder and see if the game opens again. Now try o find another ASI loader version, gtaforums is a good choice to search for this kind of file.
If you are running the game without admin rights maybe you will obtain an error message indicating that the file asilog.txt can't be created, in this case you can try to run the game as admin using right click or manually create the asilog.txt file and saving inside gtaiv.exe folder 

  • My game crash at loading screen
This is probably related to wrong ScriptHook.dll version, make sure that you choose the right ScriptHook based in your  patch version.

  • Black window don't appear 
ScriptHook or ASI loader failed in the startup, try other ScriptHook or ASI loader versions

  •  The mod menu don't appear when i press Insert
This can be a issue with the ScriptHook version, send to me the ScriptHook.log file :)


DUBStep gun - Scripting for fun

$
0
0
This mod will give to player an DUBStep gun, when you shoot at people they will start to dance :)
The idea is recreate Saints Row IV dubstep gun, but unfortunately my results are not even close.

We can shoot directly or using grenade launcher to affect more people.

Download: here, (mirror)

To see how to install .oiv files, check this post
To see how to install ScriptHook, check this post

Versão BRaqui





***

If you want share this mod anywhere, please use this link as reference:

http://gtaxscripting.blogspot.com/2013/08/dubstep-gun-scripting-for-fun.html

***

Know issues

Windows 8 users may experience an error message when script loads, maybe this can be avoided setting this variable in the DUBStep.ini file:

[gneral]
bAudioFix=1

if the .ini file don't exists you can create one.


Hotkeys

Press Insert to see my mods menu and activate the DUBStep gun or press number zero (the one above P) to direct activate/deactivate the gun
Press Tab to switch between Normal shot and Grenade launcher
Hold aim to keep the music playing

Script by JulioNIB, anims by Yeardley Diamond, gun model by Quechus13

Mod requested by Yeardley Diamond: https://www.youtube.com/user/YeardlyDiamond1
Music by teknoaxe: http://www.youtube.com/teknoaxe (Beat Timed Grime)



Screeens





Iron Man IV v1.1.1 (Last Version)

$
0
0
This post is outdated, check the last version of this mod here

***

This is the last version of my Iron Man IV script, the version 1.1.1, in other sites you can find fake version 1.2, those are just title/pack version, the real last version is 1.1.1 :)

* Versão BR aqui *

This release goes with the main mod only, no armors.

Download the mod here (mirror)
Download the basic armor (MK III) here (mirror)
Download the armor pack here (mirror)
Download the OpenIV here

To see how to install .oiv files (Open IV Packages) check this post.

Thanks to all people that helped me with the tests.




Changes

Grab lamp pole and use as baseball bat
Lift and throw cars
New anims support
Fixed some issues
Created method to keep player weapons and clothes after switching back to normal char



If you wanna make videos of this mod or share it anywhere, please use the following links in the post, this will help us a lot :)




Make sure that you have the following packages installed:

http://www.microsoft.com/pt-br/download/details.aspx?id=17851
http://www.microsoft.com/en-us/download/details.aspx?id=5555
and maybe:
http://www.microsoft.com/en-us/download/details.aspx?id=20914



Other people related to this project (armors, HUD, anims, etc.):

H1Vltg3Wapeddell and Quechus13



Controls

Options Menu:

Insert or Number zero (not numpad 0) - Show Menu
Up/Down - Switch menu item
Enter - Choose/Toggle menu item
Backspace - Go to previous menu

Hold Spacebar (Jump) briefly to toggle Flight Mode ON/OFF
Hold Right Mouse Button (Aim) to aim/Set Targets (Must hold Aim to fire)
Left Mouse Click (Fire) - Fire Weapon/attack with lam pole/Thrown lifted car
1, 2, 3, 4, 5 - Switch Weapons
Hold Middle Mouse Button to see Weapon Selection menu, move the mouse to select and release Middle Mouse Button to accept (Crysis Style)
E - Switch to next Weapon/Grab lamp pole or lift cars

In Flight Mode:

W - Go Forward
S - Go Backward
A/D - Strafe Left/Right
Shift - Go Up
Control - Go Down
B - Hold to be able to rotate camera around player without changing player's rotation

Ground Combat Only:

Q - Powered Kick
R - Powered Uppercut


Xbox 360 Controller

Options Menu:

Hold Left Bumper and Right Bumper together - Show Menu
Up/Down on Dpad - Switch menu item
A - Choose/Toggle menu item
B - Go to previous menu

Hold X Button (Jump) briefly to toggle Flight Mode ON/OFF
Hold Left Trigger (Aim) to aim/Set Targets (Must hold Aim to fire)
Right Trigger - Fire Weapon (Tap for most Weapons, Must hold to fire Minigun)
Dpad Left/Right - Switch Weapons
B - Grab lamp pole/Lift cars

In Flight Mode:

Left Stick Up - Go Forward
Left Stick Down - Go Backward
Left Stick Left/Right - Strafe Left/Right
Click Left Stick - Go Up
Click Right Stick - Go Down

Ground Combat Only:

Left Bumper - Powered Kick
Right Bumper - Powered Uppercut


Screens






Dual Wielding style - GTA iV

$
0
0
This mod basically will bring the ability to use two guns (glock, deagle, shotgun, uzi and others) as result of the combination of animation editing and scripting.

Download:
Full mod: here (mirror)
Dual Handguns only: here (mirror)
Dual SMGs only: here (mirror)
Dual Shotguns only: here (mirror)
Pack to restore all anims: here (mirror)
To see how to install .oiv files check this post

Download skins and more edited anims like one hand wielding in ac.amir blog

Versão BR: aqui




This script also includes an optional headshot feature that apply a temporary slow motion when you perform a headshot kill and a slow motion feature activated when you press Tab.

***
if you want share or make videos of this mod, please use the following links 
as reference for download:

http://gtaxscripting.blogspot.com/2013/08/dual-wielding-style-gta-iv.html
http://gtaiv-skins.blogspot.com.br/
***

Actual modded anims:

Glock
Deagle
Uzi
Mp5
Combat Shotgun (partial edit,  idle anim in progress)
Sawed off shotgun (TLad)
Sweeper (TLaD)
CZ75 pistol (TLaD)
Golden uzi (TBoGT)
AA12 (TBoGT)
AA12 explosive (TBoGT)
P90 (TBoGT)

*The anims for shotguns for EFLC may affect the fire rate


Screens






Script by JulioNIB
Anims by ac.amir



How to Uninstall the mod or install less modded anims

To uninstall the mod and restore your anims you need to do the following:

Download the pack to restore anims (up there) and use OpenIV for easy install or:

First go to your gta Scripts folder and remove the file DualWielding.net.dll, this will disable the script.

Second open the .oiv file with Winzip or WinRar, open the folder "contents", "anims to replace" and you will see some folder that start with "backup.":


Inside those folders you will find the original anims for GTA IV, EFLC (main), TBoGT and TLaD, now use OpenIV or SparkIV to restore those files :)


Now, if you want install only selected anims, you can install the Package, and restore only the anims that you want normal, and in the script menu (Insert hotkey) you can enable or disable the desired gun.

Death race car - Vigilante 8 style [W.I.P.]

$
0
0
[Work In Progress]

Who played Vigilante 8 game series in PSX console? Very nice game, i spent hours playing shooting rockets and that pink thing that falls from sky ^^

This mod will try to bring something similar to GTA IV, actually it only have the miniguns working, but we already can fight some "AI" drivers:



The idea is add almost all features from Vigilante 8 game, also some crazy cars and some tracks to destroy everything.

Initially the project was called Death Race Car, but i will evolve it to add Vigilante 8 features in a separated mod.

Death Race Car will have:

  • Minigun
  • Ejectable seats
  • Detachable Tombstone (back part)
And other things  that i cant remember now, this is the car:



[TUT | REL] Simple menu class

$
0
0
Some people asked to me to release or explain how to create my menu system used in scripts like Iron Man IV and my mods menu and i will release and explain how to use in this small tutorial.

Download the source here (mirror)

To use this method you need to add as existing item the Menuz.vb file

First we need an object of the class Menuz, each menu need an object, so, if i want an submenu i need to create an object for him, in the object creation we must set the title of the menu, in this example i will create an menu and two submenus:



Now we need to add the items, each item can have one optional image:



Next step is call the Tick event that will draw the menu in a Graphics event:


In a future version i will change this to native calls to avoid Graphics event use.

Next step is show the menu using a hotkey for example:


Now we need to check if user is controlling the menu, if user press Up/Down the menu keyDown event will change menu index and update screen, if user press Enter keyDown event will return true so we can decide what to do:


Based on index property we can define what menu item is in focus.

We need to do similar checks to submenus:



Results on screen:




[OFF] Imagine GTA V with this soft-body physics

$
0
0
BeamNG? Soft-body physics? GTA V? Yes baby, this is the subject, the incredible BeamNG physics for cars collision/soft-body damage and a dream to have this in a GTA game.

BeamNG is the more precise soft-body simulation software/engine that we can try for free actually (i guess). The damage on vehicle structure and parts is incredible:
Now imagine this feature + stronger chassis + stronger suspension + GTA IV video editor in GTA V? AMAZING...

Unfortunately i don't think that we will have something like this in GTA V, mainly because GTA V will be released in September of this year and nobody said anything about more real car damage physics or something like that.

Maybe in a next future we can have a GTA style game with this kind of reality for cars, this would be awesome.

You can try the Free Tech Demo of BeamNG to have the feeling of a more real car damage, enter this site and click in TechDemo or just click here. This version goes with one map only for demonstration with some ramps and obstacles but you can use the World editor (F11) to edit the world and make an more dangerous ambient ^^

Also you can buy the full version that is constantly being updated with new cars, maps and improvements here, it's only $15 and you can have a lot of fun kidding with the car physics in cool maps and have access to all features in the World editor mode. The limit is your imagination (and computer processing capacity lol):



Race day [W.I.P.]

$
0
0
This is a first try to make a race script for GTA IV, i plan to use this script as base for my Death race script.

The intention of this release is just let you test the actual script, so, if you find any error, bug or have a tip please comment in the comments section down there.

At this moment the AI racers still very bad drivers :(

Download: here (mirror)

This mod was initially requested as a drag race script by Kovács Péter

The file goes with two races for airport, you can create or edit races (up to 100)


***

If you want share or make videos of this W.I.P. please use the following link as download reference:

http://gtaxscripting.blogspot.com/2013/09/race-day-wip.html

***


Installation

Copy all files from the zip file to your GTA Scripts folder (you need ScriptHook installed)

files after copy the files from the zip to your GTA Scripts folder


Hotkeys

Press Insert to see the mods menu and select the Race day option

 mod menu with the Race day option

mod main menu with the two races

[TUT] Camera control

$
0
0
My knowledge about camera is limited, i will show in this tutorial what i know about cameras in GTA IV.

Download the source code used here (mirror)

First of all we have direct access to the actual active camera using the following object:

Game.CurrentCamera

With this object we can obtain useful info about actual active camera:



Other way to obtain access to actual game camera is using this object:

Game.DefaultCamera

The problem with this object is that it disappear (= nothing) when an ped is set as targeted by player when player is unarmed, so, if you want use this camera be careful and make the Exists(Game.DefaultCamera) check before use.

GET_GAME_CAM
This native method will return the game camera, very useful when we need to find the actual game camera doesn't matter if we have a gun or not:




Creating a camera

To create a camera we need an object of type camera and we need to create a new instance of it:



Now to see the view of this camera we need to Activate it:


To demonstrate some camera control let's create an free camera with keyboard control, when i press move keys the camera will move forward and backward, when i press + and - camera will zoom in and out and when i press left/right/up/down camera will change direction:


Basically what i'm changing here is Position, Rotation and FOV.

An interesting method to use is the LookAt, we can set the camera to look at a Ped, Object, Vehicle or a single position, when we set this we can't control the camera direction or rotation anymore:


To obtain control over Direction and Rotation again we need to call UNPOINT_CAM method:


Another cool method to use is the SET_CAM_SHAKE:


First param is the camera, we can shake the game camera too but before we need to call CAM_PROCESS and specify game.default camera as the param.

Second param seems to be the level of movement, from 1 to 8

Third param is the time in milliseconds, -1 will result in a shake of approximated 1 second

This is what you need to do to shake the game default camera:




Attaching a camera

We can attach camera using the following methods:

ATTACH_CAM_TO_OBJECT
ATTACH_CAM_TO_PED
ATTACH_CAM_TO_VEHICLE
ATTACH_CAM_TO_VIEWPORT

After attaching the camera we can set the offset from the attach point using this method:

SET_CAM_ATTACH_OFFSET

To make the attach be relative to the object we need to call this method:

SET_CAM_ATTACH_OFFSET_IS_RELATIVE

To remove the attach we use UNATTACH_CAM

Let's make an example of this attach, let's attach the camera to player current vehicle, if player aren't in a car let's attach the camera to him:


Now, in a tick we need to set the camera direction or rotation:



With some coding and imagination you can easily create a basic first person camera.

[TUT] Scripthook installation - Manual setup - GTA iV

$
0
0
To manually install the ScriptHook we need to identify and copy some files.

Before start, make sure that you have installed:
  • Microsoft .Net Framework 4.0
  • Microsoft Visual C++ 2010 Redistributable Package (x86)
  • At least game patch 1.0.4.0 installed
Source: http://www.gtaforums.com/index.php?showtopic=392325


Let me explain how it works:

  1. ASI loader is loaded by game because game "thinks" that is a normal dsound.dll file
  2. ASI loader loads any file that is in GTAIV.exe folder that ends with .asi (extension .asi)
  3. The ScriptHookDotNet.asi is loaded by the ASI loader 
  4. ScriptHookDotNet.asi loads the ScriptHook.dll file
  5. ScriptHook.dll loads any .net.dll, .vb or .cs file that is inside the Scripts folder

Let's start with the ASI loader, in my mods its the file dsound.dll, it must be copied to GTAIV.exe file folder:


We must do the same with the following files: NAudio.dll, ScriptHook.dll, ScriptHookDotNet.asi, if your GTA have patch 1.0.4.0 or lower you need to copy the file ScriptHook.dll.4 instead of ScriptHook.dll and paste in GTAIV.exe folder and rename from ScriptHook.dll.4 to ScriptHook.dll:


Now we copy the Scripts folder from the ZIP and paste in GTAIV.exe folder:


If you run the game without administrator rights you may obtain an error message indicating the file asilog.txt, in this case you need to check if the file exists in your GTAIV.exe folder and create it if necessary using notepad for example.



Now let's test the ScriptHook, open the game, load an save game and when your character is on screen press ' or ~, a black window must appear, this indicates that the ScriptHook was loaded:


Done! Now you can drag to Scripts folder any .net script for GTA IV :)



Other mod files

Some mods like Dual wielding goes with files that must be added to .img game files using OpenIV or SparkIV, if it's a animation (.wad extension) it must be inserted in the anim.img file (anim\anim.img), if it's a weapon it must be inserted in the weapons.img (models\cdimages\weapons.img), if it's a ped it must be inserted in the componentpeds.img (models\cdimages\componentpeds.img), if it's a playerped.rpf file it must replace the playerped.rpf file (models\cdimages\playerped.rpf), always enable the Edit Mode before insert any file and do this with the game closed, you can export the original game files before to make backups.



Troubleshooting

  • My game don't load anymore
You probably have an issue with the ASI loader, remove the dsound.dll file from GTAIV.exe folder and see if the game opens again. Now try o find another ASI loader version, gtaforums is a good choice to search for this kind of file.
If you are running the game without admin rights maybe you will obtain an error message indicating that the file asilog.txt can't be created, in this case you can try to run the game as admin using right click or manually create the asilog.txt file and saving inside gtaiv.exe folder 

  • My game crash at loading screen
This is probably related to wrong ScriptHook.dll version, make sure that you choose the right ScriptHook based in your  patch version.

  • Black window don't appear 
ScriptHook or ASI loader failed in the startup, try other ScriptHook or ASI loader versions

  •  The mod menu don't appear when i press Insert
This can be a issue with the ScriptHook version, send to me the ScriptHook.log file :) 

Superman script

$
0
0
Veja a versão PT-BR deste post aqui

This script will give to player some Superman powers like:
  • Invencibility
  • Fast sprint
  • Heat vision
  • Super wind blow
  • Super strength
  • Super melee attacks
  • Lift and throw cars
  • Use lamp poles as baseball bat
  • Fly :)
and more 



Download here (mirror)
*This setup will replace your m_y_prisonaom ped (download the backup here or here)

***
if you want share or make videos of this mod, please use the following links as reference in description:

http://gtaxscripting.blogspot.com/2013/09/superman-script.html
https://www.youtube.com/user/taltigolt
https://www.youtube.com/user/YeardlyDiamond1
http://www.youtube.com/user/indirivacua

Thanks
***

Other Superman models

Superman mix by Quechus13: Easy setup (mirror) (Source)
Injustice Superman with working cape by wapeddell: Easy setup (mirror) (Source)
Man of Steel by wapeddell: Easy setup (mirror) (Source)
Superman v1.0 by H1Vltg3: Not fully supported because it's a playerped mod (Source)


Installation

This mod goes with .oiv file for easy setup using OpenIV package installer, see how to install .oiv files here.



Hotkeys

*Some people had issues with the mod menu don't showing the Superman option, if this happen press ' or ~ to see the ScriptHook console window and type the command superman to show the mod menu :)

Insert - Show mod menu to be able to switch player model to Superman model or activate and deactivate powers
R - Heat vision
T - Super wind blow (extinguish fire and push everything in front of player)
E - Grab lamp poles or lift cars
Left mouse button (LMB) - Super melee, throw cars
Right mouse button - Aim
Space - Toggle flight mode (must hold when not dressed as Superman)
Direct ped/vehicle attack - Set a targeted ped/vehicle that is not too much far away and press LMB
Ground attack - Fly against ground with more than 30 of speed

You can use all powers when flying too

The mod starts by default with powers ON, this means that you will have superman powers when not looking like superman, to disable the powers go to the mod menu and toggle the powers option :)

XBox 360 controller support is under develop.



Credits

Script: JulioNIB
Flight anims: Yeardley Diamond
Superman model: Indirivacua
Tests: Taltigolt

GTA IV VStyle - V Handling script

$
0
0


This mod made by Nixolas1 will bring to IV an cool handling inspired by GTA V handling.

Download easy setup: here (mirror)
Download from source here

 ***
if you want share or make videos of this mod, please use the following link as reference in description:
http://gtaxscripting.blogspot.com/2013/10/gta-iv-vstyle-v-handling-script.html
http://www.gta4-mods.com/script/gta-v-handling-for-iv-13-f24350

Thanks 
***

Installation: This mod uses OpenIV Package Installer (easy setup links), see how to install here



Credits

Nixolas1: http://www.gtagaming.com/downloads/author/62265



Original description

GTA V Handling, or V-Handling for short is a mod for IV/EFLC which will make all your vehicles take much better turns and brake faster, just like in GTA V!
You will never float away in the corners with this mod :)

NEW: <a type="amzn" search="xbox 360">Xbox</a> control fixed. Added stuck on roof rolling (Press A/D to roll on wheels again)
Edit the ini file to suit your preferences, like cropper turns, faster braking or enable tap to reverse.

Press A+S+D at the same time to reload the ini file.

--- Install ---
*Place V-Handling.asi and VHandling.ini in your main GTA IV or EFLC directory (where EFLC.exe or GTA IV.exe is)
*If you dont have dsound.dll or scripthook.dll there from before, put those there aswell
*Modify the ini file to suit your needs
*Own the streets of Liberty City :)

Video: http://youtu.be/77ZectnpyQI

Note: This is not a handling.dat mod, and has no "real" GTA V handling files. I have reconstructed the feeling by using scripting.
Viewing all 182 articles
Browse latest View live