Is there an engine that support this (say, independent left and right hands/arms) ? Even if by (ugh) CSQC ?
Darkplaces ? FTE ?
Anyone ?
Bueller ?
feature request: independent viewmodels
-
- Posts: 2126
- Joined: Sat Nov 25, 2006 1:49 pm
feature request: independent viewmodels
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC (LordHavoc)
Re: feature request: independent viewmodels
Do you mean like a cvar to show it in either hand? Or dual weapons and dual sbar? This could be done in ss_ QuakeC...
Re: feature request: independent viewmodels
Darkplaces and FTE have implementations of viewmodeltoclient (allowing to treat any entity as an independent viewmodel). Also, little known software port GoldQuake supported this. Engoo has this support sort of, but it's a define that crashes.
i should not be here
-
- Posts: 2126
- Joined: Sat Nov 25, 2006 1:49 pm
Re: feature request: independent viewmodels
Ahh, so that's what viewmodeltoclient is used for ? Nice!leileilol wrote:Darkplaces and FTE have implementations of viewmodeltoclient (allowing to treat any entity as an independent viewmodel).
I'll search for examples and/or tutorials. Thanks leileilol!
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC (LordHavoc)
-
- Posts: 2126
- Joined: Sat Nov 25, 2006 1:49 pm
Re: feature request: independent viewmodels
Imagine for example if the player could equip different sets of swords/broadswords/axes/clubs/morning stars and shields, and you could have independent models and animations for both arms (think Skyrim/Oblivion style melee combat).r00k wrote:Do you mean like a cvar to show it in either hand? Or dual weapons and dual sbar? This could be done in ss_ QuakeC...
In QuakeC terms, I was thinking about something in the line of
Code: Select all
.string lvwepmodel;
.string rvwepmodel;
.float lvwepframe;
.float rvwepframe;
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC (LordHavoc)
Re: feature request: independent viewmodels
with (pure) csqc, a viewmodel is simply just another entity. if you want two of them, you can just add two of them to the scene.
the ssqc viewmodeltoclient feature is basically the same, and attaches the entity to the view rather than floating free through the world.
either way, separate entity fields with separate modelindex/frame/origin/skin/colormap/colormod/etc rather than special fields on the player entity and hacking different clientside cvars.
the ssqc viewmodeltoclient feature is basically the same, and attaches the entity to the view rather than floating free through the world.
either way, separate entity fields with separate modelindex/frame/origin/skin/colormap/colormod/etc rather than special fields on the player entity and hacking different clientside cvars.
-
- Posts: 2126
- Joined: Sat Nov 25, 2006 1:49 pm
Re: feature request: independent viewmodels
Thanks for the explanation Spike, it indeed seems the more reasonable way to go.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC (LordHavoc)