Unable to generate .AAS file for ported Q3A map

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Rassilius
Posts: 5
Joined: Sun Feb 26, 2017 8:39 pm

Unable to generate .AAS file for ported Q3A map

Post by Rassilius »

Heyo, I just registered here so apologies if I do anything wrong.
I've been trying to generate an .AAS file for the Simpsons map from Quake 3 [ http://lvlworld.com/review/The%20Simpsons%20Map ], I've tried several times, but never actually got an .AAS file.
I'm using BSPC 2.1i, the one with higher limits, yet it seems to still exceed the limits, I would love to get some help on this.
Here's the error I keep getting:
MAX_MAPFILE_PLANES

It also keeps spewing out this:
WARNING: CM_AddFacetBevels... invalid bevel
sst13
Posts: 298
Joined: Mon Feb 15, 2010 11:05 pm

Re: Unable to generate .AAS file for ported Q3A map

Post by sst13 »

The original Simpsons Map AAS was made from a special "bot version" of the map. A map with exact the same layout but with no details at all, to keep the geometry & data as small as possible. Later this AAS was reattached to the original BSP using this method: http://www.quake3world.com/forum/viewtopic.php?t=31963

You should ask Maggu (Maggumaster) for this special "bot version".
Once you got it, I can help you with the special compile process.
[url=https://sst13.de]Q3A Maps - by sst13[/url]
[url=https://steamcommunity.com/id/_sst13_/myworkshopfiles]Quake Live Workshop[/url]
User avatar
CZghost
Posts: 1943
Joined: Wed Jun 22, 2011 1:45 pm
Location: Czechia
Contact:

Re: Unable to generate .AAS file for ported Q3A map

Post by CZghost »

Can I just ask why you try to re-compile AAS for Simpsons Map? I didn't notice any flaws in bots navigation back in time when I played the map. What do you want to change in the map for bot routes?
[ Linktree | Twitch | YouTube | Instagram | Websites ]
When you feel the worst, turn to the sun and all the shadows will fall behind you.” - John Lennon
Rassilius
Posts: 5
Joined: Sun Feb 26, 2017 8:39 pm

Re: Unable to generate .AAS file for ported Q3A map

Post by Rassilius »

Trying to port it to Quake Live, now, porting the map itself isn't the problem, but since I have to generate a new .AAS for the ported map to recognize it, I'm trying to do just that.
User avatar
CZghost
Posts: 1943
Joined: Wed Jun 22, 2011 1:45 pm
Location: Czechia
Contact:

Re: Unable to generate .AAS file for ported Q3A map

Post by CZghost »

Also make sure to ask Magul for permission if you want to make it public. Then you will need to include proper credit for Magul as map author, you only did a conversion. Good point is to make the map conversion have two authors: original Magul and yourself as the other guy who helped it reach Quake Live. Also be sure to actually convert the BSP from v46 to v47 using q3map2 -convert -game quakelive command. From that one you should then make an AAS file (or make QL compatible map for bots only and then only reattach it to the original one using technique described beyond). Remeber you have to own rights or permission to upload maps to Workshop.
[ Linktree | Twitch | YouTube | Instagram | Websites ]
When you feel the worst, turn to the sun and all the shadows will fall behind you.” - John Lennon
User avatar
Hipshot
Posts: 1547
Joined: Sun Jan 20, 2002 8:00 am

Re: Unable to generate .AAS file for ported Q3A map

Post by Hipshot »

I after some time spent managed to solve my porting issues. You can read more here... viewtopic.php?f=10&t=51522

Pretty much all the help I can give...
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Unable to generate .AAS file for ported Q3A map

Post by obsidian »

Hipshot (or anyone else), any details on the conditions on which BSPC fails to generate an AAS for Quake Live? If this is a bug, I'll need some way of reproducing it in order to get someone to fixing the problem.

Make sure you are using the latest GtkRadiant, an update was released on Feb 25, 2017. Link in the GtkRadiant thread.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Rassilius
Posts: 5
Joined: Sun Feb 26, 2017 8:39 pm

Re: Unable to generate .AAS file for ported Q3A map

Post by Rassilius »

Tried Hipshot's thing with the newest GtkRadiant, got the .AAS file to load on the map, so I made progress.
However, while bots do spawn, they don't really seem to do anything? I tried CTF and FFA.
In CTF I get this message when I spawn a bot: "Warning: no alt routes without Neutral Flag"

In FFA I get this. (Only if I'm in sight of a bot, as soon as I leave their line of sight they forget about me)
"Fatal: Error: Anarki at 8.9 switched more than 50 AI nodes"

Any help?

Also, obsidian, BSPC doesn't fail to generate an AAS for Quake Live usually, this map is the only one I've had any issues with.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Unable to generate .AAS file for ported Q3A map

Post by obsidian »

Try compiling AAS with -forcesidesvisible, if you aren't already.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Rassilius
Posts: 5
Joined: Sun Feb 26, 2017 8:39 pm

Re: Unable to generate .AAS file for ported Q3A map

Post by Rassilius »

Can't exactly compile one, the only command I can successfully use is -reach, if I try to use -bsp2aas it'll give me the "MAX_MAPFILE_PLANES" message without giving me an AAS, I've only been trying to get the old .AAS to work with the ported version.
Would a "limitless" BSPC.exe be a possibility?
Johnny Law
Posts: 179
Joined: Tue Nov 16, 1999 8:00 am

Re: Unable to generate .AAS file for ported Q3A map

Post by Johnny Law »

Rassilius wrote:In CTF I get this message when I spawn a bot: "Warning: no alt routes without Neutral Flag"
FWIW, this particular warning is not an AAS-generation issue. I can talk a little bit about what this means in Quake 3 (IIRC), and probably the Quake Live bot AI is similar.

(cf. https://github.com/id-Software/Quake-II ... /ai_dmq3.c if you're curious about the code that prints that message)

The bot AI in the final version of Q3 (after the release of Team Arena) likes to know where the neutral-flag entity is, when in the CTF gametype. Even though the CTF gametype doesn't spawn that entity! This is because the bot AI assumes that the map designer put the neutral flag in an interesting central part of the map that the main routes go through, therefore it can leverage that knowledge to figure out what sorts of routes could be best to take between the bases.

So in a CTF map it's good to put a neutral flag in the central map area, even if you don't intend to support 1-flag CTF.

(Similarly in the Overload gametype in Team Arena, the bots like to know where the Harvester goal entity is.)

It's not a fatal error though, it just means that the bots are not quite as smart if the map doesn't contain that entity.
Rassilius
Posts: 5
Joined: Sun Feb 26, 2017 8:39 pm

Re: Unable to generate .AAS file for ported Q3A map

Post by Rassilius »

Ooh, interesting stuff!
Maybe I'll look into adding that entity, then, no guarantees.
coltonquake3
Posts: 199
Joined: Sun Dec 06, 2015 3:38 am

Re: Unable to generate .AAS file for ported Q3A map

Post by coltonquake3 »

Best to use bspc 2.1i, as it has larger limits & was apparently quite famous around here at some point...
Post Reply