Submodels, how to? Created 19 years ago2004-09-01 23:13:01 UTC by Propaganda Propaganda

Created 19 years ago2004-09-01 23:13:01 UTC by Propaganda Propaganda

Posted 19 years ago2004-09-01 23:13:01 UTC Post #55877
I am making a dod map and I see the sandbags model has about 7 submodels in it. Can someone tell me how to cycle the models to change the look of the sandbag in hammer?
Posted 19 years ago2004-09-01 23:33:04 UTC Post #55878
You can't change the submodels in Hammer unfortunately.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2004-09-02 03:07:46 UTC Post #55887
I beg to differ ;)

It probably won't show in Hammer (I can't remember), but you can change the submodel used by the game. Read the fifth comment here for how-to.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-09-02 05:35:39 UTC Post #55895
Good old SETh... :)

You can also do this with other entities that display a model. In the case they don't have a 'body' key, you can add one manually. I've had this working correctly with monster_human_grunts, cyclers, and so on.

In this way you can choose exactly how your grunts look and define their weapon, instead of getting a random grunt each time. Technically, it should be possible to get grunts without weapons... ;)
Posted 19 years ago2004-09-02 23:20:49 UTC Post #56086
Er, my post was referring to changing submodel shown in 3d view in Hammer, of course you can change it in-game.

Grunts without weapons? It's weapon submodel 3, though you probably have to set body...oh, starting at 9? to get weaponless grunts if I have the system figured out correctly...if it chooses AR grunts, bodys 1-4, then Shotty grunts, bodies 1-4, then weaponless grunts, bodys 1-4?
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2004-09-03 01:42:42 UTC Post #56095
Body values between 8 and 11 give you weaponless grunts. They do fire at you as if they had 9mmAR's, though...

And yes, first is being cycled trough the heads (as that's the first submodel), then to the next weapon (body submodel has no other options, but weapon submodel has) after wich is being cycled trough the heads again. So yes, you understand the system correctly. The first value is 0 however... wich explains why weaponless grunts range from 8 to 11 instead of 9 to 12.
Posted 19 years ago2004-09-03 02:17:15 UTC Post #56096
Ah! Thanks for the explanation, CP!

(I always screw up on those 0 submodels, as was evident in my first Gib Item List :P )
RabidMonkey RabidMonkeymapmapmapfapmap
You must be logged in to post a response.