Author Topic: Op2 Events  (Read 2049 times)

Offline Eddy-B

  • Moderator
  • Hero Member
  • *****
  • Posts: 1186
    • http://www.eddy-b.com
Op2 Events
« on: September 13, 2005, 11:42:49 AM »
As a result of the crashes i kept getting, i've started a new side-tracked project, that will be part of renegades, but will also be released publicly (just like my IUnit), so it can be used by other OP2-coders.

The exported structures only allow for upto 127 ScStubs. Each timer, fightgroup, buildinggroup and whatever other group IS an ScStub, and since my missions use a lot of, well, all of those, i kept getting crashes. I managed to work around the problem, so i could create a bit more, but eventually it still passed the 127 mark, and crashed again at an almost random time.

Events will be unlimited. Only one problem really: in the current situation missions using events can not be saved { they can actually, but will not load correctly }.

EDIT:  Okay, unlimited events did work,, but i couldn't make it save. Don't want to go into details but it just can't be done.
SO:: i've updated the project to have at least 4 times the number of events then the original had space for.. Now, the ScStubs can be used 100% for groups.


All documentation can be found on the wiki: http://www.wiki.outpostuniverse.net/Category:Events
« Last Edit: September 13, 2005, 05:26:32 PM by Eddy-B »
Rule #1:  Eddy is always right
Rule #2: If you think he's wrong, see rule #1
--------------------

Outpost : Renegades - Eddy-B.com - Electronics Pit[/siz

Offline Eddy-B

  • Moderator
  • Hero Member
  • *****
  • Posts: 1186
    • http://www.eddy-b.com
Op2 Events
« Reply #1 on: September 17, 2005, 07:54:59 AM »
These events have been added successfully:
  • TimerEvent
  • CountEvent
  • OperationalEvent
  • RectEvent
  • PointEvent
  • DamagedEvent
  • ResearchEvent
  • ResourceEvent
Next on the agenda:
  • Custom Events!
EDIT:moved DamagedEvent, ResearchEvent and ResourceEvent to 'done' section :D
« Last Edit: September 17, 2005, 04:49:52 PM by Eddy-B »
Rule #1:  Eddy is always right
Rule #2: If you think he's wrong, see rule #1
--------------------

Outpost : Renegades - Eddy-B.com - Electronics Pit[/siz