I have a model of a corkscrew that I am modding into a game made in what I believe was Game Maker 8.0. Unfortunately, there is little to indicate what version it was made in, other than that it was not GameMaker: Studio.
The problem with the model is that not all of it loads, and it just stops drawing. I made the model in GameMaker 8.0 Pro, through a simple 3D model-generating script that I wrote.
I loaded this content into Nintendo Nightmare. I did these tests in the "Hyrule Field" level (room 11, in the game), as it has the widest open area. I used a completely blank save file, going in to this, and made no other relevant cheat codes. The code I used is below. In the mod, code input is through one-line format, but I have formatted them for readability. Why won't my model completely display?
This code adds drawing capabilities to the mod objects.
object_event_add(obj_stringe, ev_draw, 0, "execute_string(text2);"); global.corkscrew = d3d_model_create(); d3d_model_load(global.corkscrew, "Corkscrew.d3d"); global.spr_pipeTexture = sprite_add("pipeTexture.png", 1, 0, 0, 0, 0);
text2 is a variable string executed every draw event of
global.tube = instance_create(x, y, obj_stringe); global.tube.text2 = "tex=sprite_get_texture(global.spr_pipeTexture, 0); d3d_model_draw(corkscrew, x, y, z, tex);";