by date
fxGrassReplicator TGE 1.4
fxGrassReplicator TGE 1.4
| Name: | Stephan (viKKing) Bondier | |
|---|---|---|
| Date Posted: | Apr 30, 2006 | |
| Rating: | 4.0 out of 5 | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for Stephan (viKKing) Bondier |
Blog post
I found several instances for fxGrassReplicator on the site but none pointed me out to a recent version. The zip file I downloaded contained instruction dated of 2002, so it quickly became evident it wasn't up to date with TGE 1.4.
I supposed some people would be interested in getting an updated version of the installation instructions, so here they are:
- install both .c and .h files in Torque SDK/engine/game/Fx folder.
- Put the function in /example/creator/editor/ObjectBuilderGui.gui [around line 462] ...
- Put this in /example/creator/editor/EditorGui.cs in [function Creator::init( %this ) - line 1136]
(or use the next number in the sequence [line 1246])
- Put this in /example/common/client/missionDownload.cs in [function clientCmdMissionStartPhase3(%seq,%missionName)] (around line 65)
after codeline 'onPhase2Complete();'.
- Put this in /engine/console/simBase.h (around line 1266) somewhere in the 'nameSpace Sim' block (put it as the last xxxxSet entry)
- Put this in /engine/console/simBase.cc (around line 19) somewhere in the 'nameSpace Sim' block (put it as the last xxxxSet entry)
- Put this in /engine/console/simManager.cc [function void init()] (around line 341) (put it as the last xxxSet entry)
I will provide a complete .zip file with all the original files as well as about 8 new grass textures to play with, within a day or two.
I'm very happy to have been able to do that, this is my very first look at Torque and my very first program compiling ever (even if it was only a little hack)!
Gonna pay myself a beer - 1 confidence point earned today. ;-)
Stephan, STef, viKKing, all the same.
I supposed some people would be interested in getting an updated version of the installation instructions, so here they are:
- install both .c and .h files in Torque SDK/engine/game/Fx folder.
- Put the function in /example/creator/editor/ObjectBuilderGui.gui [around line 462] ...
function ObjectBuilderGui::buildfxGrassReplicator(%this)
{
%this.className = "fxGrassReplicator";
%this.process();
}
- Put this in /example/creator/editor/EditorGui.cs in [function Creator::init( %this ) - line 1136]
%Environment_Item[12] = "fxGrassReplicator";
(or use the next number in the sequence [line 1246])
- Put this in /example/common/client/missionDownload.cs in [function clientCmdMissionStartPhase3(%seq,%missionName)] (around line 65)
after codeline 'onPhase2Complete();'.
StartGrassReplication();
- Put this in /engine/console/simBase.h (around line 1266) somewhere in the 'nameSpace Sim' block (put it as the last xxxxSet entry)
DeclareNamedSet(fxGrassSet) <-- ADD THIS (Note no semi-colon).
- Put this in /engine/console/simBase.cc (around line 19) somewhere in the 'nameSpace Sim' block (put it as the last xxxxSet entry)
ImplementNamedSet(fxGrassSet) <-- ADD THIS (Note no semi-colon).
- Put this in /engine/console/simManager.cc [function void init()] (around line 341) (put it as the last xxxSet entry)
InstantiateNamedSet(fxGrassSet); <-- ADD THIS (Note the semi-colon).
I will provide a complete .zip file with all the original files as well as about 8 new grass textures to play with, within a day or two.
I'm very happy to have been able to do that, this is my very first look at Torque and my very first program compiling ever (even if it was only a little hack)!
Gonna pay myself a beer - 1 confidence point earned today. ;-)
Stephan, STef, viKKing, all the same.
Recent Blog Posts
| List: | 10/06/07 - Atmospheres... free skies :) 10/06/07 - Free, as in F.R.E.E :) 03/29/07 - Darkwind, development keeps going on 03/27/07 - The Community Magazine 02/15/07 - Some recent art for Darkwind: War on Wheels 01/22/07 - Darkwind: War on Wheels, January progress report 01/09/07 - Why indies should translate their games? 11/27/06 - Darkwind & me, evolution |
|---|
Submit your own resources!| Andrew Hull (May 01, 2006 at 06:04 GMT) |
| Bryan Letcher aka "Panthros" (May 01, 2006 at 15:07 GMT) |
| Stephan (viKKing) Bondier (May 02, 2006 at 07:26 GMT) |
@Andrew: thanks. I'm so what proud of myself. 8-P>
Anyway: here is the .zip file, including 8 new grass shapes, both in grayscales and color version, for people preferring using fxFoliage or FxShape.
All credits to Melv and Bendik.
DOWNLOAD www.jmnos.com/torque/fxGrassTGE1.4.zip
| James Laker (BurNinG) (May 02, 2006 at 07:28 GMT) |
| Ron Frazier (May 30, 2006 at 05:04 GMT) Resource Rating: 5 |
Update; Well that didnt work:( heres the error log
exec:warning! found a dso from the future! (editor/newobject.cs.dso)
compiling editor/newObject.cs...
loading compiled script editor/newObject.cs
editor/newObject.cs (0): Unable to instantiate non-conobject class fxGrassReplicator
edit: Fixed it with 1.5 and twsurface. There are bugs but Ill take a crack at figuring it out.
Edited on May 31, 2006 06:03 GMT
You must be a member and be logged in to either append comments or rate this resource.


4.0 out of 5


