ULX

Author Topic: headcrab ragdoll  (Read 3641 times)

0 Members and 1 Guest are viewing this topic.

Offline bhinson346

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
headcrab ragdoll
« on: July 05, 2010, 11:14:20 AM »
can anyone give me the command for a regular headcrab ragdoll useing ulx ent

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: headcrab ragdoll
« Reply #1 on: July 05, 2010, 01:50:18 PM »
Way back in the day, there used to be a command to spawn things directly from console, which would be a better choice than 'ulx ent', but since I can't seem to find the console command (perhaps it was removed?), here's the ulx ent command to do the same:

Code: [Select]
ulx ent prop_ragdoll model:models/headcrabclassic.mdl
Don't abuse this, now. :P
Experiencing God's grace one day at a time.

Offline bhinson346

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: headcrab ragdoll
« Reply #2 on: July 05, 2010, 04:11:02 PM »
ty :D

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: headcrab ragdoll
« Reply #3 on: July 07, 2010, 11:35:35 AM »
Here is the one  always used...

give

http://developer.valvesoftware.com/wiki/Give
Quote
To use the "Give" command, you must have sv_cheats set to 1.
"Give" gives you an entity (or, rather, spawns that entity beneath your feet.)
"Give" commands are used in this way: give [entity name here.]

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: headcrab ragdoll
« Reply #4 on: July 07, 2010, 11:39:49 AM »
Here is the one  always used...

give

http://developer.valvesoftware.com/wiki/Give

That would give you a ragdoll with no model, Mr. P. :P
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: headcrab ragdoll
« Reply #5 on: July 07, 2010, 11:48:16 AM »
A ragdoll with no model?!? That's like a PB&J with no Peanut Butter... but no for real.. is there not a way to pass flags to it? I know there is a way to spawn entities with spawn parameters I used to do it in Gmod all the time. I'll keep looking.

Offline RynO-SauruS

  • Jr. Member
  • **
  • Posts: 77
  • Karma: 17
Re: headcrab ragdoll
« Reply #6 on: July 07, 2010, 04:39:41 PM »
Code: [Select]
gm_spawn "models/headcrabclassic.mdl"
That should do it without "ulx ent" or "sv_cheats 1", in case you'd like that. I believe this is what's used when you actually click it in the spawn menu.  ;)

I think this command doesn't show up in auto-complete for some reason, that may be why you couldn't find it.
« Last Edit: July 07, 2010, 04:45:10 PM by RynO-SauruS »


YouTube music player by RynO-SauruS

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: headcrab ragdoll
« Reply #7 on: July 07, 2010, 06:39:42 PM »
That's exactly what I was looking for ryno, thanks.
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: headcrab ragdoll
« Reply #8 on: July 08, 2010, 11:38:29 AM »
OH! I thought you were looking for the NON ULX form of ulx ent. gm_spawn is a Garry's Mod only function.