vfig on 22/3/2018 at 14:35
So, I've been following the (
https://nickdablin.wordpress.com/2014/01/13/absolute-beginners-guide-to-creating-a-thief-2-mission-part-one/) Absolute Beginner's Guide to try and learn to use DromEd, with a view to making something (terrible) for the 20th anniversary contest. I'm diverting a little from the script in that I'm using Thief Gold (GOG release, NewDark 1.25, with Dromed Basic 1.14) instead of Thief 2.
Following the steps in that tutorial and the values given in NewDark modders_notes.txt, I changed dark.cfg to have
obj_max 8192 instead of the default 2048. When I enter game mode, as soon as I try to jump I get an assertion failure saying
gMaxObjID < MAX_PHYSCAST_OBJIDS (File: PHYSCAST.CPP, Line: 609). If I delete the mission, change dark.cfg back to max_obj 2048, then recreate the mission and try again, this doesn't happen. Evidently there's still somewhere (DromEd? Thief?) where there's a different limit on the max object ids. Maybe the 8192 limit is T2 only?
Can anyone tell me what the highest value I can actually set max_obj to for TG?
Unna Oertdottir on 22/3/2018 at 14:57
You need to change other values, too.
This should work
; object counts
obj_min -18192
obj_max 8192 8184
max_refs 47740
Yandros on 22/3/2018 at 15:20
Yeah specifically you need to up max_refs also. We just set it at around 40k for Godbreaker instead of bumping it up a thousand or two every time we hit the limit.
vfig on 22/3/2018 at 19:06
Ah, that explains it. Thanks very much!
vfig on 3/4/2018 at 18:39
Hmm, I'm still getting assertion errors all the time. In dark.cfg I have:
Code:
; object counts
obj_min -18192
obj_max 8192
max_refs 47740
I've got a few rooms blocked out, and I'm trying to add a chandelier to one. When I do, I get the error:
Code:
Assertion Failed
gMaxObjID < HACK_MAX_OBJ (File: OBJLIGHT.C, Line: 365)
I just restarted DromEd and in the default new level (in case I'd messed anything up in my other level), tried to add a chandelier, and got the same error again.
Any idea what I'm doing wrong this time?
Unna Oertdottir on 3/4/2018 at 18:47
Type "info_window" in the DromEd console. Post the data.
vfig on 3/4/2018 at 19:30
First, a minor correction to my post above: the error is shown when I portalize after adding the chandelier, not immediately upon adding it.
info_window shows:
Code:
Brush counts:
1 Terrain, 1 Object
0 Light, 0 Room
0 Flow, 0 Area - 0 active
Object IDs:
2 used, 8189 free (of max 8191)
Created by ... etc. etc.
Unna Oertdottir on 3/4/2018 at 19:44
Is this a custom object?
Whatever, restart DromEd/ reboot the PC, sometimes this helps.
vfig on 3/4/2018 at 20:09
No, this is just the stock chandelier (-53) in Thief Gold. Reboot + restart doesn't help.
...
While trying to work out might be going wrong, I did notice that DromEd has the Thief 2 icon—does Thief Gold need a different version of DromEd than Thief 2? I followed the (
http://www.ttlg.com/forums/showthread.php?t=148475&p=2381857&viewfull=1#post2381857) install instructions here , and noticed that NewDark 1.25 is only Thief 2? Is my problem perhaps that I'm trying to use the NewDark 1.25 DromEd with Thief Gold?
Unna Oertdottir on 3/4/2018 at 20:15
In NewDark, DromEd is the same in T1/TG/T2. Be sure you're using dark.gam for TG.