Game Development Community

Content Pack problems (FPS Environment Pack)

by Imm Dtu · in Torque Game Engine · 03/07/2007 (8:19 am) · 0 replies

Hi,

I have recently bought the content pack 'Shapes & Lines: FPS Environment Pack' and I am trying to get it to work with TGE 1.4.2. I have been following the 'Quick start' tutorial which is included in the files that are downloadable after purchasing the pack. This is what i have done:

1) Copied watermill.cs, windmill.cs, westernwatermill.cs, westernwindmill.cs, and envAudioProfiles.cs to my project

2) Copied the soun directory to my project

3) added the exec commands in ~\server\scripts\game.cs

4) Tried to implement the "Shapebase Animation Triggered Sounds" resource
However adding the code in the resource gives an error message: 'TSShapeInstance::getTriggerState: state index out of range' and the program crashes. Therefore I have deleted the code presented in the resource again.

5) Copied the shape directory to my project.

6) Copied the BOHOverCast directory to my project

7) Copied "corona02.png", "corona03.png", "corona04.png", and "corona05.png" to my project

8) Copied the BlackOakHollow directory to my project

9) Copied the content from ~\data\terrains\details to my project

10) Copied the BOHWater directory to my project

11) Implemented the "TGE Water Upgrade" resource (as Gavin Bunney suggests in his post from Apr 30, 2006 at 14:11 in the resource)

12) Cleaned and build the solution

13) Copied mission files to my project

The project compiles fine and when I try to start Stronghold mission it seems to load the Datablocks and objects fine, till the end of 'loading objects' where I get this message in the console window:


>>****Initial Control Object
>>starter.fps/client/scripts/serverConnection.cs (39): Unable to find object: 'PlayGui' attempting to call function 'getId'
>>setContent(): Invalid control: PlayGui


After this the 'stops' ie. the map doesn't load and game doesn't start.

If I try to start the "Black Oak Hollow 01" mission I receive a fatal error meesage:
Fatal: (c:\torque\sdk\engine\math\mplane.h @ 239)
Error, no plane possible

and the program crashes. If I try to start the "Black Oak Hollow 02" mission the program stops (like when I try to start Stronghold). However I get some other error messages:


>>Executing starter.fps/data/missions/BlackOakHollow02.mis
>>Object 'HeavyRain' is not a member of the 'GameBaseData' data block class
>>starter.fps/data/missions/BlackOakHollow02.mis (0): Register object failed for object raintest of class precipitation.


And the a lot of:


>>Warning: (c:\torque\sdk\engine\console\consoleobject.cc @ 62) Couldn't find class rep for dynamic class: fxSquareFoliageReplicator


I am really lost here. I hope someone will be able to help or point in the direction of a tutorial or resource that can help me.

/Imm.