Author Topic: Variable and/or Event Limit?  (Read 826 times)

0 Members and 1 Guest are viewing this topic.

Online wookieejedi

  • 29
  • Intensify Forward Firepower
Variable and/or Event Limit?
With the current engine, is there a limit on the number of total variables, player persistent variables, and/or Events in a mission? I have tried finding the answer on the forum, but most of the information I have found is somewhat conflicting and outdated. Any comments on the recent maximums, if there are any, would be greatly appreciated! Thanks!

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Variable and/or Event Limit?
You can have:
   - 250 variables in a mission
   - 512 events in a mission

There is no separate limit for player or campaign persistant variables.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Online wookieejedi

  • 29
  • Intensify Forward Firepower
Re: Variable and/or Event Limit?
You can have:
   - 250 variables in a mission
   - 512 events in a mission

There is no separate limit for player or campaign persistant variables.

Perfect, thanks! Do you also happen to know the updated limit on number of objects in a mission?

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Variable and/or Event Limit?
There is a maximum of 3500 objects.

However, be aware that all ships and all weapons (from laser blasts to missiles) all take up one object slot each; there are separate limits for weapons (2000), ships (400), asteroids (512) and pieces of debris (64).

I should add that any mission that comes close to hitting any of those limits (including the mission events and variables ones) is probably too complicated and should be refactored.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Online wookieejedi

  • 29
  • Intensify Forward Firepower
Re: Variable and/or Event Limit?
There is a maximum of 3500 objects.

However, be aware that all ships and all weapons (from laser blasts to missiles) all take up one object slot each; there are separate limits for weapons (2000), ships (400), asteroids (512) and pieces of debris (64).

I should add that any mission that comes close to hitting any of those limits (including the mission events and variables ones) is probably too complicated and should be refactored.

Perfect, thanks! Certainly more then I will ever need.