Game Development Community

TGEA 1.8.1 and Horse Pack

by Stephen · in Torque Game Engine Advanced · 08/31/2009 (5:43 pm) · 3 replies

Has anyone been able to add the Horse Pack to TGEA 1.8.1? I have manage to cut down a lot of errors but I still have 14 errors that I'm not sure how to fix.

Here is my build log with errors

Any help would be appreciated.

#1
08/31/2009 (6:20 pm)
Did you get the TGEA 1.7 update? It looks like you may have an old version, or some mix of sources.

This line:

'bool HorseData::preload(bool,String &)' : overloaded member function not found in 'HorseData'

Shows that your HorseData preload function is declared wrong. But when I look in the source for the 1.7 version, it's declared like this:

bool HorseData::preload(bool server, char errorBuffer[256])

in both the Cpp and header file.
#2
08/31/2009 (6:36 pm)
I changed that back but I get this error,

Error 14 error C2664: 'ShapeBaseData::preload' : cannot convert parameter 2 from 'char []' to 'String &' d:torqueafx113_tgea181enginesourcet3dvehicleshorse.cpp 264

As well as the other errors. It's calling for MaterialPropertyMap
#3
08/31/2009 (8:09 pm)
So here is just the errors that deal with the Material Property Map.

Error Log

All the errors are within, "void Horse:: playImpactSound()". Looking at the other vehicles, they don't don't have the playImpactSound function.