Just added ai guard
by Jermaine Morgan · in Technical Issues · 08/27/2008 (7:09 am) · 3 replies
Hello everyone
I just added ai guard to a stock fps.starter kit.
I did not change anything.
I followed the directions on trying to get it to work.
but when I try to start the mission it crashes at the loading screen.
No error messages in the console.
this is the console. Its not getting any futher then trying to load aiguard.cs
Anybody ever have this problem? how is it fixed..
Thanks in advance for any help
I just added ai guard to a stock fps.starter kit.
I did not change anything.
I followed the directions on trying to get it to work.
but when I try to start the mission it crashes at the loading screen.
No error messages in the console.
this is the console. Its not getting any futher then trying to load aiguard.cs
Loading compiled script aitry/client/scripts/audioProfiles.cs. Loading compiled script aitry/client/ui/defaultGameProfiles.cs. Loading compiled script aitry/client/ui/PlayGui.gui. Loading compiled script aitry/client/ui/ChatHud.gui. Loading compiled script aitry/client/ui/playerList.gui. Loading compiled script aitry/client/ui/mainMenuGui.gui. Loading compiled script aitry/client/ui/aboutDlg.gui. Loading compiled script aitry/client/ui/startMissionGui.gui. Loading compiled script aitry/client/ui/joinServerGui.gui. Loading compiled script aitry/client/ui/loadingGui.gui. Loading compiled script aitry/client/ui/endGameGui.gui. Loading compiled script aitry/client/ui/optionsDlg.gui. Loading compiled script aitry/client/ui/remapDlg.gui. Loading compiled script aitry/client/ui/StartupGui.gui. Loading compiled script aitry/client/scripts/client.cs. Loading compiled script aitry/client/scripts/game.cs. Loading compiled script aitry/client/scripts/missionDownload.cs. Loading compiled script aitry/client/scripts/serverConnection.cs. Loading compiled script aitry/client/scripts/playerList.cs. Loading compiled script aitry/client/scripts/loadingGui.cs. Loading compiled script aitry/client/scripts/optionsDlg.cs. Loading compiled script aitry/client/scripts/chatHud.cs. Loading compiled script aitry/client/scripts/messageHud.cs. Loading compiled script aitry/client/scripts/playGui.cs. Loading compiled script aitry/client/scripts/centerPrint.cs. Loading compiled script aitry/client/scripts/default.bind.cs. Loading compiled script aitry/client/config.cs. Binding server port to default IP UDP initialized on port 0 --------- Initializing: Torque Creator --------- Loading compiled script creator/editor/editor.cs. Loading compiled script creator/editor/particleEditor.cs. Loading compiled script creator/scripts/scriptDoc.cs. Loading compiled script creator/ui/creatorProfiles.cs. Loading compiled script creator/ui/InspectDlg.gui. Loading compiled script creator/ui/GuiEditorGui.gui. Loading compiled script creator/ui/lightEditor.gui. Loading compiled script creator/ui/lightEditorNewDB.gui. Engine initialized... *** Load Main Menu Exporting server prefs... Loading compiled script aitry/server/scripts/audioProfiles.cs. Loading compiled script aitry/server/scripts/envAudioProfiles.cs. Loading compiled script aitry/server/scripts/camera.cs. Loading compiled script aitry/server/scripts/markers.cs. Loading compiled script aitry/server/scripts/triggers.cs. Loading compiled script aitry/server/scripts/inventory.cs. Loading compiled script aitry/server/scripts/shapeBase.cs. Loading compiled script aitry/server/scripts/item.cs. Loading compiled script aitry/server/scripts/environment.cs. Loading compiled script aitry/server/scripts/health.cs. Loading compiled script aitry/server/scripts/staticShape.cs. Loading compiled script aitry/server/scripts/weapon.cs. Loading compiled script aitry/server/scripts/radiusDamage.cs. Loading compiled script aitry/server/scripts/crossbow.cs. ParticleEmitterData(CrossbowBoltEmitter) velocityVariance > ejectionVelocity Error: shape aitry/data/shapes/crossbow/ammo.dts-collision detail 0 (Collision-3) bounds box invalid! Loading compiled script aitry/server/scripts/environment.cs. Loading compiled script aitry/server/scripts/aiguard.cs.
Anybody ever have this problem? how is it fixed..
Thanks in advance for any help
About the author
#2
10/09/2008 (1:04 pm)
After you added AIGuard.h and AIGuard.cpp did you recompile with your C++ compiler? Sometimes the simplest solutions are the ones we overlook the most. Good Luck.
#3
thanks though
10/09/2008 (2:01 pm)
Yeah, I had figured it out a while back. The order of my exec's was messed up in game.csthanks though
Torque Owner Dimitris Matsouliadis
Dimitris Matsouliadis
Wrong datablocks or vague is the 1st reason for crash
Try to use the default (PlayerBody) to check yous code