Well, if you create an external configurer where you can choose whether loading the highpoly or the lowpoly, then you should easily be able to only make it load the right model. Do it like this:
;Read config file
configfile=OpenFile("config.cfg")
polylevel=ReadInt(configfile)
CloseFile(configfile)
;Load models (0=low poly, 1=high poly)
if polylevel=0 then
;Load highpoly models
player=LoadMesh("player_lowpoly.x")
model2=LoadMesh("model2_lowpoly.x")
scene=LoadMesh("scene_lowpoly.x")
;etc..
else
player=LoadMesh("player_highpoly.x")
model2=LoadMesh("model2_highpoly.x")
scene=LoadMesh("scene_highpoly.x")
endif
I think you understand the clue. Do this in the loading section...
;Read config file
configfile=OpenFile("config.cfg")
polylevel=ReadInt(configfile)
CloseFile(configfile)
;Load models (0=low poly, 1=high poly)
if polylevel=0 then
;Load highpoly models
player=LoadMesh("player_lowpoly.x")
model2=LoadMesh("model2_lowpoly.x")
scene=LoadMesh("scene_lowpoly.x")
;etc..
else
player=LoadMesh("player_highpoly.x")
model2=LoadMesh("model2_highpoly.x")
scene=LoadMesh("scene_highpoly.x")
endif
I think you understand the clue. Do this in the loading section...