• Need Help With Body Groups
    10 replies, posted
I've been working on body groups (basicly just gluing shit to it so it shows what job the player is in DarkRP) but currently the only problem I have is is that instead of having it so they're off by default it just adds them all. This is a problem since the command I use uses the body group number and currently can't set the sub model. Simple version: I want to change this [img]http://gyazo.com/f4d0a0f6b3f930c3d3a1b55ab5fc7d88.png[/img] To this [img]http://gyazo.com/edf735a7380a00c1c0b8528cd7ad0d2d.png[/img] Without changing the sub models
What's your .qc file look like? At least, the sections related to bodygroups.
[code]$bodygroup Medic { blank studio "healthKit_reference.smd" } $bodygroup GunDealer { studio "shotgun.smd" }[/code] If you need more of it I'll post it
You pretty much need to use subgroups.
[QUOTE=Henry Townshend;25050883]You pretty much need to use subgroups.[/QUOTE] Then fuck. I'll ask the person if they feel like doing that as well now
[QUOTE=Game Zombie;25050865][code]$bodygroup Medic { blank studio "healthKit_reference.smd" } $bodygroup GunDealer { studio "shotgun.smd" }[/code] If you need more of it I'll post it[/QUOTE] You need to have them like this: [code]$bodygroup Medic { "blank" studio "healthKit_reference.smd" } $bodygroup GunDealer { "blank" studio "shotgun.smd" }[/code] So the first one should have worked as its in a subgroup. The code for bodygroups in lua is thus: [code]SetBodygroup([group number], [subgroup number])[/code] So if you can set the main group you should be able to change the subgroup also (look at the lua code for the bodygroup changer for better code for changing bodygroups).
Not using Lua. Using source mod but I also just tried that and for some reason it works when I use the SM command but not the Lua command
I'm pretty sure that particular lua command is actually calling a base source subprogram (as its what the manhacks use to switch the blades on).
[QUOTE=Silver Spirit;25051359]I'm pretty sure that particular lua command is actually calling a base source subprogram (as its what the manhacks use to switch the blades on).[/QUOTE] And what the Zombies use for the headcrabs.
Ok, turns out the xontroller doesn't have a unique skin, the Alien Controller's been reskinned
Holy SHIT , this is the biggest necro I've ever seen... hold my beer.
Sorry, you need to Log In to post a reply to this thread.