RE: [hlcoders] ideas on making an expanding orb

2005-07-05 Thread Ian Warwick
Cool thanks Teddy :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Sent: 05 July 2005 16:08 To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] ideas on making an expanding orb yep, just remember to add a: VectorScale( transform[2], scale

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

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 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 SetModelWidth

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 PROTEC

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-04 Thread Maurino Berry
take a look at the meshbuilder class.. those are just polygons in world space, not sprites billboarded to face the camera _ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://j

RE: [hlcoders] ideas on making an expanding orb

2005-07-04 Thread Adam \"amckern\" Mckern
Why not just overlay a few vmt sprites, to expand/subtract as you want - only issues is that its 2d --- Maurino Berry <[EMAIL PROTECTED]> wrote: > use a model with a pose parameter and call > SetPoseParameter("expand",GetPostParameter("expand")+rate); > or whatever My Website http://ammahls.com

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. http://join.msn.

RE: [hlcoders] ideas on making an expanding orb

2005-07-04 Thread Ian Warwick
ailto:[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 (l

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 achie