Game Development Community

Ryan Mounts's Forum Posts

Thread Post Date Posted
Creating a new object outside the engine source You should be able to implement a ConObject... just make sure you include the DECLARE_CONOBJECT(your... read more 02/10/2010 (10:51 am)
%obj.getPosition + 0 0 5 units extra z axis? %newPos = VectorAdd(%obj.getPosition(), "0 0 5");... read more 01/25/2010 (6:00 pm)
how can I dynamicaly get a list of all instances of a certain object (decal road) You could put all of your decal roads in a SimGroup named "DecalRoads". This would allow ... read more 12/22/2009 (10:34 am)
Cleanup of Custom SceneObject/RenderDelegate No problem! :) Since you're following the RenderObjectExample, you've probably got everything in t... read more 12/17/2009 (4:58 pm)
Cleanup of Custom SceneObject/RenderDelegate The server object is the "real" object which then gets ghosted to the client. So the clie... read more 12/17/2009 (4:14 pm)
Damage question Works fine for me... the only thing I did different was change %vec to: %vec = VectorScale(%eye, ... read more 12/17/2009 (1:32 pm)
Damage question Don't you mean... $Sword::ShapeBaseObjectType = [b]$TypeMasks[/b]::PlayerObjectType | ... read more 12/17/2009 (11:17 am)
Setting invisibility of an object Setting the scale to zero should "hide" it... [code] myObj.setScale("0 0 0")... read more 12/11/2009 (12:58 pm)
Setting invisibility of an object Nevermind... I'm too slow. :)... read more 12/11/2009 (12:38 pm)
Nice software : Light on Tutorials A lot of hot keys can be found directly in the World Editor (F11). Just pull down the Camera dropdo... read more 12/10/2009 (6:03 pm)
How best to extend Rendering pipeline with custom code/shader technique To switch to Basic Lighting: Open the World Editor (F11) Top menu: Lighting -> Basic Lightin... read more 12/10/2009 (5:46 pm)
How best to extend Rendering pipeline with custom code/shader technique Just to interject something possibly helpful... to catch useful info before Torque crashes, simply p... read more 12/09/2009 (3:45 pm)
Road Editor Question: Distance (in meters) of a generated road? For DecalRoad you could create a new method called getRoadLength(): [code] F32 DecalRoad::getRoa... read more 12/07/2009 (3:41 pm)
Road Editor Question: Distance (in meters) of a generated road? For MeshRoad you could expose the getRoadLength() method to script: [code] ConsoleMethod( MeshRo... read more 12/07/2009 (3:34 pm)
"Billboard" class I haven't used the RenderObjectExample yet, only the RenderMesh and RenderShape Examples, so I don't... read more 12/01/2009 (10:17 am)
echo and its purpose That is correct. But it is important to note that the id is set by the engine at runtime, so myGuy'... read more 11/27/2009 (5:15 pm)
SimObject vs DataBlock uses If you want user interaction with the grid, I suggest making it an actual object and just placing a ... read more 11/27/2009 (4:41 pm)
echo and its purpose Every object has a unique id associated with it. Its just an integer value. If you echo an id, you... read more 11/27/2009 (4:30 pm)
echo and its purpose "Echo()" just prints output to Torque's console, just like "printf()" prints out... read more 11/27/2009 (3:49 pm)
Draw Primitive From Script William, That's odd... are you not seeing the red cube? When I exec() the above code snippet, I ... read more 11/22/2009 (11:36 pm)
Draw Primitive From Script Yeah, you're right. The EditTSCtrl rendering consolemethods will only work in an object's "onE... read more 11/21/2009 (11:45 am)
Draw Primitive From Script I didn't really look at the code... looks like it won't draw the line if the console is open. So in... read more 11/21/2009 (12:31 am)
[Resource] MeshRoad Profile Editor Released! Thanks guys! I put this up as a public resource today. I changed out the source code for patches..... read more 11/20/2009 (4:44 pm)
Quick TorqueScript questions The tilde and period are directory navigation helpers. The tilde stands for the current mod directo... read more 11/20/2009 (11:56 am)
Draw Primitive From Script You are trying to use a console "method", meaning you have to have an instance of an EditT... read more 11/19/2009 (11:49 pm)
[Resource] MeshRoad Profile Editor Released! James, the reason I haven't put it up as an official resource is because I included the whole MeshRo... read more 11/19/2009 (7:51 pm)
Bug? Camera Distance in Shapebase.cpp If you don't override cameraMaxDist in your player datablock, cameraMaxDist will get set to half the... read more 11/12/2009 (10:15 am)
Development: Profile Editor for MeshRoad Updated this resource today with the ability to toggle the profile materials on a per-segment basis ... read more 11/09/2009 (3:42 pm)
[Resource] MeshRoad Profile Editor Released! James Brad Barnette wanted the ability to change the profile segment materials. It ended up not bei... read more 11/09/2009 (3:38 pm)
[Bug 1.0.1] Shapebase cameraMinDist (with fix) - RESOLVED The 3rd person camera can penetrate the bounding box. The camera can be located anywhere between ca... read more 11/08/2009 (12:22 am)
[Resource] MeshRoad Profile Editor Released! I just updated the download. I forgot to list "Ctrl-left-click the spline to add nodes" a... read more 11/07/2009 (9:33 am)
Development: Profile Editor for MeshRoad Just released the MeshRoad Profile Editor resource today... http://www.garagegames.com/community/... read more 11/06/2009 (11:13 pm)
How to zone a non-cube area. This is something that has been frustrating me as well. The zoning system is just not very useful i... read more 11/06/2009 (1:29 pm)
Development: Profile Editor for MeshRoad Update... got buildSegmentPolyList() working so now decals appear on the profile, and got ray casts ... read more 11/05/2009 (6:21 pm)
Development: Profile Editor for MeshRoad Update... got collisions working on the two ends of the road. Added the ability to select multiple ... read more 11/04/2009 (6:29 pm)
Development: Profile Editor for MeshRoad Another quick update... Undo/redo functionality is complete, as well as saving to the mission file. ... read more 11/03/2009 (8:03 pm)
3rd person character control and mouse like in the World Editor? Mine works just like the World Editor works. The only place I can see that you might be going wrong... read more 11/03/2009 (2:35 pm)
Development: Profile Editor for MeshRoad At the moment, the profile is just takes the place of the side, and therefore uses the Side Material... read more 11/03/2009 (1:57 pm)
3rd person character control and mouse like in the World Editor? @ Joel Yeah, they didn't implement "cameraMinDist" correctly in the stock code. As it ... read more 11/03/2009 (1:38 pm)
Development: Profile Editor for MeshRoad Got a little more done this morning... collisions are almost finished. In the pic, you can see Boom... read more 11/03/2009 (11:47 am)
Development: Profile Editor for MeshRoad I've had a chance to work on this some more this morning, and I got the end caps working. Still on ... read more 11/02/2009 (1:36 pm)
Road Mesh Editor Suggestion: Top to bottom width ratio I'm working on a profile editor for MeshRoad... http://www.garagegames.com/community/forums/viewt... read more 10/30/2009 (8:02 pm)
Getting a Random Integer Between a Range of Values getRandom(1,10);... read more 10/28/2009 (3:14 pm)
3rd person character control and mouse like in the World Editor? Joel, I updated the code above a little bit to add "smoothing" to the camera. The previou... read more 10/28/2009 (11:14 am)
3rd person character control and mouse like in the World Editor? No problem! Hope it's what you're looking for. Also, if you are a decent programmer, I might sugge... read more 10/27/2009 (8:04 pm)
Road Mesh Editor Suggestion: Top to bottom width ratio Lino, I made an update to the code above... I totally left out the code that reads the bottom scale ... read more 10/27/2009 (6:16 pm)
3rd person character control and mouse like in the World Editor? From your description, it sounds like you want to use the mousewheel to zoom in and out with respect... read more 10/27/2009 (6:08 pm)
Road Mesh Editor Suggestion: Top to bottom width ratio As far as just scaling the bottom of the meshroad, that is really easy. it took about 10 minutes to... read more 10/27/2009 (3:52 pm)
Ortho and Iso Cameras in Editors Video Test2: [vimeo=28323716 width=530 height=298] [youtube=qmCk_Uo90iw width=650 height=365] [... read more 10/26/2009 (4:36 pm)
Ortho and Iso Cameras in Editors Video Test: [youtube=PTc_FoELt8s width=640 height=480] [vimeo=15630517 width=1280 height=720]... read more 10/26/2009 (4:14 pm)