Hi
I have a little problem!
i have a Terrain and I want to put some Models at Vertexes of the Terrain!
The Code for this is easy i know!
Code:
...
level_load("");
map=ent_create("testmap.hmp",NULL,terrain_act);

tower1=ent_create("tower.mdl",NULL,tower_act);
vec_for_vertex(tower1.x,map,18826);//18826
...



Now I dont understand why the code isn't working with .hmp-Terrains!
With this Code the Tower is at the end of the map!
But no Errors or something else, only a wrong place!

I converted the Terrain to a Model and the Tower is at the place it should be!
But why is this not possible with .hmp maps ?

BTW I am working with Lite-C (free Version if this helps ^^)


any Ideas that would help?

regards
Sebastian


Last edited by sebbi91; 07/12/09 16:19.

3D-Gamestudio A8 - Commercial