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.

Newcomers DBPro Corner / adding enemies to games

Author
Message
Vorg1
17
Years of Service
User Offline
Joined: 7th Dec 2006
Location: Seattle
Posted: 13th Dec 2006 04:16
Ihave been trying to figure out how to add enemies to my basic fps game but i can't get them to move around or attack. Any suggestions please?
StevetS
20
Years of Service
User Offline
Joined: 19th May 2004
Location:
Posted: 13th Dec 2006 13:37
Hi,

You need to setup some states or conditions to emulate intelligence for each of your enemies then use these conditions to control what each one does. E.g:



Use each state to access a different function which control the actual actions of each enemy.
You can set up as many variables and conditions as actions you want each enemy to do.

Theres a lot of good and basic examples been posted in the forums. Do a search for AI.

Good luck.
Vorg1
17
Years of Service
User Offline
Joined: 7th Dec 2006
Location: Seattle
Posted: 13th Dec 2006 21:09
thanks

Login to post a reply

Server time is: 2024-11-26 05:31:24
Your offset time is: 2024-11-26 05:31:24