Game Development Community

Error when trying to run -mod rw

by Bryan Walters · in Torque Game Engine · 06/29/2002 (9:32 am) · 4 replies

After getting the latest head on 06/29/02 and running both the fps and racing mods just fine, I tried the realm wars mod. In doing so I got this message:
cCreateCanvas: canvas has already been instantiated
from line 84 of main.cc. Anyone know what happened here, main.cc isn't giving me any clue...

Thanks,
Bryan

#1
06/29/2002 (10:26 am)
Its -game rw, not -mod rw :)
#2
06/29/2002 (5:24 pm)
Yes, it's a little confusing... but -mod is used to add "mods" to the current mod list, so you can do "torque.exe -mod racing -mod admin -mod super", which will just execute all the mods in order during initialization. The -game option will pop off any current mods/base scripts and start over.

Since the default "mod" is the "fps" game (a game is just the first mod to get loaded), you have to use the "-game" option to pop it off the initialization stack, as RealmWars can't be loaded along with fps. Make sense?
#3
06/30/2002 (1:05 pm)
I see no wonder it messed up, thanks for the help guys...

Bryan
#4
07/01/2002 (7:06 pm)
I had the same problem. Thanks.