I am currently adding support for player
character submodels and have come to a little question that i can't figure
the answer out to and no its not coding related just more of a what would
happen if this was done.
Ok question time.
Say i have created a model for a certain class
and it has 2 subgroups
- body
- head
and each of this models subgroups has 3
different values
Now i also have another model that can replace
this model(call it a downloaded model) and it has the same sub groups but 4
different values for each.
Now in game if i use a vgui menu to allow
manipulation of the model piece what happens if there is a 2 player game and
1 person has the first model and the other person has the second model i
stated.
Lets say that the player then changes his model
to parts
body - 4
head - 4
how does the first player view the model? Will
it be acceptable for the player with the more sub group model to see it
while the first player won't???? or will this cause some kind of confussion
with what the server has and what the players don't have???
Cause what i am trying to think if i can do and
i can do it if it will work is have it so say you download different models
for the mod and models you download may have different amounts of subgroups
and differing amounts of values for each of these sub groups. Now if it will
work but say if another player in the server doesn't have these extended
models will the model they see be just the model with the first value of
each sub group in the list??????
This might be a question for valve if any watch
over us here unless others have thought the same and KNOW the
answer.
Also other questions i had in mind. I haven't
looked at this yet but in model viewer each group and is named and each
value for that group is numbered. Is there someway via coding that i can
extract the name from the model ie extract its sub group name so i can list
it under the vgui menu????
Soz for the bloody long post but at least i got
it all out.
If there is confussion i will try to clarify
with a better example
NOTE - i am not after code as i have that part
sorted out i know how to approach and do it. I am just asking if it
will work else there is no point adding the code now is there
:).
Cheers all and thanks to whoever
responds.