News | Forum | People | FAQ | Links | Search | Register | Log in
Mapping Help
This is the place to ask about mapping problems, techniques, and bug fixing, and pretty much anything else you want to do in the level editor.

For questions about coding, check out the Coding Help thread: https://www.celephais.net/board/view_thread.php?id=60097
First | Previous | Next | Last
Looks Complicated. 
I didn't think implementing Rtlights would be so confusing. Seems one has to do it within the Darkplaces game engine itself? This editor here seems to be nothing more than a progs file, so some kind of mod to run while editing the map in-game?

I can't promise I will be able to make Rtlights file with my map, but I will release the .map file when I am done so someone else can do it. I love the work all these creators have put into their respective engines, but trying to make a single map work a dozen or so engines seems counter-intuitive. 
More Tedious Than Complicated, Really, 
as you have to manually edit each light. Possible workaround: I might be wrong but I think EricW's tyrutils can output .rtlights files. Can someone else confirm this? 
 
placement of rtlights is often dependent upon performance rather than merely compile times, as such its generally best to place them inside the same program that will have the performance issues so you can easily see when you've overdone it.

tyrutils-ericw does NOT have support for .rtlights files, rather the engine tries to generate rtlights automatically from the ent lump. This is of course more limited and kinda fuzzy as its trying to support maps that were made without realtime lights in mind.
This also means it doesn't understand surface lights, etc.

the easy way to deal with rtlights is to just ask people to disable r_shadow_realtime_world and let someone else place the fancy lights if they really want them... DP users should be used to that by now, at least for the recent/complex maps. 
18688 & 18689 Are Art Or Spam? 
 
Signon Buffer 
This map here exceeds the signon buffer which causes old clients to crash. It says "allowoverflow not set", so I take it there's away to work around this? What's the commandline? 
 
You would have to get rid of entities in the map.

No other way.

For instance, it may be possible that your current map may work with "skill 0" (easy) but with hard. 
Aside From Deleting Entities 
- delay spawn stuff (custom QC only?)
- if you have any func_wall or func_illusionary that are not doing anything dynamic, replace them with func_detail_wall or func_detail_illusionary from my beta compiler (but iirc you had a problem with higher clipnodes in my qbsp) 
#18691 
some engines support bigger/more-precise coords (obviously not vanilla). for those engines you can reduce the signon size by switching from protocol 999 back to 666, or dpp7 back to 15 (iirc dp's bjp3 support is too buggy to be practical).

and if all of the above fails, use QSS or FTE as a server, these two engines both sidestep the signon buffer for almost everything so its max size isn't relevant. you can then connect to said server with your old client. not a great workaround, but hey. 
Rather Odd 
The map has a lot of entities, but I'd think not more than other maps I've made. It's under 600 edicts. I'd need to remove enough to lower the buffer by roughly 700 bytes, which doesn't seem possible without considerable sacrifices.

As for turning func_walls into func_detail, I already did this where possible. Originally I had made them func_walls in order to lower marksurfaces which I've exceeded as well. I know it can be exceeded somewhat without obvious consequences - question is just how much? The switch made the number go from around 700 to 2000 over the limit, but the map still loads in old Winquake and Glquake. What are the risks here, what is marksurfaces for anyway? In the sense that how clipnodes can be exeeded also, except the repercussions show quickly with broken clipping on entities and geometry. 
 
I removed some more func entities and the buffer size went down only marginally. There must be something else going on here, entity count alone cannot the only reason. 
 
Static entities count too. Torches, etc.

Static entities do not reflect in the edict count but are part of the sign-on. 
 
what is marksurfaces for anyway?
Marksurfaces are a list of the faces touching each BSP leaf. They're used in rendering; when the engine decides a leaf should be visible, it looks at that leaf's marksurfaces to figure out what faces need to be drawn.

At a quick look at the winquake source code, there is no limit on marksurfaces beyond BSP format (65536) and heap size. 
Setting Up J.A.C.K. Editor 
If I'm setting up Jackhammer for mapping in Q1, but am using the Quakespasm engine, do I change the destination files to those of Quakespasm? 
Engine Shouldn't Matter 
Treat it like any normal JACK/Worldcraft setup. What is your current issue? 
 
I get this error EVERY time I try compiling a map.


** Executing...
** Command: Change Directory
** Parameters: C:/Program Files (x86)/Steam/steamapps/common/Quake/Id1


** Executing...
** Command: Copy File
** Source: C:\Program Files (x86)\Steam\steamapps\common\Quake\Id1\maps.map
** Destination: \maps.map

* Could not copy the file:
Source: C:\Program Files (x86)\Steam\steamapps\common\Quake\Id1\maps.map
Destination: \maps.map
* Windows gave the error message:
"Access is denied." 
 
Now it's this:

** Parameters: C:/Users/thepa/Desktop/quake/quakespasm-0.92.1_win64/Id1


** Executing...
** Command: C:/Program Files (x86)/Steam/steamapps/common/JACK/quake/qbsp.exe
** Parameters: "C:\Users\thepa\Desktop\quake\quakespasm-0.92.1_win64\Id1\maps\maps"
---- qbsp / TyrUtils ericw-v0.15.9 ----
Input file: C:\Users\thepa\Desktop\quake\quakespasm-0.92.map
Output file: C:\Users\thepa\Desktop\quake\quakespasm-0.92.bsp

---- LoadMapFile ----
************ ERROR ************
Failed to open C:\Users\thepa\Desktop\quake\quakespasm-0.92.map: No such file or directory


** Executing...
** Command: C:/Program Files (x86)/Steam/steamapps/common/JACK/quake/vis.exe
** Parameters: "C:\Users\thepa\Desktop\quake\quakespasm-0.92.1_win64\Id1\maps\maps"
---- vis / TyrUtils ericw-v0.15.9 ----
running with 4 threads
testlevel = 4
LoadBSPFile: 'C:\Users\thepa\Desktop\quake\quakespasm-0.92'
************ ERROR ************
Error opening C:\Users\thepa\Desktop\quake\quakespasm-0.92: No such file or directory


** Executing...
** Command: C:/Program Files (x86)/Steam/steamapps/common/JACK/quake/light.exe
** Parameters: -extra "C:\Users\thepa\Desktop\quake\quakespasm-0.92.1_win64\Id1\maps\maps"
---- light / TyrUtils ericw-v0.15.9 ----
extra 2x2 sampling enabled
Raytracing backend: Embree
running with 4 threads
LoadBSPFile: 'C:\Users\thepa\Desktop\quake\quakespasm-0.bsp'
************ ERROR ************
Error opening C:\Users\thepa\Desktop\quake\quakespasm-0.bsp: No such file or directory 
 
It's like it's negating the name I'm giving the file to begin with. 
#18703 
I think this is what is wrong BUT I don't use JACK too much so maybe some of the more experienced users can chime in:

It looks like you put Quake on your desktop then a folder called quakespasm-0.92.1_win64 inside your quake directory and pointed JACK to that as your game directory. From there JACK is totally confused. You should have extracted the contents of the Quakespasm zip to Quake itself. here's what a normal install would contain as far as folders:

C:\Quake
C:\Quake\id1
C:\Quake\id1\maps - this is where all your custom map/bsp should be

Inside Quake folder you would normally should see: quake.exe, quakespasm.exe and a bunch of DLL files (maybe not if those are hidden, just depends)

Quake itself is pretty small. You should make things simpler by making a new Quake directory:

1) Make a folder called Quake on your C:\ drive as seen above. 2) Then under that a folder called id1 - 3) now go find 2 files pak0.pak and pak1.pak in that other messy Quake folder. 4) Copy or move them to id1. 5) Then under id1 make a maps folder. 6) Next extract Quakespasm zip to your Quake folder -- NOWHERE ELSE . Now you have everything but your map. --- 7) copy your map from the messy folder to C:\Quake\id1\maps 8) run JACK and (this is where I am fuzzy) point JACK to the new Quake folders as needed. Yes Quakespasm is your game engine to play Quake but it's best to put it in the Quake directory. 
 
