Re: Big Maps Project[message #170667]
|
Sun, 13 January 2008 22:34
|
|
afp |
|
Messages:75
Registered:November 2007 |
|
|
you changed the ranges?
there may also be some limitation into the code, like the bullet distance over 200 means out of the map or something..
Report message to a moderator
|
Corporal
|
|
|
Re: Big Maps Project[message #170669]
|
Sun, 13 January 2008 22:39
|
|
redgun |
|
Messages:190
Registered:March 2007 Location: Austria |
|
|
I changed the ranges. it worked perfectly in a standard size map A9 (110x110) but it wouldn't work with the new map A10 (880x880) which was just a plain desert floor testmap.
Report message to a moderator
|
Staff Sergeant
|
|
|
Re: Big Maps Project[message #170671]
|
Sun, 13 January 2008 22:49
|
|
afp |
|
Messages:75
Registered:November 2007 |
|
|
There are some limitations in 1.13 code related to the map dimension, for future references here they are:
los.cpp - line 3067:
if ( pBullet->iCurrTileX < 0 || pBullet->iCurrTileX >= WORLD_COLS || pBullet->iCurrTileY < 0 || pBullet->iCurrTileY >= WORLD_ROWS )
worlddef.h definitions:
#define WORLD_COLS 160
#define WORLD_ROWS 160
#define WORLD_COORD_COLS 1600
#define WORLD_COORD_ROWS 1600
#define WORLD_MAX 25600
#define CELL_X_SIZE 10
#define CELL_Y_SIZE 10
There may be a lot others, but this seems to be enough to know that is unlikely to work without performing chages at code level. I think these are related to map dimensions.
Report message to a moderator
|
Corporal
|
|
|
Re: Big Maps Project[message #170674]
|
Sun, 13 January 2008 23:02
|
|
redgun |
|
Messages:190
Registered:March 2007 Location: Austria |
|
|
thank you for your help afp.
I was using the big-maps exe which should get rid of all these limitations (at least that's what i thought it would)
Report message to a moderator
|
Staff Sergeant
|
|
|
|
|
Re: Big Maps Project[message #170773]
|
Mon, 14 January 2008 15:01
|
|
afp |
|
Messages:75
Registered:November 2007 |
|
|
lalienxxWe've changed those defines to resize the maps, but probably didn't find everything.
It's very hard to find all references, I can understand, some others may be hardcoded elswhere...
Report message to a moderator
|
Corporal
|
|
|
|
|
|
|
|
Re: Big Maps Project[message #173469]
|
Tue, 29 January 2008 00:17
|
|
redgun |
|
Messages:190
Registered:March 2007 Location: Austria |
|
|
I'd absolutely love to see a 3840x1024 or a 3072x768 resolution. but i also know that it is noth worth the effort, unless it was realy easy to add new resolutions.
i'm still for a 1:1 scale, or as the best solution a range modifier in the ini.
Report message to a moderator
|
Staff Sergeant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|