Jump to content
  • Advertisement
Sign in to follow this  
Lych

Fallowing ai

This topic is 5396 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need some AI for c++ that makes something fallow my direct path so if I walked in a loop, it would walk in a loop right where I had.

Share this post


Link to post
Share on other sites
Advertisement
I assume you meant 'following' AI. Fallowing AI would merely have to schedule a year off for each field in your farm every few years, and not plant crops in it that year. Not necessary if you plant legumes on alternate years - this also removes the need for nitrate-based fertilizer.

If you wanted following AI, you merely need to record the last 50 or howevermany positions your character has been in, and place the 'AI' entity on one of those, at an appropriate distance.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!