I figured this was all a matter of me setting up file destinations incorrectly. I'm use to mapping for HL1.

THANK YOU! 
Ya 
Don't use "Program Files", compilers don't like spaces. And windows doesnt like you to move files around in it without UAC permission (Goram microsoft).

Dangit, dumptruck beat me to it was typing basically the same thing earlier before I lost internet. 
Signon Buffer 
It appears the reason it's so high in my case is not an excessive entity count - most of my other maps have more of everything, except for one thing: in addition to maxing out the number of static entities (=flames), this map has large number of entities that display light globes or torches while acting as relay triggers. I thought this wouldn't have an impact other than producing edicts, but it seems is does. Without the visual aspect, they take up less buffer space.

Since I feel like the map can't be optimized further, I think the only way to manage this (apart from removing stuff) would be delaying their spawning somewhow as ericw suggested. Question is how - and whether it's possible to ID1 in the first place. Regular think/nextthink variations on info_notnull don't seem to do the trick.
Preach, do you have an idea?

Marksurfaces: Why have we (I) been so strict about the 32767 limit then, anyway? Obviously, old DOS quake.exe has been irrelevant for the longest time, and if a map runs on the oldest ports, it's fairly safe to assume it'll run anywhere else. I'd just like to avoid creating a potential compatibility issue that only comes to light afterwards. 
Don't Take My Word On It... 
Wouldn't any excessively high marksurfaces count above the stock Quake limit be a good indication that you are exceeding the amount of polygons that can be rendered and thus will experience greyflash?

When I first compiled my map with over 40 000 marksurfaces count, it would run in WinQuake but large amounts of the level were not rendered on screen. I simplified geometry to be way under around 25 000 marsurfaces and the grey flash was gone. But, I also reduced r_surfs and r_edges in the process. So this may have nothing to do with it.

I know that Than has made several maps (ie. dm7rmx) that are supposedly within stock Quakes limits, but suffer from immense greyflash and thus cannot be played in Win/DOS Quake. 
Negke 
I've always been of the opinion that if the limits no longer serve to spur your creativity but intead require you to delete detail or redo logic, then you should simply ignore them and require an engine with increased limits.

FWIW,
-Qmaster 
2 posts not shown on this page because they were spam
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.