View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000603 | Populous: The Beginning | Scripting | public | 2019-12-12 05:28 | 2021-09-19 01:46 |
Reporter | Kosjak | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | not fixable | ||
Summary | 0000603: SearchMapCells incorrect calculations? | ||||
Description | Theres a little issue with both of SMC (SearchMapCells) types (SQUARE & CIRCULAR) In square case theres always 1 cell missing at north-west position Screenshot: https://media.discordapp.net/attachments/538744211483262979/654673386794123275/unknown.png In circular case there is north line being double calculated/processed (from exact center to the pre-last north cell) Screenshot: https://cdn.discordapp.com/attachments/538744211483262979/654674098814976011/unknown.png To demonstrate it i just spawned swamp mists, but can be done with just anything else. (Trees would be probably best) | ||||
Steps To Reproduce | A sample code to run in SUPERVISOR local blueshaman = getShaman(0) SearchMapCells(CIRCULAR, 0, 0, 3, world_coord2d_to_map_idx(blueshaman.Pos.D2), function(me) local c2d = Coord2D.new() local c3d = Coord3D.new() map_ptr_to_world_coord2d_centre(me, c2d) coord2D_to_coord3D(c2d, c3d) createThing(T_SCENERY,M_SCENERY_TREE_1,TRIBE_HOSTBOT,c3d,false,false) return true end) | ||||
Tags | No tags attached. | ||||
Build Number | 3201 | ||||