#18679 posted by ericw on 2017/07/17 01:58:42
Try func_wall with the key "_shadow" "1" set, and no world brush inside.
Alternatively, try updating to the beta version of my tools: https://github.com/ericwa/tyrutils-ericw/releases
with either the original setup (world brush) or func_wall.
Resolved
#18680 posted by Redfield on 2017/07/17 02:31:14
Changing to a func_wall with shadows enabled has cleared up this mess! The light now spreads around the torch holder evenly and it is shadowed under. I guess this has something to do with splitting the geometry? It was a func_detail before.
Thanks again ericw, and I guess I can start compiling with the new tools and see what they are like.
Redfield
#18681 posted by Mugwump on 2017/07/17 02:48:36
Geesh, what I would give for real-time, dynamic lighting.
Good to see that you've resolved the issue but when you release your map, you could provide a .rtlights file for DP users. AD can run in DP.
I Have Been On Mars...
#18682 posted by Redfield on 2017/07/17 02:55:30
In a cave, with my head in the sand, apparently. I had given up Darkplaces as completely dead years ago. No wonder I had no idea what Qmaster was talking about.
I thought Quakespasm was the only engine that could reliably run AD. Well, in this case I can look into making an .rtlights file.
Heh! Well,
#18683 posted by Mugwump on 2017/07/17 04:21:49
to be fair, new DP builds aren't exactly well avertised. Even the engine's homepage shows an old 2014 build as the latest. One has to go to the /files/ subsection to find the new builds - ironically enough, on the main page this subsection is presented as a repository for old versions... Go figure. It's almost like LordHavoc doesn’t want us to use his engine!
RTlights Editor
#18684 posted by Mugwump on 2017/07/17 08:08:21
I have dug this out of my HDD. I haven't tried it yet but it's supposedly better than DP's built-in editor. You might find it handy. No idea who the author is and not exactly sure how to install it, the archive lacks any readme.
Looks Complicated.
#18685 posted by Redfield on 2017/07/17 12:41:39
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,
#18686 posted by Mugwump on 2017/07/17 13:01:21
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?
#18687 posted by Spike on 2017/07/17 16:47:08
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?
#18690 posted by brassbite on 2017/07/18 15:14:13
Signon Buffer
#18691 posted by negke on 2017/07/18 17:55:59
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?
#18692 posted by Baker on 2017/07/18 18:26:39
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
#18693 posted by ericw on 2017/07/18 19:33:04
- 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
#18694 posted by Spike on 2017/07/19 08:06:01
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
#18695 posted by negke on 2017/07/19 09:36:30
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.
#18696 posted by negke on 2017/07/19 11:46:50
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.
#18697 posted by Baker on 2017/07/19 14:22:46
Static entities count too. Torches, etc.
Static entities do not reflect in the edict count but are part of the sign-on.
#18698 posted by ericw on 2017/07/19 19:23:15
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
#18700 posted by Qmaster on 2017/07/19 22:20:36
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.
|