The scale code works and regular models are scaled correctly. It does not work correctly with player models that have bone animations.
On 7/2/07, Tony omega Sergi <[EMAIL PROTECTED]> wrote:
-- [ Picked text/plain from multipart/alternative ] like i said...... you have to modify the scale code so that it takes Z into account. because it only scales x and y by default. and I pasted the name of the function that it's in.. On 7/2/07, Justin Krenz <[EMAIL PROTECTED]> wrote: > > No, it was only resizing bones without a parent. Though altering it so > that it did all bones only lets you make models skinny or fat. They > don't get taller or shorter with the scale. > > Adam "amckern" McKern wrote: > > Are you resizing the attachments as well? > > > > Adam > > > > > > --- Justin Krenz <[EMAIL PROTECTED]> wrote: > > > >> Has anyone tried this on player models? I'm messing > >> with it right now, > >> and only the midsection of the model appears to be > >> changing in size. > >> > >> Tony "omega" Sergi wrote: > >>> -- > >>> [ Picked text/plain from multipart/alternative ] > >>> void C_BaseAnimating::ApplyBoneMatrixTransform( > >> matrix3x4_t& transform ) > >>> > >>> On 7/1/07, Drak <[EMAIL PROTECTED]> wrote: > >>>> Nice, thanks. But as for scaling Z, i'm not so > >> sure about. Iv looked up > >>>> every function i could find dealing with the > >> width setting, but I can't > >>>> track down were it actually does the rendering > >> for the scale. > >>>> ----- Original Message ----- > >>>> From: "Tony "omega" Sergi" <[EMAIL PROTECTED]> > >>>> To: <[email protected]> > >>>> Sent: Saturday, June 30, 2007 11:57 PM > >>>> Subject: Re: [hlcoders] Resizing models > >> dynamically? > >>>> > >>>>> -- > >>>>> [ Picked text/plain from multipart/alternative ] > >>>>> setmodelwidthscale. > >>>>> > >>>>> you'll need to modify the code on the client > >> that uses it though, so > >>>> that > >>>>> it > >>>>> will also scale Z. > >>>>> oh and change the network table so it doesn't > >> get clamped at 1.0 if you > >>>>> wanted to make it bigger for example. > >>>>> just remember, don't do it on anything you need > >> vphysics for ;) > >>>>> On 6/30/07, Drak <[EMAIL PROTECTED]> wrote: > >>>>>> This is a multi-part message in MIME format. > >>>>>> -- > >>>>>> [ Picked text/plain from multipart/alternative > >> ] > >>>>>> I'm trying to resize models 'dynamically' just > >> for a simple rendering > >>>>>> effect. > >>>>>> But.. like in the HL1 SDK, all you had todo was > >> change some stuff > >>>> around > >>>>>> in the function that loads the model. > >>>>>> Is there a function in source that is basicly > >> the same? > >>>>>> (Some function that calls before the model in > >> rendered onto the screen) > >>>>>> I was looking through "studio.cpp" which seams > >> that it's possable todo > >>>>>> there, but does anyone have any ideas? > >>>>>> -- > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> To unsubscribe, edit your list preferences, or > >> view the list archives, > >>>>>> please visit: > >>>>>> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > >>>>>> > >>>>> -- > >>>>> -omega > >>>>> -- > >>>>> > >>>>> _______________________________________________ > >>>>> To unsubscribe, edit your list preferences, or > >> view the list archives, > >>>>> please visit: > >>>>> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > >>>> _______________________________________________ > >>>> To unsubscribe, edit your list preferences, or > >> view the list archives, > >>>> please visit: > >>>> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > >>>> > >>> > >>> -- > >>> -omega > >>> -- > >>> > >>> _______________________________________________ > >>> To unsubscribe, edit your list preferences, or > >> view the list archives, please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > >>> > >> _______________________________________________ > >> To unsubscribe, edit your list preferences, or view > >> the list archives, please visit: > >> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > >> > > > > > > -------- > > Owner Nigredo Studios http://www.nigredostudios.com > > > > > > > > > ____________________________________________________________________________________Ready > for the edge of your seat? > > Check out tonight's top picks on Yahoo! TV. > > http://tv.yahoo.com/ > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- -omega -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

