Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / dark AI not going to attack at range

Southside Games
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 26th Feb 2012 08:13 Edited at: 26th Feb 2012 08:17

Basically for an RTS I'm making to add buildings like a tank factory ect. I'm making structures under construction neutral AI and telling bulldozers to "attack" it. when it is in attacking range (next to it) it will add health to the building. the system works except for one thing. if the building is out of range/fog of war it won't go to it. yet I don't want to set it's view rang to something height. yet it won't go even though I add it to it's target list. I tried setting the building to it's ideal zone. and it will go there. but when it gets there it lost the target on the list. ideas? I'm sure I can make it work, but I want to ask in case I'm missing something obvious.

Thanks much

thanks much!
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 26th Feb 2012 16:28
first try truning on the console device.

AI Set Console Output On Entity Number

then see what the entity is upto.

You may find that you need to rotate the object so that its facing the way the AI thinks it facing.

Hope this helps.

Dark Physics makes any hot drink go cold.
AGK Backer
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 27th Feb 2012 10:07
Quote: "C:\Program Files\The Game Creators\Dark Basic Professional\Projects\Dark AI\DarkAI.chm"

if on an 32bit OS

Quote: "C:\Program Files (x86)\The Game Creators\Dark Basic Professional\Projects\Dark AI\DarkAI.chm"

if on a 64bit OS

these are the default install paths

HowDo is referring to

open the DarkAI.chm file...
on the left double click "Commands"
and then double click "Debug"
scroll down and its the two near the bottom of the list above "AI SHOW ERRORS"

[you can also single click the "+" , "-" signs next to the headings.

hope this was clear and helped

Login to post a reply

Server time is: 2020-05-29 02:45:06
Your offset time is: 2020-05-29 02:45:06