Quantcast

Jump to content

» «
Photo

Wasted Error

10 replies to this topic
KayLaJay15
  • KayLaJay15

    Player Hater

  • Members
  • Joined: 04 Sep 2017
  • England

#1

Posted 08 November 2017 - 06:45 PM Edited by KayLaJay15, 4 weeks ago.

When I use Skinselector with Madleg ragdoll physics in GTA SA it works great, the only problem I have is that when I die I don't spawn at the nearest hospital I spawn in the same place I died. I believe if I change the way the wasted code is programmed I can make it so after the screen fades out for a second the player when the ragdoll physics is activated changes into the default death animation so the game recognises that it needs to spawn me to the nearest hospital. Is there a way to program the game to do this? 


KayLaJay15
  • KayLaJay15

    Player Hater

  • Members
  • Joined: 04 Sep 2017
  • England

#2

Posted 4 weeks ago

Or is it possible to change a ped skin back to CJ when you die?


deltaCJ
  • deltaCJ

    Davy Jones' Sock

  • Members
  • Joined: 27 Dec 2013
  • Unknown

#3

Posted 4 weeks ago

I don't know if this is what you want but, idk if this is the rag doll mod, because I've never heard of this happening and never happened to me. Could you try to remove one mod, then remove the other, and then remove both? Check to see which mod is affecting the game. If it's neither than you might have done something with out knowing.

guru_guru
  • guru_guru

    pajaro culiao

  • Members
  • Joined: 22 Jul 2017
  • Chile

#4

Posted 4 weeks ago Edited by guru_guru, 4 weeks ago.

I don't know if this is what you want but, idk if this is the rag doll mod, because I've never heard of this happening and never happened to me. Could you try to remove one mod, then remove the other, and then remove both? Check to see which mod is affecting the game. If it's neither than you might have done something with out knowing.

 

Nah is a problem with ragdoll itself,even madleg confirmed it.

 

I did a quick but sh*tty workaround.Is not very realiable since madleg's plugin modifies chars coordinates each frame.

 

Spoiler

guru_guru
  • guru_guru

    pajaro culiao

  • Members
  • Joined: 22 Jul 2017
  • Chile

#5

Posted 4 weeks ago

Lulz,actually I can "fix" it.

script_name("RG Mod ded FIx")
function main()
	while true do
		wait(0)
		if isCharDead(PLAYER_PED) then
			while not isCharPlayingAnim(PLAYER_PED,"getup") and not isCharPlayingAnim(PLAYER_PED,"getup_front") do
				wait(0)
			end
			
			setCharCoordinates(PLAYER_PED,2027.77, -1420.52, 15.99)
		end
	end
end

I'll finish this soontm

  • deltaCJ and KayLaJay15 like this

KayLaJay15
  • KayLaJay15

    Player Hater

  • Members
  • Joined: 04 Sep 2017
  • England

#6

Posted 4 weeks ago

Lulz,actually I can "fix" it.

script_name("RG Mod ded FIx")
function main()
	while true do
		wait(0)
		if isCharDead(PLAYER_PED) then
			while not isCharPlayingAnim(PLAYER_PED,"getup") and not isCharPlayingAnim(PLAYER_PED,"getup_front") do
				wait(0)
			end
			
			setCharCoordinates(PLAYER_PED,2027.77, -1420.52, 15.99)
		end
	end
end

I'll finish this soontm

 

Thank you I appreciate this. 


madleg
  • madleg

  • Members
  • Joined: 01 Jan 2014
  • None

#7

Posted 4 weeks ago

Lulz,actually I can "fix" it....

thats kinda interesting, that this worked for you. I mean that problem, actually it wasnt conceived to be used on player at all, occurs because that after death theres no task "get up" or "get up and stand still" being applied to ped, so it keeps ragdolling until one of this task will be applied or ped will be destroyed. This is the only way to stop specific ped's ragdoll.

Well, this is just theory, i dont know actually what happens, so good luck guys .


guru_guru
  • guru_guru

    pajaro culiao

  • Members
  • Joined: 22 Jul 2017
  • Chile

#8

Posted 3 weeks ago

oops,I completely forgot about this

 

Spoiler

 

As I said before,this is not a fix but a workaround,and a really bad one.

I tried to stop the ragdolling by forcing the player to play "getup" , "getup_front" and others anims,but it didn't do sh*t. I guess madleg's mod is too strong lol.

This means that you'll remain in the same place until the ragdolling stops by itself.So if you get stuck on the ground,bad luck,you'll have to restart the game.

 

Also,

 

thats kinda interesting, that this worked for you. I mean that problem, actually it wasnt conceived to be used on player at all, occurs because that after death theres no task "get up" or "get up and stand still" being applied to ped, so it keeps ragdolling until one of this task will be applied or ped will be destroyed. This is the only way to stop specific ped's ragdoll.

 

 

Well, this is just theory, i dont know actually what happens, so good luck guys .

 

 

thanks for info! It didn't help much but thanks anyways :)


KayLaJay15
  • KayLaJay15

    Player Hater

  • Members
  • Joined: 04 Sep 2017
  • England

#9

Posted 3 weeks ago

Thank you anyway I appreciate the help, I tired it and yeah it didn't work.  


madleg
  • madleg

  • Members
  • Joined: 01 Jan 2014
  • None

#10

Posted 3 weeks ago

@guru_guru, just like i said its about task, not animation, character repositioning etc. Some cleo example to set getupandstandstill task from my very first experiments

Spoiler

skatefilter5
  • skatefilter5

    Controlling Both Players

  • Members
  • Joined: 30 Apr 2016
  • Canada

#11

Posted 3 weeks ago

In fact, I want to get rid of programmed wasted and busted, like if i use emulate_player_busted_or_wasted while the text shows, it will disable player_char, which i can access any cleo mods even I can't paused the game because it most likely screwed so i have to restart the game, any how to remove the programmed script?

 

so I can manual customize after I'm died or busted, like samp multiplayer instead of that fade in.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users