Skip to content

Instantly share code, notes, and snippets.

@alexguirre
alexguirre / Speeches.cs
Last active April 21, 2024 19:11
GTA V Speeches List
This file has been truncated, but you can view the full file.
// Speeches List by alexguirre
// Code in C# using RAGEPluginHook
// Usage example:
// Speech.S_M_Y_SWAT_01_WHITE_FULL_01.GENERIC_CURSE_HIGH_03.PlayOn(ped, SpeechModifier.Force);
namespace Put.Your.Namespace.Here
{
using Rage;
internal struct Speech
// RPH
using Rage;
internal struct RotatedVector3
{
public readonly Vector3 Position;
public readonly Rotator Rotation;
public readonly float Heading;
public RotatedVector3(Vector3 position, float heading)
using Rage;
using Rage.Native;
internal class Sound
{
public int Id { get; set; }
public Sound(int id)
{
this.Id = id;
using Rage;
using Rage.Native;
internal class PedHeadshot
{
private uint handle;
public uint Handle { get { return handle; } }
private Ped ped;
public Ped Ped { get { return ped; } }
internal enum WeaponHashEx : uint
{
Unarmed = 2725352035,
Animal = 4194021054,
Cougar = 148160082,
Knife = 2578778090,
Nightstick = 1737195953,
Hammer = 1317494643,
Bat = 2508868239,
GolfClub = 1141786504,
// System
using System.Drawing;
// RPH
using Rage;
using Rage.Native;
internal class Decal
{
public uint Handle { get; }
// System
using System.Drawing;
// RPH
using Rage;
using Rage.Native;
internal class LoopedParticle : IHandleable
{
public string AssetName { get; }
internal static class DamagePack
{
public static void ApplyDamagePack(this Ped ped, string damagePackName, float damage, float multiplier)
{
NativeFunction.Natives.ApplyPedDamagePack(ped, damagePackName, damage, multiplier);
}
public const string BigHitByVehicle = "BigHitByVehicle";
public const string SCR_Dumpster = "SCR_Dumpster";
public const string SCR_Torture = "SCR_Torture";
// Generated by GTA V Euphoria Behaviours Parser v1.2.0.0 by alexguirre
namespace Rage.Euphoria
{
using Rage;
using Rage.Euphoria;
using Rage.Attributes;
/// <summary>
///
/// </summary>
@alexguirre
alexguirre / Particles Effects Dump.txt
Last active October 27, 2024 23:55
GTA V Particle Effects Dump
# Thanks to CodeWalker for the code to read .ypt files: https://github.com/dexyfex/CodeWalker
#
# Format:
# [asset_name]
# effect_name_1
# effect_name_2
#
[core]
bul_gravel_heli