Game Development Community

Is it Me or ?

by Shakey · in Torque Game Engine · 12/20/2006 (10:21 am) · 5 replies

Listen,

Is it me? In chapter 5, I don't really see any ememies or should I say I see one, way of in the distance. He is just standing there. He really isn't chasing me, when I am running around the world trying to collect the coins. Now I have the first edition of 3DGPAI1, and went out and bought the second edition yesterday, and still the same results as far as gameplay is concerned. Another thing it took me a while to find the coins and all were the silver, I have yet to find a gold coin, and when looking for the coins my blue health meter runs down at an incredible rate, I have to wait about 3 -5 minutes for the meter to build back up. Any input on this would be great.

Shakey

"Programmer X"

#1
12/20/2006 (11:11 am)
I have this book. How far you get to the enemy? If you see him way off in distance it does not mean he see you. Try run up to him to see what happen. I have AI you can see him hide behind something but he will not attack until you walk pass him.

Chapter 5 use the ai and beast scripts in control/server/players. If you open ai.cs with text editor and scroll down to the bottom of the script you will see the location of enemies. If you want the enemies to be closer to you change there location. The easy way is to get the loaction you want is to launch the game. Walk to where you want the enemy and check your location then exit the game. Enter new location in the ai.cs at bottom you will see the number and save the cs file.

If you want be able to place an enemy in the world editor you will need to modify the ai.cs or install AIGuard resource from GG.
#2
12/20/2006 (2:08 pm)
How do I check my position when no world editor is available when I hit F11, after I start the game I think it is getTransform but I may be wrong could you list the steps for me please.
#3
12/20/2006 (4:26 pm)
I am not sure what you doing but I am run the ch5 game directly from the resource disc and the world editor is working find. Copy ch5 from resource folder from the disc to your harddrive (I place it under My Documents). Open the ch5 and double click on the tge exe. Click the screen now click on the start game button. Now press f11, you should now be in the world editor.
#4
12/20/2006 (4:26 pm)
How do I check my position when no world editor is available when I hit F11, after I start the game I think it is getTransform but I may be wrong could you list the steps for me please.
#5
12/20/2006 (5:38 pm)
There different way of doing it. Simple way is put simple model in the mission editor. Press F11 then f4 and place a model in mission ( I use the health box) Press F3 look to top left click plus sign. The last item will be the shape you just put in. If you dont see the properties click the next one up then back on the one you add. Click expand all now copy the position and paste it to the ai.cs. Delete the health box. Go to new place you want enemy and repeat the process.

What Torque game you working with? If you using the one in ch5 from the disc the editor is working unless you have change something in the code or you doing something wrong.