I've pinpointed it down..
Adding these two lines to my main source file nukes Engine.dba:
#CONSTANT DOWN 654
#CONSTANT UP 456
My Main source file looks like this:
Rem Project: blast
Rem Created: 21/04/2003 19:10:20
Rem ***** Main Source File *****
#CONSTANT SHELL_TYPE 1
#CONSTANT BULLET_TYPE 2
#CONSTANT SHELL_MESH 1
#CONSTANT SHELL_LIFE 200
#CONSTANT SHELL_SPEED 5.0
#CONSTANT SHELL_PARTICLE 1
#CONSTANT SHELL_COOLDOWN 20
Global Dim Players(15) As Player
Global Dim Shells(15, 9) As Bullet
Global Dim Minigun(15, 100) As Bullet
Global Dim NodeStack(0) As String
Global Dim MapStack(0) As MapStructure
Global TotalObjects
Global NextObj
Global TotalPlayers
Global WorldID
Global BattleZone
Global RootDir$
Global MapHead As MapHeader
Global NodeTotals
Global NodeIndex
Rootdir$ = Get Dir$()
BattleZone = 0
WorldID = 1
rem set display mode 1024, 768, 32
Hide Mouse
rem sync rate 60
Autocam Off
Sync On
Color Backdrop Rgb(0,0,0)
Rem put a menu here or in a menu.dba or something..
rem goto _Test
rem goto _GameEngine
Goto _MapEditor
that compiles fine..
if I add those two lines so it looks like this:
Rem Project: blast
Rem Created: 21/04/2003 19:10:20
Rem ***** Main Source File *****
#CONSTANT SHELL_TYPE 1
#CONSTANT BULLET_TYPE 2
#CONSTANT SHELL_MESH 1
#CONSTANT SHELL_LIFE 200
#CONSTANT SHELL_SPEED 5.0
#CONSTANT SHELL_PARTICLE 1
#CONSTANT SHELL_COOLDOWN 20
#CONSTANT DOWN 654
#CONSTANT UP 456
Global Dim Players(15) As Player
Global Dim Shells(15, 9) As Bullet
Global Dim Minigun(15, 100) As Bullet
Global Dim NodeStack(0) As String
Global Dim MapStack(0) As MapStructure
Global TotalObjects
Global NextObj
Global TotalPlayers
Global WorldID
Global BattleZone
Global RootDir$
Global MapHead As MapHeader
Global NodeTotals
Global NodeIndex
Rootdir$ = Get Dir$()
BattleZone = 0
WorldID = 1
rem set display mode 1024, 768, 32
Hide Mouse
rem sync rate 60
Autocam Off
Sync On
Color Backdrop Rgb(0,0,0)
Rem put a menu here or in a menu.dba or something..
rem goto _Test
rem goto _GameEngine
Goto _MapEditor
it blows up with error "Could not understand command at line 854" and displays a blank Engine.dba - double clicking engine.dba after that on the files menu always displays a blank file.
Can anyone explain that? -_-
Edit:
It blanked Engine.dba AND Bullets.dba, so it does blank more than one >.>
Edit 2:
Tried again.. this time engine.dba survived but bullets.dba got nuked still, i guess its being a little random -_-