Game Development Community

Issues with new content pack "Temperate Forest"

by Jeff Yaskus · in General Add-On Discussion · 10/12/2011 (11:26 am) · 9 replies

Having trouble getting the demo level to load, using a new fresh copy of T3D 1.1 final.

Here is a screen shot of everything going wrong ... no forest, ground cover and missing texture.
jyaskus.com/images/misc/temp_pack-errors.jpg
The error messages from console.log ;
*** Stage 1 load
*** Stage 2 load
Failed to create resource: [levels/Raceway.forest]
240: Register object failed for object theForest of class Forest.
Game -> activatePackages
*** Mission loaded
...
*** Sending mission load to client: levels/TemperateEnvLevel.mis
...
*** New Mission: levels/TemperateEnvLevel.mis
*** Phase 1: Download Datablocks & Targets
% - PostFX Manager - Executing core/scripts/client/postFx/default.postfxpreset.cs
% - PostFX Manager - Applying from preset
% - PostFX Manager - PostFX enabled
Mapping string: MissionStartPhase1Ack to index: 0
...
Mapping string: MissionStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 1
[Material::mapMaterial] - Cannot map unnamed Material
Ghost Always objects received.
Mapping string: MissionStartPhase3 to index: 10
Client Replication Startup has Happened!
fxFoliageReplicator - replicated client foliage for 0 objects
Failed to create resource: [levels/TemperateEnvLevel.mis.decals]
*** Phase 3: Mission Lighting
...
*** Initial Control Object
Activating DirectInput...
Mapping string: setNumericalHealthHUD to index: 14
Mapping string: SetAmmoAmountHud to index: 15
Window focus status changed: focus: 0
  Using background sleep time: 200
DirectInput deactivated.

Seems there is a missing file, which causes all the forest to not load;

new Forest(theForest) {
...
      dataFile = "levels/Raceway.forest";
..

That file "Raceway.forest" is not included in the download content ZIP.

Not sure if there is more issues -- just trying to get the demo working at the least.


#1
10/12/2011 (1:07 pm)
ok, well found its missing the entries in art/terrains/materials.cs for it to work properly.

grass01, grass02, rock01, dirt01 ... I created them by hand;
new TerrainMaterial()
{
   internalName = "dirt01";
   diffuseMap = "art/terrains/TemperateEnvironmentTerrain/dirt01";
   normalMap = "art/terrains/TemperateEnvironmentTerrain/dirt01_normal";
   detailMap = "art/terrains/TemperateEnvironmentTerrain/dirt01_detail";
   Enabled = "1";
};

new TerrainMaterial()
{
   internalName = "grass01";
   diffuseMap = "art/terrains/TemperateEnvironmentTerrain/grass01";
   normalMap = "art/terrains/TemperateEnvironmentTerrain/grass01_normal";
   detailMap = "art/terrains/TemperateEnvironmentTerrain/grass01_detail";
   Enabled = "1";
};

new TerrainMaterial()
{
   internalName = "grass02";
   diffuseMap = "art/terrains/TemperateEnvironmentTerrain/grass02";
   normalMap = "art/terrains/TemperateEnvironmentTerrain/grass01_normal";
   detailMap = "art/terrains/TemperateEnvironmentTerrain/grass01_detail";
   Enabled = "1";
};

new TerrainMaterial()
{
   internalName = "rock01";
   diffuseMap = "art/terrains/TemperateEnvironmentTerrain/rock01";
   normalMap = "art/terrains/TemperateEnvironmentTerrain/rock01_normal";
   detailMap = "art/terrains/TemperateEnvironmentTerrain/rock01_detail";
   Enabled = "1";
};
#2
10/12/2011 (1:17 pm)
That got the grass working ... but the forest is not going to work in the demo with the missing file.

jyaskus.com/images/misc/grass_working.jpg
And there is still this oddity with missing terrain textures ...
jyaskus.com/images/misc/missing_texture.jpg
#3
10/13/2011 (1:17 pm)
Nutty, ok. I'll take a look. Thanks.

Edit: All fixed on my end. I'm packaging it up and sending it to GG. Thanks for pointing this out and for your patience as well!
#4
10/13/2011 (5:16 pm)
I just uploaded a fixed, tested version. Hopefully GG will be able to get it live shortly. Thanks for your patience, and sorry for the inconvenience!
#5
10/13/2011 (5:18 pm)
Yea, that is a helluva nice meadow-y grass I must say.
#6
10/14/2011 (9:31 am)
I'm not sure how I didn't catch this one on my initial review. With that being said, the revision is up now.
#7
10/14/2011 (11:55 am)
Heh-heh....'localized' files, it happens....

We package something up and then it goes into a 'vanilla' SDK as a 'dragNdrop' test. You very quickly find out what bitmaps aren't being pathed correctly....;). FTW!!

I usually play the 'consumer', lol, and get the same event; localized files from the Artists' HDDs. That dang orange default!

I am Rex, BAG Compliance Officer......"Resistance is futile"
#8
10/14/2011 (4:35 pm)
TREES, I SEE TREES!

Much, much better -thanks!

jyaskus.com/images/misc/much_better_001.jpg
#9
12/30/2011 (5:46 pm)
Steve is right... That is some fine grass right thar!