Jump to content

Faatal;TFP; Triggers??


Recommended Posts

Hello Faatal:TFP:Fellow Survivors.

 

This is a lengthy multi part question that I hope has a simple answer.
Mainly because I know you are busy.

 

Triggers


What is the max amount of triggers before buffer overload,   screen freeze?

 

I did a personal mod, that made walking on the street, and paths have an
accelerated Heatmap buildup. The opposite was true for terrain. I created
zombie clones with variable AI and sensitivities. To compliment it I Also
made the grass destroyed by zombies and ai when walked on.


The grass was 1.63 meters tall ,only the dead tall, it helped create variance.
This helped create the illusion of hiding from sight, when crouched.

When testing in GM, Every step I took, was a trigger, every move in the grass
was a trigger.

 

That is the reason for the question above. The one glitch that would happen is
if I fired an arrow into the grass, toward a hill, my screen would freeze
needing to be restarted.

 

I kind of figured the heatmap is per chunk, because I would see different heat
values depending on my location. Is the arrow being shot a trigger overload or
a different problem?

 

Also since the street is stone, if I hid in a stone tunnel it built heat like
5 forges. I can probably figure this one out.

 

Last Question; Can I get the same results while using less triggers, is it possible?

Link to comment
Share on other sites

It think you mean events, not triggers. An AI director chunk event actually covers 5x5 chunks. It stores them in a List, so you could have tens of thousands or more of them, but code may start running noticeably slower as you add thousands of them.

 

You may want to use very short duration events, so you don't accumulate a lot.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...