@gxfire I will see if I will add it. It shouldn't be too hard since it's a effects change.
Best posts made by nmodds
-
RE: [Script][WIP] Psychokineticposted in Releases & Works in Progress
-
[Script][WIP] Psychokineticposted in Releases & Works in Progress
Link to the mod Psychokinetic. I want to build a detailed Psychokinesis/Telekinesis mod. This is a work in progress(WIP) and has some bugs. I am creating this thread so that I could better know the collective problems/bugs that users have. Also for users to add suggestions for power.
Link to Resolution fix(test): Resolution Fix? Hopefully. To the people that have been experiencing problems with power wheel: need to change the screen resolution to the max resolution of your screen. The option is available under Visuals in the .ini file. Also could you tell me if it works for you so I could make it official.
CurrentWIP- PowerWheel

- Fireball

- BlackHole

- AtomicBlast

- Electric

- PowerWheel
-
RE: How to prevent vehicle from despawning? (scripthookV/C#)posted in General Modding Discussion
@GamerJoey369 Set (Some Entity).IsPersistent to true.
Vehicle v = World.CreateVehicle(VehicleHash.Adder, Game.Player.Character.Position + new Vector3(0, 10, 0)); v.IsPersistent = true; //this method also works on peds/vehicles/objects. -
RE: Re-implementing GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS manually?posted in General Modding Discussion
@ikt Yeah you're right about that, more choice is better.
public Vector3 GetOffsetGivenWorldCoords(Vector3 Origin, Vector3 Rotation, Vector3 Position) { Vector3 RightVector = RelativeRightVector(Rotation); Vector3 ForwardVector = RotationToDirection(Rotation); return new Vector3(-1 * Vector3.Dot(RightVector, (Origin - Position)), -1 * Vector3.Dot(ForwardVector, (Origin - Position)), Position.Z - Origin.Z); } public Vector3 RelativeRightVector(Vector3 Rotation)//source is from scripthookdotnet { double num = Math.Cos(Rotation.Y * (Math.PI / 180.0)); return new Vector3((float)(Math.Cos(-Rotation.Z * (Math.PI / 180.0)) * num), (float)(Math.Sin(Rotation.Z * (Math.PI / 180.0)) * num), (float)Math.Sin(-Rotation.Y * (Math.PI / 180.0))); } public Vector3 RotationToDirection(Vector3 Rotation)//I forgot where I got this from, I had it for a long time { float z = Rotation.Z; float num = z * 0.0174532924f; float x = Rotation.X; float num2 = x * 0.0174532924f; float num3 = Math.Abs((float)Math.Cos((double)num2)); return new Vector3 { X = (-(float)Math.Sin(num)) * num3, Y = (float)Math.Cos(num) * num3, Z = (float)Math.Sin(num2) }; } -
RE: [SCRIPT] [RELEASE] [WIP] - Grand Theft Spaceposted in Releases & Works in Progress
@sollaholla Wow, I just saw some of the video, you guys did a wonderful job. It's like a new game.
-
RE: Re-implementing GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS manually?posted in General Modding Discussion
@ikt I didn't realize your function said "GetOffsetInWorldCoords". My function does the other one and gets the offset.
-
RE: Re-implementing GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS manually?posted in General Modding Discussion
@ikt great job. I made my own implementation using dot product instead. I wish I had searched on google with parameter site: gta5-mods.com instead of just gtaforums.com . I thought there was no information about it, it took me some time to make own re-implementation. I was going to post my findings here as well, but yours is more efficient.
-
RE: [Script][WIP] Psychokineticposted in Releases & Works in Progress
@DesolateDarkness650 no, I will add that in the future. This power removes all the weapons from the enemies and points it at them, I just didn't know what to draw for that. Some of these I couldn't even think about how to display or draw it, like freezeall. I made it a time sign but it really doesn't control time.
-
RE: [Script][WIP] Psychokineticposted in Releases & Works in Progress
@stillhere thanks, i had many iterations of the design. This was the final form I decided to make, glad you liked it.
-
RE: [Script][WIP] Psychokineticposted in Releases & Works in Progress
@ismailmoustafa0802 There is an electric power, I tried to make it look like the star wars effect, but I couldn't find any effect that looked like lightning so I used a drawing method that just draws lines (really not impressive), I will update sometime later with images. Maybe in the future I will make an electric ball power.