Page 1 of 1

How to make

Posted: Sat Dec 01, 2012 7:18 pm
by Arntzen
animals in scen editor the ability to get babies?

Re: How to make

Posted: Wed Dec 05, 2012 8:58 am
by [-Ts-] Tricky
loooool

Re: How to make

Posted: Wed Dec 05, 2012 11:22 am
by Arntzen
Ehh, I realize that came out... Still.. How to do it? If you just add Elephants for example they wont produce shit whole game.

Re: How to make

Posted: Wed Dec 05, 2012 11:58 am
by lightnessking.
so far i know, only possible with work arounds. Example: Add 1 iron to elephant every second, if elephant has 500 iron, create elephant in LOS from other elephant.
Be sure to set LOS to 1 or 2 tho lol.

Could be a shit load of work. depending how you want it.

Re: How to make

Posted: Thu Jan 03, 2013 7:44 pm
by Destiny
As far as I recall, the whole animals making babies thing is a hardcoded feature of the tournament scripts (the scripts that run during a normal EE match) and has to be replicated by triggers.

You could do it as LightnessKing said, but you can simplify it further as:

IF elephant has existed for X amount of time, THEN spawn an elephant near original elephant.

You can simulate the growth of the elephant by using object scale size, using the above trigger as a template:

IF elephant has existed for i amount of time, THEN make object size A
IF elephant has existed for j amount of time, THEN make object size B
IF elephant has existed for k amount of time, THEN make object size C
and so on so forth.


Hope this helped.

Re: How to make

Posted: Sat Jan 12, 2013 4:55 am
by President Obama
Destiny, you da real 1?

That made eternal darkness and all that?

Also your posting on threads that are like 1-2 months old, even my post now is a bit late.

Re: How to make

Posted: Sun Feb 03, 2013 1:41 pm
by Destiny
President Obama wrote:Destiny, you da real 1?

That made eternal darkness and all that?

Also your posting on threads that are like 1-2 months old, even my post now is a bit late.
Yep, that's me, sorry about gravedigging, I just wanted to see if I could help.

Re: How to make

Posted: Wed Feb 06, 2013 3:51 am
by President Obama
Heh it doesn't matter, this forum gets whatever it gets, its just an information pool. Pretty amazing your still in the community after all this time, those scens must of taken a bloody long time to make. Good fun though.

Re: How to make

Posted: Thu Feb 07, 2013 8:48 am
by BigRon
I had to kill one so the other elephant got a baby

Re: How to make

Posted: Thu Feb 07, 2013 11:07 pm
by Arntzen
ya i tried that, but it didn't work. also most of the animals just stand on the same spot whole game.

Re: How to make

Posted: Sun Feb 10, 2013 3:16 am
by Zaia
Isn't there a toggle in the editor for something to do with animal ai? In most of my scenarios the animals don't stop producing babies and it annoys me to no end

I mean, I have workarounds to deal with it but I don't really know how to prevent it in the first place

Re: How to make

Posted: Mon Oct 26, 2015 8:58 am
by Udolf
I don't know what you mean. In my scenarios all animals are making babies normally. Also they are moving normally, just as they would in a normal game.
See my example scenario attached.