Aller au contenu

Photo

How do you have two different versions of a NPC conversation file?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
JackFuzz

JackFuzz
  • Members
  • 408 messages
How do you have two different versions of a NPCs DLG conversation file?

I tried saving as another file but it gave all the lines new dialogue IDs rendering the entire conversation useless.

I want to help someone else with their project and I want to send them Alistairs Conversation file but I've already modified his in my own way.  I want to simple restore the original conversation into another file but preserve the dialogue ids.  

Modifié par JackFuzz, 31 janvier 2010 - 04:40 .


#2
JackFuzz

JackFuzz
  • Members
  • 408 messages
Bump.

I'm thinking the resource history is the way to accomplish this.

1. Checkout resource history #2 for a conversation file, which is the original untouched conversation file.

2. Make your changes, save & checkin and give it a unique name.

3. Then you can revert back to your other version, modify that one, save and checkin.

Now you have two versions in the resource history.

But is this the right way to do it?

#3
Avaraen

Avaraen
  • Members
  • 342 messages
That's the only way I know of to do it; the only alternative I know of is using multiple b2b's, but that's a rather clunky method. I've been using resource history with a mod version as a comment, to be able to swap between files for different mods. So far, it seems to work fine; it's a shame there doesn't seem to be a way to have a sub-module that uses the single player resources, without also modifying the single player resources when changes are made in the sub-module.



Hmm, thinking about it though, I wonder if you could do a b2b of the single player resource file you want to use (alistair_main.dlg for your current example), then make a new module that doesn't reference single player in the module heirarchy, import your b2b and basically have an independent module that has a copy of the vanilla files while maintaining the original line IDs. Just a WAG, I haven't tried doing anything like that myself yet.