Re: [Warzone2100-project] [Warzone 2100 Trac] #4277: Extra tiles.

2015-01-25 Thread Warzone 2100 Trac
#4277: Extra tiles.
-+-
Reporter:  NoQ   |  Owner:
Type:  patch (an actual patch, not   | Status:  new
  a request for one) |  Milestone:  unspecified
Priority:  normal|Version:  3.1 and
   Component:  Data: Stats   |  master
  Resolution:|   Keywords:
Operating System:  All/Non-Specific  |
-+-
Changes (by NoQ):

Attachment ExtraTiles-v1.patch added

http://developer.wz2100.net/raw-attachment/ticket/4277/ExtraTiles-v1.patch

--
Ticket URL: http://developer.wz2100.net/ticket/4277
Warzone 2100 Trac http://developer.wz2100.net/
The Warzone 2100 Project
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project


[Warzone2100-project] [Warzone 2100 Trac] #4277: Extra tiles.

2015-01-25 Thread Warzone 2100 Trac
#4277: Extra tiles.
-+-
Reporter:  NoQ   |  Owner:
Type:  patch (an actual patch, not   | Status:  new
  a request for one) |  Milestone:  unspecified
Priority:  normal|Version:  3.1 and
   Component:  Data: Stats   |  master
Operating System:  All/Non-Specific  |
-+-
 Based on the discussion here:
 http://forums.wz2100.net/viewtopic.php?f=5p=130849#p130848

 Before we get the new map format done, i'd like to push the following
 quick fix. It's trivial enough to probably even go into the 3.1 branch; in
 fact it only touches a few lines of data, not even code.

 -

 The story so far: ''cliff decals'' were created in order to improve
 playability of old maps, clearly marking passable and unpassable areas in
 cases when the new renderer is ambigiously vague. Newly created maps, on
 the other hand, can be made to knowingly avoid this problem. Hence, it is
 a good idea to allow the map makers avoid using cliff decals on the new
 maps, or allow them to use cliff decals for only a few cliffs, and use
 bare cliff terrain texture for the rest. Right now this can only be
 achieved thourgh map-mod'ing, which is evil.

 -

 The patch solves the problem by adding two new tiles to each tileset,
 which is cliff-cliff-cliff-cliff texture without decals, and also an
 additional water-water-water-water texture for easier usage of seabed
 texture as normal terrain (which often looks very cool). For rockies, two
 cliff tiles are added, because there are two distinct cliff textures on
 rockies, and both of them are provided as decal-only.

 This patch doesn't break support for old maps, be it campaign or skirmish
 maps. They are loaded correctly and work as expected.

 New maps (which use extra tiles) are loaded by the unpatched game as well,
 without crashing, just terrain texture is broken for the old tiles
 (replaced with tileset's default texture, eg. red for arizona).

 The map editor dataset is easily patched to make use of the new tiles, and
 the relevant update is provided on the forum.

 A proof-of-concept map file is provided for testing.

--
Ticket URL: http://developer.wz2100.net/ticket/4277
Warzone 2100 Trac http://developer.wz2100.net/
The Warzone 2100 Project
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project