Author
|
Topic: OffsetX and OffsetY in Levels.txt
|
Alkalund Honorary Warlord
   
Posts: 964 From: Florianópolis, Santa Catarina, Brazil Registered: Apr 2001 |
posted 16 January 2002 11:36
What do these 2 columns in levels.txt do??? I see some scenarios have negative numbers on them, and others have really large numbers. I put 1000 on both offsetX and offsetY of the Blood Moor area (wich originally has -1,-1 in them), but apparently there is no difference noticeable.Thanks for any info on this subject,

|
NefariusDX Honorary Warlord
   
Posts: 1392 From: The Hadal Abyss of Eternal Oblivion Registered: Jun 2001 |
posted 17 January 2002 02:17
this is not the level size but the location in the d2 world------------------ Nefarius' Secondary Mod Site Nefarius' Primary Mod Site ------------------ XyRAX v21.00 Comming Soon! ------------------ NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!! quote: Gaze into the Oblivion within yourself and you shall become your greatest fears. The escence of leeching is to request before you try

|
Alkalund Honorary Warlord
   
Posts: 964 From: Florianópolis, Santa Catarina, Brazil Registered: Apr 2001 |
posted 17 January 2002 07:39
The location in the D2 world? What exactly does that mean? For example, the rogue encampment and the Barracks in act 1 have both offsetX=-1,offsetY=-1. So you say they are at the same place in the D2 world?? Sorry, I'm all confused here...------------------ Alkalund

|
NefariusDX Honorary Warlord
   
Posts: 1392 From: The Hadal Abyss of Eternal Oblivion Registered: Jun 2001 |
posted 17 January 2002 12:28
simple, offsets are similar to offsets of graphics in here, they are used so maps dont overlap (eg: in alpha and beta of cd2 there was such a bug that mades maps overlap) the fact 2 things have the same offset dosent mean they are on the same slot it just places them x#/y# next to other places, wile also note that MOST overground areas are set to -1/-1 this means they are centered on the top left center of the map. (NOT the automap)best way to explain it: if a map is 800x800px and its a square so top left in x/y cord would be 0/0 (or a close value) wile center would be -400/400 ------------------ Nefarius' Secondary Mod Site Nefarius' Primary Mod Site ------------------ XyRAX v21.00 Comming Soon! ------------------ NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!! quote: Gaze into the Oblivion within yourself and you shall become your greatest fears. The escence of leeching is to request before you try
[This message has been edited by NefariusDX (edited 17 January 2002).]

|
Brother Laz Honorary Warlord
   
Posts: 1134 From: the place where angels watch... Registered: Dec 2001 |
posted 17 January 2002 15:40
800x800??? You sure? Isn't it 1024x1024 or a similar power of two?------------------ To practice the Arts of Modding is to be Damned. To master Them is to be Victorious. -D1 manual

|
Alkalund Honorary Warlord
   
Posts: 964 From: Florianópolis, Santa Catarina, Brazil Registered: Apr 2001 |
posted 17 January 2002 15:48
Ok I see it now. Just one more thing: when you say a map with 800x800px, you mean an area with SizeX=SizeY=80, like the wilderness areas in act 1?------------------ Alkalund

|
NefariusDX Honorary Warlord
   
Posts: 1392 From: The Hadal Abyss of Eternal Oblivion Registered: Jun 2001 |
posted 17 January 2002 15:59
the value in size dosent control size, the wilderness areas are built out of many .ds1 files that plug into each other and are always at the same size which is not controled by levels.txt, to change dungeons simply open lvlmaze.txt and change room count------------------ Nefarius' Secondary Mod Site Nefarius' Primary Mod Site ------------------ XyRAX v21.00 Comming Soon! ------------------ NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!! quote: Gaze into the Oblivion within yourself and you shall become your greatest fears. The escence of leeching is to request before you try

|
Alkalund Honorary Warlord
   
Posts: 964 From: Florianópolis, Santa Catarina, Brazil Registered: Apr 2001 |
posted 17 January 2002 16:04
Ok thanks. I think I'm finally getting all this stuff...------------------ Alkalund

|