• RagMod (become a ragdoll)
    1,183 replies, posted
  • Avatar of BurningPride
  • [QUOTE=Wizey!;20849331]Read previous posts, and youll know why he isnt here. + 1 Dead Kitten[/QUOTE] You should make the npc modules.
  • Avatar of lotus006
  • [QUOTE=filas312;20862023]*BUMP* Any info bout NPC Modules or new versions of RagMod ?[/QUOTE] Try to read before posting ... This addons is dead until someone continue this but I dont think so...
  • Avatar of T.r.i.p.
  • [QUOTE=noforgivin;19459184]Tried this on my DarkRP server but when i get ragdolled im there for good and cant respawn.. hulp?![/QUOTE] I had the same problem till now! There are two solutions: 1. use /sleep to sleep. wait a few seconds and now sleep again now you back and don't need to rejoin to be "unstucked" solution 2 (this is serverside but the reason why you are stucked): you have to modify ragmod: open ragmod.lua in \addons\RagMod\lua\autorun add to the function RM_UnRagDolizePlayer before line 327 the line ent:UnSpectate() now it should look like this: [CODE]function RM_UnRagDolizePlayer (ent, doreset) if SERVER then if ent != nil and RM_cvEnabled:GetBool() and ent:IsPlayer() then if ent.RM_IsRagdoll == true and ent:Health()>0 then local ragdoll = ent.RM_Ragdoll local RM_RagPos = Vector(0,0,0) local PlayerVelocity = Vector(0,0,0) local PlayerEyeAngle = Vector(0,0,0) --Msg ("Player ragdoll valid - ") Msg (ragdoll:IsValid()) Msg ("\n") if ent.RM_RagTime >= RM_cvGetUpDelay:GetFloat() then ent.RM_IsRagdoll = false PlayerEyeAngle = ent:GetAngles() if ragdoll:IsValid() then -- now to things what can only be done with valid existing ragdoll RM_RagPos = ent.RM_Ragdoll:GetPos() RM_RagPos.z = RM_RagPos.z + 10 PlayerVelocity = ent.RM_Ragdoll:GetVelocity() if doreset == 1 and RM_cvNinjamode:GetBool() then local RM_EfData = EffectData() local tmelon = ents.Create( "prop_physics" ) tmelon:SetPos( ragdoll:GetPos() ) tmelon:SetModel( "models/props_junk/watermelon01.mdl" ) tmelon:Spawn() tmelon:Activate() ent:AddCleanup( "Props", tmelon ) RM_EfData:SetEntity( tmelon ) util.Effect( "entity_remove", RM_EfData, true, true ) end end ent:Spawn() ent:SetSuppressPickupNotices ( true ) ent:UnSpectate() --added to fix darkrp bug when ragdollized, funny ent:StripWeapons() cweps={} for k, v in pairs(ent:GetWeapons()) do table.insert(cweps,v:GetClass()) end weps = ent.RM_WeaponData for k, v in pairs(weps) do --if table.HasValue( cweps, v ) then --else ent:Give(v) --end --if v == ent.RM_LastWeapon then --Msg ("Found last weapon : "..v.." - selecting\n") -- ent:SelectWeapon( v ) --end end ent:SelectWeapon( ent.RM_LastWeapon ) if RM_cvPreserveAmmo:GetBool() then --Preserver ammo wepclips1 = ent.RM_Clips1 wepclips2 = ent.RM_Clips2 for k, v in pairs(ent:GetWeapons()) do v:SetClip1( wepclips1[k]) v:SetClip2( wepclips2[k]) end cammo = ent.RM_AmmoCount cammon = ent.RM_AmmoNames for k, v in pairs(ent:GetWeapons()) do table.insert(cweps,v:GetClass()) end for k, v in pairs(cammon) do ent:SetAmmo( cammo[k], cammon[k] ) end end ent:SetSuppressPickupNotices ( false ) if ragdoll:IsValid() then if doreset != 1 then ent:SetPos(RM_RagPos) end if doreset == 1 then RM_SendMessage ( ent , "You've been reset!" , 3 ) end else RM_SendMessage ( ent , "You've lost your body! Well done!" , 3 ) --have NO idea how this could happen... well, actually I HAVE. end ent:SetHealth( ent.LastHealth ) ent:SetArmor( ent.LastArmor ) ent:SnapEyeAngles( PlayerEyeAngle ) ent:SetVelocity( PlayerVelocity ) ent:SetNoTarget ( false ) ent.RM_Ragdoll = nil RM_CheckDeleteRagdoll ( ent ) end end --ent:SetNetworkedInt("rmwaittime", M_cvGetUpDelay:GetFloat()-ent.RM_RagTime ) if ent.RM_RagTime != nil then if ent.RM_RagTime < RM_cvGetUpDelay:GetFloat() then --ent:SetNetworkedInt("rmwaittime", M_cvGetUpDelay:GetFloat()-ent.RM_RagTime ) --ent:PrintMessage( HUD_PRINTCENTER, "YOU HAVE TO WAIT "..RM_cvGetUpDelay:GetFloat()-ent.RM_RagTime.." SECOND(S) TO GET UP") end end end end end[/CODE] ironically I couldn't find the line in the darkrp-scripts where this f*ck happenz or why but the player is somehow stuck in the spectator mode (this is the reason, too why you can't select a different weapon when stuck) but for now this will work because ragmod is well coded yay got it fixed have fun
  • Avatar of filas312
  • You can download NPC Modules here. [url]http://bit.ly/9MeEEo[/url] :buttertroll:
  • Avatar of dweet2
  • [QUOTE=filas312;20991797]You can download NPC Modules here. [url]http://bit.ly/9MeEEo[/url] :buttertroll:[/QUOTE] I hate you.
  • Avatar of BurningPride
  • [QUOTE=filas312;20991797]You can download NPC Modules here. [URL]http://bit.ly/9MeEEo[/URL] :buttertroll:[/QUOTE] That's not even funny...
  • Avatar of Toasty_Power
  • There's a problem. I binded j to ragdolize, but both shift AND j make me turn into a ragdoll... Well, shift only does that when I noclip. When I run, I'm fine. But as soon as I'm noclipping and I press shift...
  • Avatar of Markntosh
  • [QUOTE=Toasty_Power;21023961]There's a problem. I binded j to ragdolize, but both shift AND j make me turn into a ragdoll... Well, shift only does that when I noclip. When I run, I'm fine. But as soon as I'm noclipping and I press shift...[/QUOTE] That's because there's an option to auto-ragdolize you if you move too fast. I can't remember the convar, but it's rm_speed_threshold or something like that. Set that to really, really high and it'll take care of the problem.
  • Avatar of Toasty_Power
  • [QUOTE=Markntosh;21024253]That's because there's an option to auto-ragdolize you if you move too fast. I can't remember the convar, but it's rm_speed_threshold or something like that. Set that to really, really high and it'll take care of the problem.[/QUOTE] Okay, then. This file will now resurrect from my recycle bin!
  • Avatar of The Rizzler
  • Toasty just go into your ragdmod folder and find the lua folder go in using textbook and change some of the variables there you want rag_onspeed or whatever to be 0 etc this saves you from having to put in commands every time you start
  • Avatar of The Rizzler
  • [QUOTE=filas312;21032910]rm_rag_onspeed_value That's the one.[/QUOTE] nah if you change the value of that to 0 you'll rag when you move at 0mph i.e. always lol i think it's just rm_rag_onspeed or change rm_rag_onspeed to 10000000000000 or whatever
  • Avatar of dweet2
  • [QUOTE=The Rizzler;21033306]change rm_rag_onspeed to 10000000000000 or whatever[/QUOTE] Try changing it to rm_rag_onspeed 1500. It works fine for me at 1500.
  • Avatar of Toasty_Power
  • Oh, I found two bugs! I built this turbo District 9 jeep thing with three REALLY BIG 10000power thrusters, and whenever I hit a wall, it would spawn TWO ragdolls of me. One for BailOut, and one for RagMod. Th second bug is, if you choose a weapon while you're ragdolled, and then de-ragdolize yourself, you don't get the weapon.
  • Avatar of The Rizzler
  • [QUOTE=Toasty_Power;21057404]Oh, I found two bugs! I built this turbo District 9 jeep thing with three REALLY BIG 10000power thrusters, and whenever I hit a wall, it would spawn TWO ragdolls of me. One for BailOut, and one for RagMod. Th second bug is, if you choose a weapon while you're ragdolled, and then de-ragdolize yourself, you don't get the weapon.[/QUOTE] the double ragdoll effect is caused by addons conflicting, it happens without ragmod on a regular basis the second thing isnt really a bug, you wouldnt be able to equip weapons in ragdoll mode anyway because that feature hasn't even been made
  • Avatar of Toasty_Power
  • [QUOTE=The Rizzler;21060059]the double ragdoll effect is caused by addons conflicting, it happens without ragmod on a regular basis the second thing isnt really a bug, you wouldnt be able to equip weapons in ragdoll mode anyway because that feature hasn't even been made[/QUOTE] Is there still any way I can make ragmod not ragdoll me when I'm in a vehicle?
  • Avatar of The Rizzler
  • [QUOTE=Toasty_Power;21061594]Is there still any way I can make ragmod not ragdoll me when I'm in a vehicle?[/QUOTE] Get rid of BailOut and keep Ragmod? or increase your speed values
  • Avatar of Toasty_Power
  • [QUOTE=The Rizzler;21062107]Get rid of BailOut and keep Ragmod? or increase your speed values[/QUOTE] I set the speed value to 1000000000. I think it's a different value right now, but my bitch sister is hogging my GMod right now. (Keep in mind that I am 14, and my mom will not buy my sister her own GMod. FML)
  • Avatar of dweet2
  • [QUOTE=Toasty_Power;21070687]I set the speed value to 1000000000. I think it's a different value right now, but my bitch sister is hogging my GMod right now. (Keep in mind that I am 14, and my mom will not buy my sister her own GMod. FML)[/QUOTE] Why would your (bitch) sister want to play gmod?
  • Avatar of Toasty_Power
  • [QUOTE=dweet2;21072100]Why would your (bitch) sister want to play gmod?[/QUOTE] She just likes to.
  • Avatar of dweet2
  • [QUOTE=Toasty_Power;21079904]She just likes to.[/QUOTE] I've never heard of a girl who liked to play games on the computer...
  • Avatar of Kung Fu Jew
  • your logic is damn terrible. how old are you? not often do i see someone criticize a girl that plays video games that isn't like 10. goddamn.