Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: Animated AI cows (release)  (Read 402 times)

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1180
Animated AI cows (release)
« on: October 23, 2020, 08:36:38 am »

Finally here it is ... the first AI character for outerra...well AI animal !


Download from here:
 https://drive.google.com/drive/folders/1160jkrB7N1Cgacz645HC1qIPNE7BzfBf?usp=sharing


Installation:
1) copy the folder marco to your outerra root packages folder:   Anteworld/packages  ...it contains the cow sounds...so path will be ....\Anteworld\packages\marco
2) click on self-installing cow.otx file


Note: this is the first mod that uses the new "gameob" definition, so the cow will not be found in the F3 menu, instead you will find it in the scenery editor (F7 key).

Under assets search for "cow" and place the cows in the scenery and see how they immediately start to
walk around autonomously, exploring their surroundings. If any gets lost amidst the trees or you can't see it anymore for any reason you can find it by following its bell sound.

You can also interact with the cows, approaching them in ufo mode. When you are at  less than 2 m from the cows you can push them to change their direction,
depending from which side you approach it. For the push to have effect you need slightly backtrack after having approached the cow. Just be aware that these cows have their own will and sometimes are very stubborn !
On the other hand they're intelligent and won't do wrong things normally.
To keep them confined the best thing to do is to choose an apropriate natural location in a valley or near a small pond, or you can try (no guarantee !) to place some ridges around your ranch (for example with the road tool)
- but keep ready to push back any escaping cow!

With their inborn instinct to avoid water and steep slopes and their preference to walk towards flat terrain you can have a lot of fun
just by watching them spread out, epxloring the terrain and walk down some beautiful mountain slopes or hills until they find a nice pond or a flat meadow.
...or you can play rancher , trying to keep the herd together or make them walk down a road, or help out any cows eventually trapped in a sink or on top of a rock

Important note:   if you want the cows to maintain their last position when exiting outerra, before closing outerra you need to open the scenery editor, do any small modification to the scenery..like grabbing a cow and move it (or moving a house some cm..if there is no cow near) and only then exit outerra..otherwise they will start off where you originally placed them in the scenery editor...the choice is yours

No limits to your imagination they 're alive ! have fun !



in case above video is blocked look at this copy




« Last Edit: November 01, 2020, 02:37:00 am by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 1889
  • newbie
Re: Animated AI cows (release)
« Reply #1 on: October 23, 2020, 11:14:46 am »

magnificent Fly ... thank you.
a question .. and if I want the cow to be still without moving? which key should i press?

:)
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1180
Re: Animated AI cows (release)
« Reply #2 on: October 23, 2020, 11:31:43 am »

I could add a key , for now there isn't...why you want the cow to stand still ?
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 1889
  • newbie
Re: Animated AI cows (release)
« Reply #3 on: October 23, 2020, 03:05:41 pm »

good question ... I'll have to ponder the answer. :)



Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1180
Re: Animated AI cows (release)
« Reply #4 on: October 23, 2020, 03:28:11 pm »



fantastic !  Outerra : great, greater...the greatest !   :) :) :)
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1180
Re: Animated AI cows (release)
« Reply #5 on: October 24, 2020, 02:43:30 am »

critical update in case the cow doesn't work for you. I have modified the script so that it doesn't require my fly77_plugin.dll.
So if the cow doesn't work for you redownload the cow from above please
« Last Edit: October 24, 2020, 07:01:02 am by fly77 »
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1180
Re: Animated AI cows (release)
« Reply #6 on: October 24, 2020, 05:49:51 am »

good question ... I'll have to ponder the answer. :)

If it is to keep cows in your shack for a video while still moving you can edit the script at line 333 
Code: [Select]
    this.speed=0.05;  change this value to zero.

you can also increase the speed to make them run fast :D   .looks quite funny but may result in some "stupid" behaviour  ....well it could be useful if you want your cows to spread out fast...once done you can reset speed to normal 0.05.
Each time restarting outerra

...or instead of each time restarting outerra
set debug_keys = true, in eng.cfg
then after you have changed the this.speed value press CTRL+ALT+SHIFT+R to reset all scripts

« Last Edit: October 24, 2020, 07:00:50 am by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 1889
  • newbie
Re: Animated AI cows (release)
« Reply #7 on: October 24, 2020, 12:25:19 pm »


Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1180
Re: Animated AI cows (release)
« Reply #8 on: November 01, 2020, 02:37:48 am »

I could add a key , for now there isn't...why you want the cow to stand still ?

On request of aWac9 here is a "static" version of the cow, meaning that it still moves head and tail and eventually slowly rotates on place but doesn't wander around.
It is indeed useful to set up sceneries where the cows can always be found in the same place.


https://drive.google.com/drive/folders/13SRyWIaji8cjgbzoHCPULeGq6guA79Qt?usp=sharing

installation. just click on self-installing cow-static.otx file


It will be found in the scenery editor (F7) under assets with its own icon


« Last Edit: November 01, 2020, 02:46:28 am by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 1889
  • newbie
Re: Animated AI cows (release)
« Reply #9 on: November 01, 2020, 07:29:26 am »

is the only way to be able to milk them
:)
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1180
Re: Animated AI cows (release)
« Reply #10 on: November 01, 2020, 08:04:11 am »

is the only way to be able to milk them
:)

 :))

« Last Edit: November 01, 2020, 08:10:20 am by fly77 »
Logged