I'm trying to change a bit rim walls so that each rim wall can have different acceleration, boost and boost factor settings.
CYCLE_ACCEL_RIM, CYCLE_BOOST_RIM and CYCLE_BOOSTFACTOR_RIM are used as default but can be changed in the map file.
As this requires a change on both server and client side, and to give it more sense, I've added support to change rim wall textures in map file too the very same way cockpit does, allowing to customize walls with specific settings so players can "see" them.
Here's an example of wall definition in an aamap file:
Code: Select all
<Wall acceleration="20">
<Image scale_x=".3" scale_y=".3" repeat="both">
<Graphic category="" author="voodoo" version="1" name="glowing_square" extension="jpeg" />
</Image>
<Point x="200" y="200" />
<Point x="200" y="300" />
<Point x="300" y="300" />
<Point x="300" y="200" />
<Point x="200" y="200" />
</Wall>
I've add a map dtd (map-0.2.8.0_advrim.dtd) but is there any official dtd for 0.3 and zones v2 ?
also, I've put it in resource/proto/AATeam but the client does not seems to be able find it after install (except if I set up a repo of course). Is it the right place to add it ?
finally, is there any reason there's separate Image and Graphic xml elements ? It might be better to merge them.
Here's the corresponding branch:
lp:~armagetronad-ct/armagetronad/armagetronad-advrim