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.

Game Design Theory / Friend NPC to FPS Creator

Author
Message
lol man
18
Years of Service
User Offline
Joined: 15th Dec 2005
Location:
Posted: 29th Dec 2005 16:43
How can I make a friend NPC to my game because it is little boring that if there's no one there at the field, but the player and the enemys.


(Sorry about the bad English )

Suomi muuten rulettaa nii perkeleesti!
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 30th Dec 2005 04:41
That depends on your game. I take it from your post that you have a game in the works right now.

Just make the enemy react to the friends just like they do you - follow and attack?? You can make the friends evade the enemy too. Without more info, can't tell you anything else.

lol man
18
Years of Service
User Offline
Joined: 15th Dec 2005
Location:
Posted: 30th Dec 2005 10:12
Ok, so i need an ally who shoots enemy but doesn't shoot me.

Suomi muuten rulettaa nii perkeleesti!
MoMentuM
18
Years of Service
User Offline
Joined: 19th Dec 2005
Location: Death Star
Posted: 31st Dec 2005 20:59
That's probably done through AI routines
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 1st Jan 2006 06:58
Quote: "That's probably done through AI routines "


Umm... yeah. Just have your allies do distance checks on every entity besides other allies. If the distance is within weapon range, and nothing is blocking the line of sight, then attack. That is the most basic AI. Later, you could add things like fleeing and evasion.

Login to post a reply

Server time is: 2024-05-06 04:44:37
Your offset time is: 2024-05-06 04:44:37