My second script, this one was hard, 3480 lines of vb.net code :P, requested by GEL06, models by wapeddel and Quechus09
Source code: http://adf.ly/NJcoG
Download: GTA 4 Mods, GTA Garage
Download the Ghost Rider Ped/Player model and the Bike model: GTA 4 Mods (by Quechus13 and Wapeddell)
this time using particle effects (flames on head, bike and chain for example), playing .wav files, using ped animations...
the most complicated part was make the chain weapon work properly, the chain is composed by 10 chain pieces, each one is an model with 4 chain links (created by wapeddel):
i used ATTACH_OBJECT_TO_OBJECT_PHYSICALLY to attach each chain piece to the previous one and used the property velocity of the chain objects to help the attach method to keep they attached, in the tick i was always trying to move the chains to the attach position
this give the impression of an real chain:
when moving the chain to attack peds or vehicles or just to make the player "climb" to the top of buildings, i just move the last chain object and the other chain pieces follow it because of the attach method used and the velocity changed in the tick
another interesting idea that i created for this script was the "Wall ride" feature, with this feature we can ride the bike on walls (or any 4 wheel vehicle if the option is set in the .ini file), reaching the top of the buildings
Another features:
Penance stare
Super strength
Super shotgun (super impact + fire)
Spit Fire (like in second movie)
Throw flames with mouth
"Water ride" (ride the bike on the sea)
Spawn bike
Auto heal
Slow motion when using shotgun
Friday, 22 February 2013
Home »
» [Script] Ghost rider
[Script] Ghost rider
Related Posts:
[TUT-IV] Basic tools to scriptTo help we implement scripts for GTA iV we need some tools/links, the most important in my opinion are:The scripthook help file: Through this help file we can have easy access to any .net scripthook object and see their prope… Read More
Iron Man IV [W.I.P. Progress: Added rocket for enemies]The script is almost done, i basically need to fix some bugs and finish the HUD.*** The script was released, take a look here ***Now we have FBI guys and helicopter passengers with rockets and they can lock on playe… Read More
[TUT-IV] Detecting Targets (peds, vehicles and objects)Today i will show the idea that i use to detect targeted things in the game, i basically calc the distance between each possible target and the center of aim position.Download the sample project here, let's use this proj… Read More
[TUT-IV] First script - Interacting with peds/vehicles/objectsLet's create our first script? Step by step how to create an visual studio project to be used to edit and compile an .net script for GTA IV using VB.NET language :)You can download the sample project here.Lets start our first… Read More
Iron Man IV - [W.I.P. Flying enemies]What about flying enemies for Iron Man? Maybe with similar powers? Imagine them with repulsor beam, haha that will make it difficult, maybe if we kill some number of enemies i can spawn those "Iron man" enemies to combat.*** … Read More
0 comments:
Post a Comment