it seems that when adding more .b3d files there seems to be huge slowdown in-game
If you mean what I think you mean then you should avoid doing it - that is, you should load files that you are going to use before actual game play begins... Think of 3d commerical games. Before you start a new level you usally get a "Loading Game" / "Saving Game" screen when the game loads in 1 of every type of graphics/model it is going to use... so you should structure your game something like this:
[CODE];-------------------DECLARATIONS
Type .new_type_data
Field mesh
Field x,y,z
;--- etc.
End Type
Dim originals(0)
;-------------------LOAD LEVEL CODE
originals(0)=LoadMesh("filename")
HideEntity(0)
;------ etc.
;-------------------PREPARE LEVEL CODE
; Load/create robot data etc.
robots.new_type_data=New new_type_data
robots\x=0:robots\y=0,robots\z=0
;---- etc.
For robots.new_type_data=Each new_type_data
robots\mesh=CopyEntity(originals(0))
PositionEntity robots\mesh,robots\x,robots\y,robots\z
;------ etc.
Next
;----- etc.
;-------------------LEVEL GAME LOOPS
;-- Player code, and stuff
For robots.new_type_data=Each new_type_data
;-- Do code for robots, delete dead ones, create new
Next
[/CODE]Don't forget to use Functions to remove code from your main loop that isn't executed everytime. Hope that helps.