RE: [hlcoders] ideas on making an expanding orb

2005-07-05 Thread Ian Warwick
Cool, I have never tried using meshbuilder yet, always time to learn :) I guess I can perform Matrix transformations once I have a built mesh? take a look at the meshbuilder class.. those are just polygons in world space, not sprites billboarded to face the camera

Re: [hlcoders] ideas on making an expanding orb

2005-07-05 Thread Teddy
Try adding a function similar to the SetModelWidthScale() (see how it's implemented with GetModelWidthScale() ) to the CBaseAnimating class, that's an easy way to make a model scale up/down. Use a thikn function to make it change over time, and bobs your uncle On 7/5/05, Ian Warwick [EMAIL

RE: [hlcoders] ideas on making an expanding orb

2005-07-05 Thread Ian Warwick
Cool, just checked that out on a doxygen site, not home at the moment to try it, anyone confirm that this really works? I was under the impression it was'nt a simple thing to do (even though it should be!). Thanks, can't wait to check that out. Try adding a function similar to the

RE: [hlcoders] ideas on making an expanding orb

2005-07-05 Thread Ian Warwick
Very cool, I chased that into C_BasePlayer 01215 float scale = GetModelWidthScale(); 01216 if ( scale != 1.0f ) 01217 { 01218 VectorScale( transform[0], scale, transform[0] ); 01219 VectorScale( transform[1], scale, transform[1] ); 01220

Re: [hlcoders] ideas on making an expanding orb

2005-07-05 Thread Teddy
yep, just remember to add a: VectorScale( transform[2], scale, transform[2] ); so it scales on z axis, and it should work On 7/6/05, Ian Warwick [EMAIL PROTECTED] wrote: Very cool, I chased that into C_BasePlayer 01215 float scale = GetModelWidthScale(); 01216 if ( scale !=

[hlcoders] ideas on making an expanding orb

2005-07-04 Thread Ian Warwick
I need to code an orb that expands over time, but not quite sure how to approach it. I am after some ideas on how I could achieve this, I was thinking of using a model, but there seems to be no way to dynamically resize a model, sprites are an option but I don't feel a sprite would look that

Re: [hlcoders] ideas on making an expanding orb

2005-07-04 Thread Tom Edwards
If I understand the concept of rigid bodies correctly, there isn't going to be any way of doing this at all without faking it (like with a sprite). Ian Warwick wrote: I need to code an orb that expands over time, but not quite sure how to approach it. I am after some ideas on how I could

RE: [hlcoders] ideas on making an expanding orb

2005-07-04 Thread Ian Warwick
:[EMAIL PROTECTED] On Behalf Of Tom Edwards Sent: 04 July 2005 14:55 To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] ideas on making an expanding orb If I understand the concept of rigid bodies correctly, there isn't going to be any way of doing this at all without faking it (like

RE: [hlcoders] ideas on making an expanding orb

2005-07-04 Thread Maurino Berry
use a model with a pose parameter and call SetPoseParameter(expand,GetPostParameter(expand)+rate); or whatever _ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology.