Discord Stats:
Today's Date 2024-03-28
Total Members 591
Online Members 57
Total Channels 42
Msg Past Hour 0
Today Most Msg jereth2631 (11)

Latest Posts
2024-02-28 05:38:57
Dark Forces: Remaster Release
2023-12-31 16:57:36
Happy New Year from DF-21
2023-08-23 05:32:13
Dark Forces Remastered
2023-05-04 10:32:41
May the 4th update
2022-12-19 10:42:32
The Force Engine 1.0 Release
Recent Additions
April 14, 2023:
Coober Revisited
by Oton (fish) Ribic

April 14, 2021:
Among The Shadows II: The Lava Planet
by Oton (fish) Ribic

April 28, 2008:
The Tower of Doom
Rating: 3 Stars - Good
by Dirk Destiny and Pumpkinetics

The Force Engine - INF Update

Posted by karjala on 2021-03-02 16:30:41 EST

Tweet It Share on Facebook Share on WhatsApp Share on Telegram Share on Reddit Share on Gmail

Lucius is back with another update to his illustrious The Force Engine

In the latest update he discusses the work he's been doing on the game's INF scripting system. Through INF scripts the doors open when Kyle presses a switch, elevators go up when he steps on them, and ceilings collapse on his head when he walks somewhere he shouldn't!

 

This is a particular interesting update for me as the author learned programming through scripts like these in the 90s. 

Here is an example of a move floor Elevator script that halts at various stops. The commands are read top to bottom in a loop.

item: sector            name: complete
  seq
    class: elevator move_floor
    stop: 55 hold
    stop: 56 hold
      page: 1 m01kyl01.voc
      message: 1 rickenbacker master_on
    stop: 56 4
    stop: 56.5 2
      message: 3 parking_space wakeup
    stop: 57 0
      message: 4 text_boy m_trigger
    stop: 57 complete
    speed: 0
  seqend

For example at stop 56 it will play the m01kyl01.voc sound and call rickenbacker trigger which could open a door or... spawn a Dark Trooper!

Did you know there are 11 core elevator types such as move ceiling or scroll wall ? The latter is used to simulate a waterfall on the Robotics Facility Mission on Anteevy

But don't let us bore you with the details, read about it from the source!

The Force Engine - INF System