GenerateTraceMap


(andre) #1

When using the \generatetracemap command i get a error.

Need Valid map coords in the world span to be able to generate a tracemap

I’m reading http://www.wolfensteinx.com/surface/tutorials/et_getting_started.html,
but I don’t understand well this, on how to obtain the map coords, I tryed to place a box over the world to get the min and max values but,
the values I have obtained don’t work, I use the key names and the value
is placed like first the x coords size then the size in y coords foreach max and min.
Any Tips or Sugestions ?

Thank You in advance for any information.


(Ifurita) #2

the box described by your mapcoordsmins and maxs need to be square, e.g., length = width. Check your dimensions again.


(andre) #3

The previous bug was very stupid I forgot the s in mapcoordsmaxs :S

Know the map works :smiley: , but when i use generatetracemap , returns that ithe coords are not
squared. But it works.
I’m still trying to understand well how the mapcoords work, mapcoordsmin is for x/y size described by the top left y and x coords,
the second I haven’t get it, I just did what the man said but does the mapcoordmins with the mapcoordmaxs in diagonal gives the
hole map perspective ?

Thank you again, nice sig :smiley:


(nUllSkillZ) #4

mapcoordsmins: minimum x (e.g.: -1024) maximum y (e.g.: 1024) upper left corner in the x-y-2d view
mapcoordsmaxs: maximum x (e.g.: 1024) minimum y (e.g.: -1024) bottom right corner in the x-y-2d view


(thore) #5

note that you can exactly copy nullskillz’ proposal of mapcoord values, even if your map is 2390*5070 in size.
they have to be sqare, that’s all for the moment and imho totally sufficient for first testings. which values to
set for the final compile will reveal soon enough once you understand what the tracemap is needed for… but
no need to worry about that for now :wink: