scripthookvdotnet

An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language on the .NET Framework runtime in-game.

ZLIB License

Stars
1.1K

Bot releases are visible (Hide)

scripthookvdotnet - ScriptHookVDotNet v0.4

Published by crosire almost 9 years ago

Changelog

  • Updated for game version 1.0.350
  • Added World.GetNearbyPeds() and World.GetNearbyVehicles()
  • Added Vehicle.DisplayName property
  • Moved logging into separate class
  • Fixed Player/Vehicle type error in Native.GetResult()
  • Fixed issue preventing more than one script to be loaded per assembly
scripthookvdotnet - ScriptHookVDotNet v0.5

Published by crosire almost 9 years ago

Changelog

  • Added three new example scripts
  • Added model hash enumerations
  • Added first UI classes and a basic UI component system
  • Added ped tasks for AI scripting
  • Added equality operators to scripting objects
  • Added World.GetClosestVehicle()
  • Changed keyboard handling to use new handler from Script Hook SDK
  • Fixed Vehicle.EngineRunning not working when attempting to switch it on
  • Fixed crash when using native functions inside keyboard event handlers
  • Fixed random crash after a certain amount of time passed
  • Fixed Ped.CurrentVehicle returning an invalid vehicle object instead of null when ped is not sitting in any vehicle
scripthookvdotnet - ScriptHookVDotNet v2.4

Published by crosire about 9 years ago

Changelog

  • Added Ped.Euphoria and euphoria class helpers
  • Added PedGroup.Leader, PedGroup.GetMember(), PedGroup.ToArray(), PedGroup.ToList(), ...
  • Fixed returned native string values not handling unicode text correctly
  • Switched back to Visual C++ 2013
scripthookvdotnet - ScriptHookVDotNet v2.3

Published by crosire about 9 years ago

Changelog

  • Added a few missing animal hashes to the Native.PedHash enum
  • Added an "_0x[...]" entry for each named member of the Native.Hash enum to fix compatibility with some older scripts
  • Added PedGroup class
  • Added Ped.IsPerformingStealthKill, Ped.IsInGroup, Ped.IsInCoverFacingLeft, Ped.IsGoingIntoCover, Ped.NeverLeavesGroup, Ped.ShootRate, Ped.GetJacker() and Ped.GetJackTarget()
  • Added Entity.HasGravity, Entity.IsOnlyDamagedByPlayer, Entity.LodDistance and Vehicle.EngineCanDegrade
scripthookvdotnet - ScriptHookVDotNet v2.2

Published by crosire about 9 years ago

Changelog

  • Added UI.DrawTexture() overload which accepts an aspect ratio
  • Added Math.Matrix.FromArray(), Math.Matrix.ToArray() and Math.Matrix.Inverse methods
  • Added Entity.HasCollision, Entity.MaxSpeed, Entity.IsBulletProof, Entity.FireProof, etc.
  • Added Entity.IsInvincible getter
  • Changed ScriptSettings.GetValue() to support any enum and types which inherit from IConvertible
  • Fixed Rope.Exists() crash and Scaleform.Render2D() crash
  • Fixed TaskSequence.Close() crash and added overload to enable repeating
scripthookvdotnet - ScriptHookVDotNet v2.1

Published by crosire about 9 years ago

Changelog

  • Changed UI.DrawTexture() to work as previously again
  • Fixed the now obsolete menu implementation
scripthookvdotnet - ScriptHookVDotNet v2.0

Published by crosire about 9 years ago

Changelog

  • Added script dependency system (RequireScript attribute)
  • Added Game.Language property
  • Added World.CalculateTravelDistance()
  • Added Entity.Quaternion and Entity.PositionNoOffset
  • Added assembly information
  • Added World.GetStreeName() and World.GetZoneName()
  • Added missing Besra hash to VehicleHash enum
  • Added Game.CurrentInputMode
  • Added firing pattern parameter to Tasks.ShootAt()
  • Changed settings implementation to not throw exceptions
  • Changed UI.DrawTexture() and added overload with center offset parameter
  • Changed camera shaking to use Camera.Shake() function instead of ShakeType property
  • Renamed Tasks.SlideToCoord() to Tasks.SlideTo()
  • Renamed Vehicle.IsLeftHeadLightBroken to Vehicle.LeftHeadLightBroken and added setter (same for the right headlight)
  • Fixed native string arguments not handling unicode text correctly
  • Fixed Game.Pause() not pausing the game
  • Fixed ExplosionType enum names
  • Fixed Game.GetUserInput() and added window titles
  • Fixed World.GetAllEntities/Vehicles/Props() etc. not actually returning everything (requires latest C++ Script Hook)
  • Fixed World.GetAllEntities() returning only props and including a lot of duplicates
  • Fixed script settings not being accessible in the script constructor
  • Fixed exception if null was passed to Native.InputArgument
  • Fixed UI.WorldToScreen() returning zero all the time
  • Fixed World.AddRope() causing the game to crash
  • Updated to latest C++ Script Hook SDK
  • Made menu implementation obsolete
