Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: bhinson346 on July 05, 2010, 11:14:20 AM

Title: headcrab ragdoll
Post by: bhinson346 on July 05, 2010, 11:14:20 AM
can anyone give me the command for a regular headcrab ragdoll useing ulx ent
Title: Re: headcrab ragdoll
Post by: Megiddo 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
Title: Re: headcrab ragdoll
Post by: bhinson346 on July 05, 2010, 04:11:02 PM
ty :D
Title: Re: headcrab ragdoll
Post by: MrPresident 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.]
Title: Re: headcrab ragdoll
Post by: Megiddo 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
Title: Re: headcrab ragdoll
Post by: MrPresident 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.
Title: Re: headcrab ragdoll
Post by: RynO-SauruS 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.
Title: Re: headcrab ragdoll
Post by: Megiddo on July 07, 2010, 06:39:42 PM
That's exactly what I was looking for ryno, thanks.
Title: Re: headcrab ragdoll
Post by: MrPresident 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.