Sarge
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Doom Builder > Vanilla Hexen problem with DB2
 
Author
All times are GMT. The time now is 17:04. Post New Thread    Post A Reply
kristus
Megablast!


Posts: 10566
Registered: 07-00


Spotted a small problem with making Vanilla Hexen maps with DB2. (It's possible this is why the maps I made didn't run in the Doomsday version I tested them in as well)

When DB2 makes a new Hexen map it doesn't add any info to the Behavior lump making it completely empty. This is something Vanilla Hexen absolutely hates and will crash violently when you try to run your map.

Old Post 03-16-10 09:31 #
kristus is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3612
Registered: 05-00


Well, what does it have to contain at the very least?

Old Post 03-16-10 17:42 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
andrewj
Senior Member


Posts: 1606
Registered: 04-02



boris said:
Well, what does it have to contain at the very least?

In OBLIGE I use this structure:
code:
typedef struct { char marker[4]; // 'ACS' 0 u32_t offset; u32_t func_num; u32_t str_num; } raw_behavior_header_t;

and set the marker as shown, the offset to 8, and the function and string counts to 0. That worked for me.

Old Post 03-17-10 01:43 #
andrewj is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
kristus
Megablast!


Posts: 10566
Registered: 07-00


In addition to this...
Is there any way to actually script for Hexen with DB2?

Currently I have to compile the scripts externally with ACC and manually move them into the map using XWE. Pain in the ass

Is it possible to set DB2 up to use ACC with specific commands similar to how you can the nodebuilders? And if not, why not?

Old Post 05-02-10 21:20 #
kristus is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1501
Registered: 12-03


Yes and a No but simultaneously a small Yes.

Yes you can script and compile using ACC. Look for the Script Editor in the menus if you don't know the shortcut key. The script editor has a compile button you can use (but I believe uncompiled scripts are also automatically compiled when you save your map).

No, you don't need to set anything up through the user interface, because ACC doesn't have any interesting switches any normal user would care for. But also Yes; you can change anything like this using configurations. If you really need that, I can explain how.

Old Post 05-03-10 12:43 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 10691
Registered: 07-07



CodeImp said:
No, you don't need to set anything up through the user interface, because ACC doesn't have any interesting switches any normal user would care for.

I can think of one: -h.

Also, I tried to make a small Hexen map (using the Hexen config that came with DB2) and tried to compile a script that consisted entirely of #include "common.acs". It failed, as the compiler did not find common.acs. Changing it to zcommon.acs worked, though. Conclusion: even with the Hexen config, it uses the ZDoom compiler.

Also also, there is no Vavoom ACC. I know Vavoom has its own vcommon.acs file.

Old Post 05-03-10 12:58 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1501
Registered: 12-03


Hmm, that should work though. There is especially a legacy Hexen compiler coming with DB2 for this purpose (see subdirectories). I don't know why it's using the ZDoom one. Crap.

Old Post 05-03-10 22:55 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3612
Registered: 05-00



CodeImp said:
Hmm, that should work though. There is especially a legacy Hexen compiler coming with DB2 for this purpose (see subdirectories). I don't know why it's using the ZDoom one. Crap.

There's no Hexen_ACS.cfg in the Scripting folder and the compiler config to use for Hexen points to ZDoom_ACS.cfg (loaded from Include\Doom_misc.cfg).

Old Post 05-04-10 16:50 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
kristus
Megablast!


Posts: 10566
Registered: 07-00


So, something that will be fixed in the next release?
I probably could figure out how to set it up myself. But if it'll be fixed for the next version of DB2, then I might do better to just wait for that.

Old Post 05-05-10 15:41 #
kristus is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3612
Registered: 05-00


Figure it out yourself and submit it as a fix :P

Old Post 05-05-10 16:50 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 17:04. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Doom Builder > Vanilla Hexen problem with DB2

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Message Board Statistics