scripthookvdotnet - ScriptHookVDotNet v1.1

Published by crosire over 9 years ago

Added native memory access and support for drawing custom textures.

Changelog

  • Added native memory access, providing some new functions and properties
  • Added Game.Version, World.GetNearbyPeds/Vehicles() overloads which accept a position
  • Added Vehicle.Steering, Vehicle.Acceleration, Vehicle.CurrentRPM, ...
  • Added UI.DrawTexture() which allows custom texture drawing using the new Script Hook Direct3D hook
  • Fixed World.GetNextPositionOnStreet()
  • Fixed Vehicle.PlaceOnNextStreet() heading
scripthookvdotnet - ScriptHookVDotNet v1.0

Published by crosire over 9 years ago

Major overhaul of the scripting API with tons of new features.

scripthookvdotnet - ScriptHookVDotNet v0.9

Published by crosire over 9 years ago

Changelog

  • Added Vehicle.SoundHorn(), Vehicle.IsTireBurst and Vehicle.FixTire()
  • Added Ped.WetnessHeight, Ped.ResetVisibleDamage() and Ped.ResetBloodDamage()
  • Added Entity.isTouching and Entity.HasBeenDamagedBy()
  • Fixed null reference exception when calling natives from inside the script constructor
scripthookvdotnet - ScriptHookVDotNet v0.8

Published by crosire over 9 years ago

Changelog

  • Reworked script management backend
  • Reworked PedHash enum
  • Added Vehicle NeonLightsColor property and SetNeonLightsOn method
  • Added Ped.DrivingSpeed, Ped.MaxDrivingSpeed and Ped.DrivingStyle
  • Added Ped.Weapons, WeapongCollection and Weapon classes
  • Added Vector2.RandomXY(), Vector3.Around(), Vector3.RandomXY() and Vector3.RandomXYZ()
  • Added Vector2.DistanceTo() and Vector3.DistanceTo()
  • Added Vehicle.PlaceOnGround(), Vehicle.PlaceOnNextStreet() and Vehicle.CreatePedOnSeat()
  • Added Entity attach and range methods
  • Added Blip class and implementation
  • Added Prop class
  • Added Camera and GameplayCamera class and implementation
  • Added Entity.Delete()
  • Added World.CreateObject()
  • Added getter to Ped.CanRagdoll and fixed setter
  • Added Tasks.PlayAnimation() and animation handling
  • Added Tasks.ReactAndFlee() and Tasks.SkyDive()
  • Added TaskSequence implementation
  • Added Player.Money property
  • Added simple UI menu rendering
  • Moved Script.IsKeyPressed() to Game.IsKeyPressed()
  • Renamed Entity.ID to Entity.Handle
  • Fixed crash after loading savegame
  • Fixed Entity.IsInAir
  • Fixed crash if unable to write to log file
  • Fixed Vehicle.LightsOn
  • Fixed logged exceptions not containing line and file information
scripthookvdotnet - ScriptHookVDotNet v0.6

Published by crosire over 9 years ago

First release created using the new automatic building system.

Changelog

  • Added Vehicle.GetPedOnSeat()
  • Added notifications and subtitles
  • Added World.AddExplosion()
  • Added Game.GetUserInput()
  • Added Player.IsFreeAiming
  • Added Tasks.Cower()
  • Added Game.PlaySound()
  • Added Vehicle.GetMod(), Vehicle.PrimaryColor, Vehicle.OpenDoor(), Vehicle.CloseDoor(), Vehicle.FixWindow(), Vehicle.RollDownWindow(), ...
Badges
Extracted from project README
NuGet Build Status License
Related Projects