The Military Essentials package from Binary People has given me a decent set of animated figures to work with. One sort of project I've been interested in for a while is creating scripted "movies" for in-game cutscenes.
To do a proper job of it, I plan to build a GUI editor (using Yappy's XLnt II), but first I threw together a proof-of-concept test to make sure that my proposed approach would work. This uses elapsed time to determine when events (such as character walking or camera zoom) should start and stop. The timing is based on passes through the main loop (limited by WaitTimer), rather than using Millisecs, so that it remains functional even if the PC experiences slowdown. A script looks like:
Select elapsed
Case 3:text1=True ;"I'm hungry"
Case 6:text1=False:Cam1=True ;zoom in
Case 7:Cam1=False
Case 8:text2=True ;"Haven't eaten all day"
Case 11:text2=False:Cam2=True ;zoom in on face
Case 12:Cam2=False
Case 13:text3=True ;"The vending machine"
Case 16:text3=False
Case 17:Cam3=True ;cut to side view
Case 18:cam3=False:walk1=True ;walk toward door
End Select
It currently uses whole seconds, but finer timing is possible. A separate set of If-Thens executes the actions that are turned on and off by the 'script.'
For the test, I put together a two-room 'set,' loading and positioning models (from Carrara) within Blitz. The 'actor' is a retextured soldier from the Military Essentials pack (I've removed all but four animations from the modified .b3d). The result is something that rivals the first silent movies for crudeness, but which shows promise:

There's still plenty of refinement to be done (using functions, allowing external script files to be saved and read, etc.), but the potential does seem to be there. So, I'm inflic... err... *sharing* it with the Blitz community in its current form (3.8 megs, with source, executable, and models): http://frontieruniverse.com/HungryGuy.ZIP
(For the incautiously curious: the reason the guy is trying to get food goes back to SSI's FRUA from 1993. The first test adventure I wrote for it was "Quest for the Jeno's Pizza Rolls" which was just my apartment with said pizza rolls located in the kitchen; since then, all my early tests of adventure-type systems involve someone seeking food, just for tradition.)
To do a proper job of it, I plan to build a GUI editor (using Yappy's XLnt II), but first I threw together a proof-of-concept test to make sure that my proposed approach would work. This uses elapsed time to determine when events (such as character walking or camera zoom) should start and stop. The timing is based on passes through the main loop (limited by WaitTimer), rather than using Millisecs, so that it remains functional even if the PC experiences slowdown. A script looks like:
Select elapsed
Case 3:text1=True ;"I'm hungry"
Case 6:text1=False:Cam1=True ;zoom in
Case 7:Cam1=False
Case 8:text2=True ;"Haven't eaten all day"
Case 11:text2=False:Cam2=True ;zoom in on face
Case 12:Cam2=False
Case 13:text3=True ;"The vending machine"
Case 16:text3=False
Case 17:Cam3=True ;cut to side view
Case 18:cam3=False:walk1=True ;walk toward door
End Select
It currently uses whole seconds, but finer timing is possible. A separate set of If-Thens executes the actions that are turned on and off by the 'script.'
For the test, I put together a two-room 'set,' loading and positioning models (from Carrara) within Blitz. The 'actor' is a retextured soldier from the Military Essentials pack (I've removed all but four animations from the modified .b3d). The result is something that rivals the first silent movies for crudeness, but which shows promise:

There's still plenty of refinement to be done (using functions, allowing external script files to be saved and read, etc.), but the potential does seem to be there. So, I'm inflic... err... *sharing* it with the Blitz community in its current form (3.8 megs, with source, executable, and models): http://frontieruniverse.com/HungryGuy.ZIP
(For the incautiously curious: the reason the guy is trying to get food goes back to SSI's FRUA from 1993. The first test adventure I wrote for it was "Quest for the Jeno's Pizza Rolls" which was just my apartment with said pizza rolls located in the kitchen; since then, all my early tests of adventure-type systems involve someone seeking food, just for tradition.)


