USDF branch question

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.

Re: USDF branch question

Postby Ceeb » Sat Aug 21, 2010 6:31 pm

That code looks just fine to me. I think G/ZDoom may still require compilation... Either way, if we're this close to full USDF support, sweet. Thankfully my one USDF-heavy project isn't far along in that sense.
User avatar
Ceeb
Official Idoit Of ZDoom
Banned User
 
Joined: 11 Jun 2008
Location: Castle Wut

Re: USDF branch question

Postby Nash » Sat Aug 21, 2010 6:36 pm

http://zdoom.org/svnview/2561/zdoom/tru ... p_usdf.cpp

This appears to be the UDSF parser. I'm seeing some "to do" comments here and there so I take it the parser isn't really ready yet?
User avatar
Nash
AKA Nash Muhandes! Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: USDF branch question

Postby Ceeb » Sat Aug 21, 2010 6:44 pm

Have you seen "USDF parser added" in the changelogs?
User avatar
Ceeb
Official Idoit Of ZDoom
Banned User
 
Joined: 11 Jun 2008
Location: Castle Wut

Re: USDF branch question

Postby Gez » Sat Aug 21, 2010 6:59 pm

Yeah, you're not supposed to compile USDF lumps that are in the ZDoom namespace. In fact, you couldn't if you tried. (For the Strife namespace, you may compile them or not, as you wish.)

And the USDF parser IS in. If you want to see that in changelog form, look at all the [usdf branch] one, and then look at the one that says the USDF branch has been merged in the trunk.
Gez
 
 
 
Joined: 06 Jul 2007

Re: USDF branch question

Postby Nash » Sat Aug 21, 2010 7:09 pm

I've setup my USDF lump to be in the ZDoom namespace, created a lump named DIALOGUE and put it just before ENDMAP for MAP01. I wonder what have I done wrong?

(Attachment is in Page 1) new attachment added on page 2
Last edited by Nash on Sun Aug 22, 2010 10:50 am, edited 1 time in total.
User avatar
Nash
AKA Nash Muhandes! Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: USDF branch question

Postby Shadelight » Sat Aug 21, 2010 10:14 pm

CodeImp wrote:I think I'm going to make a plugin for DB to support this as soon as ZDoom has this. Maybe even sooner :P

That would be really awesome. :o
User avatar
Shadelight
You must construct additional lumber.
 
Joined: 20 May 2005
Location: Labrynna
Discord: Shadelight#4920

Re: USDF branch question

Postby Blzut3 » Sun Aug 22, 2010 12:24 am

I think in the ZDoom namespace it's supposed to read: actor = "RandomZombieDude";
Edit:
Gez wrote:(For the Strife namespace, you may compile them or not, as you wish.)

Even the Strife namespace is more feature filled than the binary format. USDC only compiles them to the best of it's ability (so there are missing properties and additional limits). If you are using Strife dialogs in a mod for ZDoom r2561 or later, you should always used the uncompiled form.
Last edited by Blzut3 on Sun Aug 22, 2010 12:26 am, edited 2 times in total.
Blzut3
Pronounced: B-l-zut
 
 
 
Joined: 24 Nov 2004
Github ID: Blzut3
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: USDF branch question

Postby Graf Zahl » Sun Aug 22, 2010 12:25 am

Yes. However, since the naming of actors is the only difference at the moment, it's entirely up to the modder which one to prefer. The feature set of both namespaces is identical.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: USDF branch question

Postby CodeImp » Sun Aug 22, 2010 12:46 am

Eh wow, thats a big violation of the USDF specs! That is not USDF then. Now that I carefully read the ZDoom extension, I see what it is doing and I wouldn't dare to call that an extension, that's just a different format, because it changes the 'actor' field from integer to string and also changes it's purpose. It would be better to just add a new field 'actorclass' for this purpose instead. Now I can't make a proper USDF plugin that writes proper USDF, but have to make a specialized one for ZDoom. So much for standards :(
User avatar
CodeImp
 
Joined: 28 Dec 2003
Location: Netherlands

Re: USDF branch question

Postby Nash » Sun Aug 22, 2010 3:09 am

I changed the actor to a string in the ZDoom namespace conversation but it still isn't working! :( Now what?

It says

Script Error, MAP01, Line 1:
Map does not define a namespace.

EDIT: Am I right in saying that for ZDoom namespace conversations, the ConversationID actor property isn't really needed and it's okay for me to leave it out when defining my actor?
You do not have the required permissions to view the files attached to this post.
User avatar
Nash
AKA Nash Muhandes! Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: USDF branch question

Postby Nash » Sun Aug 22, 2010 10:48 am

If there are no responses, I take it that this feature is not working or is a bug?
User avatar
Nash
AKA Nash Muhandes! Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: USDF branch question

Postby Graf Zahl » Sun Aug 22, 2010 11:21 am

Not checked yet. When I tested it it was working.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: USDF branch question

Postby Graf Zahl » Sun Aug 22, 2010 11:26 am

Ok, small oversight that was only triggered with UDMF maps that embedded a dialogue. Fix committed.

BTW, the most recent revisions allow assigning dialogues per actor in the UDMF map data in addition to class-based dialogues as was the only option until now.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: USDF branch question

Postby Nash » Sun Aug 22, 2010 11:35 am

Good to know. I was going crazy as to why it wasn't working when I clearly followed all instructions.

Things that I still need clarification on:

1) Am I right in saying that for ZDoom namespace conversations, the ConversationID actor property isn't really needed and it's okay for me to leave it out when defining my actor?

2) graf * r2567 /zdoom/trunk/ (5 files in 2 dirs): - added UMDF property to assign conversation dialogues to mapthings. - does this mean the actor field in a USDF conversation can be totally left out and optionally set in the map editor instead?
User avatar
Nash
AKA Nash Muhandes! Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: USDF branch question

Postby Graf Zahl » Sun Aug 22, 2010 11:45 am

Nash wrote:Good to know. I was going crazy as to why it wasn't working when I clearly followed all instructions.

Things that I still need clarification on:

1) Am I right in saying that for ZDoom namespace conversations, the ConversationID actor property isn't really needed and it's okay for me to leave it out when defining my actor?


Yes. The actor's conversation ID is not needed for this anymore.

Nash wrote:2) graf * r2567 /zdoom/trunk/ (5 files in 2 dirs): - added UMDF property to assign conversation dialogues to mapthings. - does this mean the actor field in a USDF conversation can be totally left out and optionally set in the map editor instead?


The dialogue would need an ID for that, of course, but yes.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

PreviousNext

Return to Editing (Archive)

Who is online

Users browsing this forum: No registered users and 0 guests