Game Development Community

Attempting to add Tribes2 spinfusor weapon to test app (for demo

by Mark Lafferty · in General Discussion · 08/27/2001 (12:27 pm) · 2 replies

I think I've got pretty much everything in place to add the spinfusor but when the test app loads it says something like:
"Preload failed for file data\shapes\player\disc.dts"
I've heard that the path to the image files is hardcoded into the core of the program somewhere and that I should look in these forums for the answer but I haven't had any luck. Does anybody know how to fix this problem?

#1
08/27/2001 (5:08 pm)
Yeah its hardcoded.

I will copy-paste (The American Way) what Harold Brown pointed out:

Edit shapeImage.cc line 254

Change from:

dSprintf(fullName,sizeof(fullName),"shapes/%s",shapeName);

to:

dSprintf(fullName,sizeof(fullName),"%s",shapeName);

Compile a new Test Application

There you go! :)
#2
08/27/2001 (8:20 pm)
VGCR ("You rock!" in Tribesese :))