Zombie Resource Help
by joey r · in Torque 3D Professional · 05/16/2013 (11:22 am) · 5 replies
http://www.garagegames.com/community/resource/view/21702/1#comments
I got it all setup, how do I spawn in Zombies?
I setup the sim groups etc.
but nothing spawns.
I try typing in the console unleashZombies();
it says
GameBase::setDatablockProperty - Could not find data block "MegaZombie"
shapebase::onAdd - no datablock on shape 5851:AIPlayer ((null))
I have pasted the MegaZombie.cs in art/datablocks, art/datablocks/actors, and in art\shapes\actors\GG_Zombie to make sure it doesnt miss it. I have no clue what is wrong with the second one.
Can someone help me a bit more indepth with this? I really have no clue what to do
I got it all setup, how do I spawn in Zombies?
I setup the sim groups etc.
but nothing spawns.
I try typing in the console unleashZombies();
it says
GameBase::setDatablockProperty - Could not find data block "MegaZombie"
shapebase::onAdd - no datablock on shape 5851:AIPlayer ((null))
I have pasted the MegaZombie.cs in art/datablocks, art/datablocks/actors, and in art\shapes\actors\GG_Zombie to make sure it doesnt miss it. I have no clue what is wrong with the second one.
Can someone help me a bit more indepth with this? I really have no clue what to do
#2
add
05/16/2013 (12:16 pm)
Also make sure that youre executing the zombie.cs file. In art/datablocks/datablockExec.cs under exec("./player.cs");add
exec("./zombie.cs");
#3
But how do you get it working with automatic spawns? It is only working for me when I type in unleashZombies
05/16/2013 (12:24 pm)
Got it working! Thank you guys very much!But how do you get it working with automatic spawns? It is only working for me when I type in unleashZombies
#4
on a trigger?
if you kill a zombie?
after an amount of time has passed add another zombie?
if you check (ai spawn triggers, killing ai, ai spawn timers) in the search engine am sure you will find plenty of examples.
I would write something but am busy at min, sorry if I'm no help :-(
05/16/2013 (2:41 pm)
how do you want the zombies to spawn?on a trigger?
if you kill a zombie?
after an amount of time has passed add another zombie?
if you check (ai spawn triggers, killing ai, ai spawn timers) in the search engine am sure you will find plenty of examples.
I would write something but am busy at min, sorry if I'm no help :-(
#5
05/16/2013 (3:21 pm)
Yeah it's okay, I figured it out. It's just my newbiness, I realized there was an autoSpawn tick on spawnspheres.
Ahsan Muzaheed
Default Studio Name
" shapeFile = "art/shapes/actors/GG_Zombie/MegaZombie.DAE";"
do u have that file on proper place?
make sure of dae/dts.