Creating Storms Tutorial in 3D Game Programming All-In-1
by Alex Riggen · in General Discussion · 02/02/2009 (12:40 pm) · 1 replies
I just completed the Storms tutorial in the 3D Game Programming book but when I run the game I don't see any effect. I've checked all my scripts and files that the book had be type and modify and everything is perfect. The error I get in the console is:
Executing control/data/maps/book_ch6.mis.
Object 'HeavyRain' is not a member of the 'GameBaseData' data block class
control/data/maps/book_ch6.mis (0): Register object failed for object RainStorm of class Precipitation.
Object 'LightningStorm' is not a member of the 'GameBaseData' data block class
control/data/maps/book_ch6.mis (0): Register object failed for object ElectricalStorm of class Lightning.
Has anyone else had this problem or know the solution to it?
Thanks
Alex
Executing control/data/maps/book_ch6.mis.
Object 'HeavyRain' is not a member of the 'GameBaseData' data block class
control/data/maps/book_ch6.mis (0): Register object failed for object RainStorm of class Precipitation.
Object 'LightningStorm' is not a member of the 'GameBaseData' data block class
control/data/maps/book_ch6.mis (0): Register object failed for object ElectricalStorm of class Lightning.
Has anyone else had this problem or know the solution to it?
Thanks
Alex
Torque Owner Jeff Yaskus
jy games
The key is it needs to be loaded -- before the level, so the server knows about the datablock.
It can be confusing with all the places stuff has to be loaded ...