maps
- Tannermon11
- Average Program
- Posts: 86
- Joined: Tue Sep 18, 2007 1:11 am
maps
Why is it rendering the death zones so largely when I use the maps on animusons site. http://map.tronner.com Whenever I try using one, the deathzones take up the whole map, no matter what I set the size_factor to.
Re: maps
Does the map change size too? Are you confusing SIZE_FACTOR with SP_SIZE_FACTOR? Can you point us to a specific map you have a problem with?
- INW
- Reverse Outside Corner Grinder
- Posts: 1950
- Joined: Tue Jul 07, 2009 4:10 pm
- Location: Charlotte, NC, USA
Re: maps
ill help explain.
It does the same thing on all the maps. These are the same maps animuson used a year ago and worked fine. With 1 and many players the zones take up the entire map. The zone radius is at 10 but changing that size does nothing.
He is wondering why the zones grow the size of the zone when a year earlier, they were perfect.
It does the same thing on all the maps. These are the same maps animuson used a year ago and worked fine. With 1 and many players the zones take up the entire map. The zone radius is at 10 but changing that size does nothing.
He is wondering why the zones grow the size of the zone when a year earlier, they were perfect.
- INW
- Reverse Outside Corner Grinder
- Posts: 1950
- Joined: Tue Jul 07, 2009 4:10 pm
- Location: Charlotte, NC, USA
Re: maps
To elaborate on this...here is the "fixed" xml of one of the maps from that repository:
And this is the error i get when uploading it to tron repository folder.
I dont understand what the error is since the map xml looks perfect...
This might be a reason why when uploading the files from map.tronner.com directly onto the server, it messes up.
If someone could find the error in the xml, that would be great since i believe the xml is perfect.
P.S. I did change the original xml. It had and i changed it to
Code: Select all
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE Resource SYSTEM "map-0.2.8_beta3.dtd">
<Resource type="aamap" name="Octarace" version="1.0.1" author="INW" category="Race">
<Map version="0.2.8">
<World>
<Field>
<Axes number="8"/>
<Spawn x="6" y="9" xdir="-1" ydir="0"/>
<Spawn x="6" y="10" xdir="-1" ydir="0"/>
<Spawn x="13" y="10" xdir="1" ydir="0"/>
<Spawn x="13" y="9" xdir="1" ydir="0"/>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="9" y="9"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="10" y="9"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="9" y="8"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="10" y="8"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="24" y="-9"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="24" y="-10"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="-5" y="-9"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="-5" y="-10"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="-11" y="0"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="-11" y="-19"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="30" y="0"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="30" y="-19"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="18" y="-5"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="14" y="-5"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="14" y="-14"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="5" y="-14"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="1" y="-14"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="18" y="-14"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="1" y="-5"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="25">
<Point x="9" y="-1"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="25">
<Point x="10" y="-1"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="25">
<Point x="9" y="-18"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="25">
<Point x="10" y="-18"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="7" y="-27"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="12" y="-27"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="-5" y="-15"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="-5" y="-4"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="24" y="-4"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="24" y="-15"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="15">
<Point x="4" y="-24"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="15">
<Point x="15" y="-24"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="15">
<Point x="4" y="5"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="15">
<Point x="15" y="5"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="7" y="-7"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="12" y="-7"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="5" y="-5"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="7" y="-12"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="10">
<Point x="12" y="-12"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="0" y="-30"/>
</ShapeCircle>
</Zone>
<Zone effect="death">
<ShapeCircle radius="20">
<Point x="19" y="-30"/>
</ShapeCircle>
</Zone>
<Zone effect="win">
<ShapeCircle radius="30">
<Point x="9" y="11"/>
</ShapeCircle>
</Zone>
<Zone effect="win">
<ShapeCircle radius="30">
<Point x="10" y="11"/>
</ShapeCircle>
</Zone>
<Wall height="3">
<Point x="0" y="11"/>
<Point x="19" y="11"/>
<Point x="30" y="0"/>
<Point x="30" y="-19"/>
<Point x="19" y="-30"/>
<Point x="0" y="-30"/>
<Point x="-11" y="-19"/>
<Point x="-11" y="0"/>
<Point x="0" y="11"/>
</Wall>
<Wall height="3">
<Point x="7" y="11"/>
<Point x="7" y="8"/>
</Wall>
<Wall height="3">
<Point x="12" y="11"/>
<Point x="12" y="8"/>
</Wall>
<Wall height="3">
<Point x="7" y="8"/>
<Point x="2" y="8"/>
<Point x="-7" y="-1"/>
<Point x="-8" y="-2"/>
<Point x="-8" y="-17"/>
<Point x="2" y="-27"/>
<Point x="7" y="-27"/>
</Wall>
<Wall height="3">
<Point x="12" y="8"/>
<Point x="17" y="8"/>
<Point x="27" y="-2"/>
<Point x="27" y="-17"/>
<Point x="17" y="-27"/>
<Point x="12" y="-27"/>
</Wall>
<Wall height="3">
<Point x="4" y="-24"/>
<Point x="15" y="-24"/>
<Point x="24" y="-15"/>
</Wall>
<Wall height="3">
<Point x="4" y="-24"/>
<Point x="-5" y="-15"/>
</Wall>
<Wall height="3">
<Point x="4" y="5"/>
<Point x="15" y="5"/>
<Point x="24" y="-4"/>
</Wall>
<Wall height="3">
<Point x="4" y="5"/>
<Point x="-5" y="-4"/>
</Wall>
<Wall height="3">
<Point x="7" y="-7"/>
<Point x="-6" y="-7"/>
<Point x="-8" y="-5"/>
<Point x="-6" y="-7"/>
<Point x="-8" y="-9"/>
</Wall>
<Wall height="3">
<Point x="7" y="-12"/>
<Point x="-6" y="-12"/>
<Point x="-8" y="-14"/>
<Point x="-6" y="-12"/>
<Point x="-8" y="-10"/>
</Wall>
<Wall height="3">
<Point x="12" y="-12"/>
<Point x="25" y="-12"/>
<Point x="27" y="-10"/>
<Point x="25" y="-12"/>
<Point x="27" y="-14"/>
</Wall>
<Wall height="3">
<Point x="12" y="-7"/>
<Point x="25" y="-7"/>
<Point x="27" y="-5"/>
<Point x="25" y="-7"/>
<Point x="27" y="-9"/>
</Wall>
<Wall height="3">
<Point x="-5" y="-9"/>
<Point x="-5" y="-10"/>
<Point x="24" y="-10"/>
<Point x="24" y="-9"/>
<Point x="-5" y="-9"/>
</Wall>
<Wall height="3">
<Point x="-3" y="-12"/>
<Point x="6" y="-21"/>
<Point x="7" y="-21"/>
</Wall>
<Wall height="3">
<Point x="12" y="-21"/>
<Point x="13" y="-21"/>
<Point x="22" y="-12"/>
</Wall>
<Wall height="3">
<Point x="-3" y="-7"/>
<Point x="6" y="2"/>
<Point x="7" y="2"/>
</Wall>
<Wall height="3">
<Point x="12" y="2"/>
<Point x="13" y="2"/>
<Point x="22" y="-7"/>
</Wall>
<Wall height="3">
<Point x="18" y="-16"/>
<Point x="18" y="-14"/>
<Point x="16" y="-12"/>
</Wall>
<Wall height="3">
<Point x="1" y="-16"/>
<Point x="1" y="-14"/>
<Point x="3" y="-12"/>
</Wall>
<Wall height="3">
<Point x="5" y="-15"/>
<Point x="5" y="-16"/>
<Point x="7" y="-18"/>
<Point x="12" y="-18"/>
<Point x="14" y="-16"/>
<Point x="14" y="-15"/>
<Point x="13" y="-14"/>
<Point x="6" y="-14"/>
<Point x="5" y="-15"/>
</Wall>
<Wall height="3">
<Point x="1" y="-3"/>
<Point x="1" y="-5"/>
<Point x="3" y="-7"/>
</Wall>
<Wall height="3">
<Point x="18" y="-3"/>
<Point x="18" y="-5"/>
<Point x="16" y="-7"/>
</Wall>
<Wall height="3">
<Point x="6" y="-5"/>
<Point x="13" y="-5"/>
<Point x="14" y="-4"/>
<Point x="14" y="-3"/>
<Point x="12" y="-1"/>
<Point x="7" y="-1"/>
<Point x="5" y="-3"/>
<Point x="5" y="-4"/>
<Point x="6" y="-5"/>
</Wall>
</Field>
</World>
</Map>
</Resource>
Code: Select all
ERROR: Validation failed!
Octarace Animuson.xml:2: warning: failed to load external entity "/tmp/map-0.2.8_beta3.dtd"
<!DOCTYPE Resource SYSTEM "map-0.2.8_beta3.dtd">
^
Octarace Animuson.xml:3: validity error : Validation failed: no DTD found !
source type="aamap" name="Octarace" version="1.0.1" author="INW" category="Race"
^
Octarace Animuson.xml:194: parser error : Char 0x0 out of allowed range
<Zone effe
^
Octarace Animuson.xml:194: parser error : Specification mandate value for attribute effe
<Zone effe
^
Octarace Animuson.xml:194: parser error : attributes construct error
<Zone effe
^
Octarace Animuson.xml:194: parser error : Couldn't find end of Start Tag Zone line 194
<Zone effe
^
Octarace Animuson.xml:194: parser error : Premature end of data in tag Field line 6
<Zone effe
^
Octarace Animuson.xml:194: parser error : Premature end of data in tag World line 5
<Zone effe
^
Octarace Animuson.xml:194: parser error : Premature end of data in tag Map line 4
<Zone effe
^
Octarace Animuson.xml:194: parser error : Premature end of data in tag Resource line 3
<Zone effe
^
This might be a reason why when uploading the files from map.tronner.com directly onto the server, it messes up.
If someone could find the error in the xml, that would be great since i believe the xml is perfect.
P.S. I did change the original xml. It had
Code: Select all
<Wall><Point...>
Code: Select all
<Wall height="3"><Point...>
Re: maps
I tried uploading it with my account and it worked fine, in that it uploaded to the repository. The thing is though the map is so small, the largest point you have on there for wall distance is 30 or -30 and your DZ radius are all at 10-25 so logic says the DZs will take up most if not all of the space. Upping the size factor doesn't help much since it will up everything including the DZ size.
So basically your DZ sizes are too big and your wall distances are too small, plus you pretty much put the spawn points right inside the huge cluster of DZs. I would say either start from scratch or go back into it and rework the wall values so that you keep the shape of the arena but make it bigger and if you do that change where the DZs are and maybe rework the size
If this was how the original map looked, i.e you just copy and pasted it, I don't see how it could have ever worked.
Vanhayes/Maps/Octarace-1.0.1.aamap.xml This is the map in your post if you want to try it for yourself.
So basically your DZ sizes are too big and your wall distances are too small, plus you pretty much put the spawn points right inside the huge cluster of DZs. I would say either start from scratch or go back into it and rework the wall values so that you keep the shape of the arena but make it bigger and if you do that change where the DZs are and maybe rework the size
If this was how the original map looked, i.e you just copy and pasted it, I don't see how it could have ever worked.
Vanhayes/Maps/Octarace-1.0.1.aamap.xml This is the map in your post if you want to try it for yourself.
You've gone too far, turn back!
- INW
- Reverse Outside Corner Grinder
- Posts: 1950
- Joined: Tue Jul 07, 2009 4:10 pm
- Location: Charlotte, NC, USA
Re: maps
So what u r saying is the "size factor" of the walls is too small. Basically need to multiply the length of the walls by like 10 and then make the dzs way smaller..such as changing their size from 10 to like 1?
If so, i can see that must be the only thing that will work.
If so, i can see that must be the only thing that will work.
Re: maps
Ya something like that, not sure if multiplying the wall values by 10 will be the best way to do it. So first thing, try to just make the DZs as small as you can save and test it in-game, and up the size factor to something that looks right, that way it should up the size of the arena and also the size of the DZs without you having to change every wall value and DZ position by hand. Because if you were to up the wall values and then just made the DZs smaller they wouldn't be in the right places, you would have to go and change the placement values for each DZ as well. If that doesn't work then you would have to do it all manually.
Not the prettiest solution but it would be a quick fix if it works right.
Not the prettiest solution but it would be a quick fix if it works right.
You've gone too far, turn back!
Re: maps
Nonsense! 1 Wall Increment = 16 Radius Increments for a zone. These maps are exactly the same as they always were on my servers. A zone with a radius 16 will expand 1 wall increment in each direction, like has always been true throughout my ENTIRE mapping and arma-coding career. Most of my maps were built to work with a size_factor of 2.0.
If for some stupid reason they changed the zone rendering to be equal to the wall rendering size, then simply dividing all the zone radii by 16 would theoretically fix the problem.
If for some stupid reason they changed the zone rendering to be equal to the wall rendering size, then simply dividing all the zone radii by 16 would theoretically fix the problem.
Re: maps
Err, what? No, the deathzone/winzone radius as given in the map has always been the same scale as the coordinates for the walls. Why on earth should it be otherwise? The zone size settings, what gets used for the automatically spawned win/deathzone, now that is always post-scale, meaning that SIZE_FACTOR does not influence it.
- Lucifer
- Project Developer
- Posts: 8683
- Joined: Sun Aug 15, 2004 3:32 pm
- Location: Republic of Texas
- Contact:
Re: maps
Also, it's a good idea to keep maps around the same scale as the default map, which I think is 300x300. It might be 600x600. That way, people using the map will expect it to be a certain size when they first load it.
There are exceptions, of course, plenty of them. Just keep in mind that the size of an area with default settings should correspond, as much as your intent is to do so, to the size of the default arena. That gives server operators a much better idea how the map will look and work when the first run it.
The last thing you need is for server operators to have to find their own size_factor settings to match your map just to try it out.
There are exceptions, of course, plenty of them. Just keep in mind that the size of an area with default settings should correspond, as much as your intent is to do so, to the size of the default arena. That gives server operators a much better idea how the map will look and work when the first run it.
The last thing you need is for server operators to have to find their own size_factor settings to match your map just to try it out.
Re: maps
Ok, so I changed all the maps to divide the zone radius by 16 and saved them to a new repository: http://rep.tronner.com - They all still display exactly the same as before. Next solution please.
http://rep.tronner.com/animuson/racing/ ... .aamap.xml
http://rep.tronner.com/animuson/racing/ ... .aamap.xml
Re: maps
Have you bumped the version numbers? If you don't, clients and servers won't download the new version and still use the old maps.