Game Development Community

Dragon vehicle scripting, no tge source, 2 class errors

by Taron James · in General Discussion · 08/31/2002 (3:02 pm) · 3 replies

Hello guys i have been trying and (enjoying trying) to get animalistic type vehicles, with player controlled weapon onto a dragon type vehicle into Realm Wars, but because i dont have the source for TGE have hit a wall (i think). Im primarily a modeler, with almost no coding experience, but have had a lot of fun since T2 and the release of the RW demo playing with the script language. I have it seems acheived quite a bit so far, (although you serious C++ ers may find this a hack n slash , so dont flame me for trying to have some fun), but i have hit a wall i think thats in the source code, here are the 2 grey errors from the consol.
rw/server/scripts/dragon.cs (0): Unable to instantiate non-conobject class DragonVehicleData.
rw/server/scripts/dragon.cs (0): Unable to instantiate non-conobject class TurretImageData.
At worst i figure i may have done some leg work for scripting this type of thing into RW and have certainly included some cool sounds, models, and textures into the concept of RW vehicles.
what i did was use the dragon head mesh as a turret for a coerser to use to control the head of the dragon with a pilot flying the actual dragon as a pilot, i have had to create vehicle.cs and some other stuff, to do this and included a function to allow only a "mage" to "CONTROL/PILOT" this animal, a lot of this script was manipulated from T2 and until i get these 2 errors sorted i dont think i can go any further.
I would appreciate any of you code gurus commenting on this or even being able to compile a RW with these classes included. please bear in mind i Know little about C beyond the "hello world" scenerio before you flame me.
i have done this on a seperate setup from RW so i could check it against the origianl and generaly looked at the consol for pointers as to where the problems lay.
At worst its been one hell of a learning experience into getting and manipulating models into the TGE.
TAZ

#1
09/16/2002 (2:02 am)
So do you have walking flying vehicles? I could use some pointers on this issue. Thanks.

Robert
#2
09/16/2002 (2:05 am)
Meaning, and i apologize for multimessaging, I would gladly help you if you can share whatever you've learned with me.
#3
09/16/2002 (2:41 am)
The problem is the objects dont exist in the engine.
Sierra gutted the turrets, and there is only Wheeled, Flying and HoverVehicleData type vehicles to choose from.

You are trying to call up 2 new types that the game just dont know about, try the FlyingVehicleData instead of DragonVehicleData, and ShapeBaseImageData instead of TurretImageData and see if they will load.