Académique Documents
Professionnel Documents
Culture Documents
7 BETA
(C) 2009 Hazard (hazard_x@gmx.net)
based on the GTAIV C++ Script Hook from Aru <oneforaru at gmail dot com>
Classes Vector2, Vector3, Vector4, Quaternion and Matrix based on
sourcecode from SlimDX ( www.slimdx.org )
1. Description
-------------This ASI plugin allows you to run ingame GTAIV scripts written
in any .Net language. Those languages are easy to learn and use,
while they are still extremely powerful.
One noteable aspect of this hook is, that the scripting functions
are organized in a .Net-typical class structure, which makes
finding functions intuitive and easy.
And since you are able to develop scripts with Visual Studio,
you'll get all benefits like code highlighting and IntelliSense.
You need an AsiLoader to use this plugin in GTAIV. See the
Requirements section below for more info.
Special thanks to Aru for his help and for his C++ Script Hook.
This plugin wouldn't be possible without it.
You can get Aru's C++ Script Hook here:
http://www.gtaforums.com/index.php?showtopic=390582
2. Disclaimer
------------This software is provided 'as-is', without any explicit or implied
warranty. The author(s) cannot be held accountable for any damage
that might be caused by this software or any of it's components.
3. Requirements
--------------Required to run this plugin are:
- A valid installation of GTA IV or EFLC patched to any of the following versio
ns:
GTA IV: version 1.0.1.0 up to version 1.0.7.0
EFLC: version 1.1.1.0 up to version 1.1.2.0
- Microsoft .Net Framework 4 installed on your machine
- Any AsiLoader installed for GTA IV
I've included download links below. If the application crashes or
behaves in an unwanted manner then download and install those
updates/tools.
The .Net Framework SHOULD be installed already after the GTA IV
installation.
ck.
- Added InteriorLightOn, CanTiresBurst, IsTireBurst, BurstTire, FixTire methods
to the Vehicle class.
Version
- Added
- Added
- Added
1.7.1.4 BETA:
support for GTA IV version 1.0.7.0 and EFLC version 1.1.2.0
Game.CurrentEpisode property
TLAD and TBOGT weapon names to the Weapon enumeration.
X
-
0.891 BETA:
a problem that resulted in keystrokes not being catched by other mods
a bug that drew some text messages at the wrong position when using Scre
scaling.
- Added SkinTemplate class and Ped.Skin allows you to edit components and props
now.
- Added a WindowExample script to show off some of the new GTA.Forms functionali
ty
Version 0.860 BETA:
- removed Startup from scripts. You can now use all functions and also Wait() in
side the constructor.
- Replaced all events that required a method override with actual events, confor
mant with the .Net standard.
- Updated the examples accordingly. Look at them to see how to apply the changes
to your scripts.
- The PhoneNumberDialed event is now also available in game version 1.0.1.0
- some other minor changes
Version 0.850 BETA:
- fixed serveral bugs in the new threading architecture
- fixed all reported AccessViolations
- fixed custom cameras. they work now as intended.
- added ScriptCommands to allow communication between scripts (see the included
ScriptCommunication example)
- added easy settings (ini) file support (just access "Settings" in your scripts
)
- added methods to store Metadata for Objects. Metadata can be stored/read as lo
ng as the object exists.
- added ability to catch dialed phone numbers in scripts (PhoneNumberDialed & Bi
ndPhoneNumber)
- added "ScriptHelp" console command, which displays general info and bound cons
ole commands of scripts.
- added more functions to the Graphics class.
- you can scroll in the console now using the PageUp/Down keys (hold Shift to ge
t to start/end immediately)
- use Shift + NumpadPlus/Minus to grow/shrink the console
- more stuff, as usual
Version 0.840 BETA:
- Complete rewrite of the internal scripting and thread structure. Crashes on Ga
me & Script reloading should be gone now!
- added easy to use Euphoria (NaturalMotion) helpers to the Ped class
- added BindKey and BindConsoleCommand to Scripts - thanks to diryboy for the id
ea!
- added ApplyForce function to Peds, Vehicles and Objects
- the Font width is now determined based on the screen resulution. Use Font.Enfo
rcedWidth to set a custom width.
- added "Scaling" to the Font class, which allows you to scale fonts by Pixels,
FontSize or ScreenUnits.
- added Euphoria example (demonstrating Zombie-like movement)
- added BindKey, BindConsoleCommand and PerFrameDrawing examples
- even more stuff
Version 0.820 BETA:
- added an ingame console (tilde key) and some commands for it. type "help" for
infos.
- added ConsoleCommand function to scripts, to allow custom console commands
- added console command to reload all scripts during the game and another one to
minimize the game window.
- added PerFrameDrawing function to scripts to allow drawing of a simple GUI for
scripts
- added Font class to allow custom font styles in PerFrameDrawing
- added basic support for NaturalMotion messages (NmMessage class)
If you get crashes and are using GTA IV version 1.0.4.0 or older, try to install
this
older version of the C++ ScriptHook, which works fine with the current .Net Scri
ptHook:
http://aru.mtasa.com/gta4/GTAIVScriptHook_0.4.0_Redist.zip
11. Infos for Webmasters
-----------------------Feel free to add this plugin as a download to your site
as long as you give proper credit. However, as long as
it is technically possible, please DON'T upload it to
other webservers. Best way would be to link to a
official release thread or at least direct-link my
download from your page to assure that people always
get the latest version!
Official Release Thread:
http://www.gtaforums.com/index.php?showtopic=392325
Direct-Download:
http://dl.megamods.de/83
12. Facts
--------Data Files:
ScriptHookDotNet.asi
Author:
Hazard (hazard_x@gmx.net)
Releasedate (yyyy-mm-dd):
2010-12-23