PlanetVampire.com Forum

Vampire the Masquerade: Bloodlines => Bloodlines Modding => Topic started by: NateHevens on October 03, 2019, 04:25:30 PM

Title: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 03, 2019, 04:25:30 PM
Here's a weird question...

Is it possible to copy/paste a scene/dlgs from one mod to another one? (Note: I play through GOG and have several different mods)

I'm not talking about a scene that involves any new characters. To keep it "simple", let's say it's an extension of a scene already existing in the game overall, and involves only the PC and one NPC. Basically I want to copy/paste a scene extension from one mod to another, with as little of a break as possible...

Is this even possible?
Title: Re: Copy a Scene from One Mod to Another?
Post by: argikt on October 03, 2019, 05:31:36 PM
Yes short awnser is yes, is possible

The "real" awnser is no. Too much work for a little payback.
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 03, 2019, 05:33:19 PM
How much work? What would have to happen?
Title: Re: Copy a Scene from One Mod to Another?
Post by: argikt on October 03, 2019, 05:54:13 PM
It depends of the scene. you must insert your copy-paste scene into the map, and it this scene has scripts, change the python file too.

What are you thinking of?
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 03, 2019, 07:30:10 PM
I'm at a hospital right now, but I'll let you know when I get home later.
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 04, 2019, 12:04:22 AM
It depends of the scene. you must insert your copy-paste scene into the map, and it this scene has scripts, change the python file too.

What are you thinking of?

I sent you a message...
Title: Re: Copy a Scene from One Mod to Another?
Post by: Malkav on October 04, 2019, 01:21:40 PM
Why not post it here? Then other people can help as well.
Title: Re: Copy a Scene from One Mod to Another?
Post by: argikt on October 04, 2019, 02:13:00 PM
Why not post it here? Then other people can help as well.

He wants to add the VV lapdance. I checked the VV dlg file and the line that calls the scene is 999. (called from line 755). I decompiled the vesuvius map and I didn't see anything python related.
I didn't test it, but I think it could work just copying the map and the dlg on UP.
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 04, 2019, 03:27:32 PM
Why not post it here? Then other people can help as well.

Because I was already messaging argikt. I don't have a very good reason, honestly. We had already been messaging about other stuff so I just included it there.

But yeah... what argikt said is the one I mentioned. Now I know how to do it, I just need to know how to compile maps incase I want to do it with something else.
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 06, 2019, 08:57:08 PM
Why not post it here? Then other people can help as well.

He wants to add the VV lapdance. I checked the VV dlg file and the line that calls the scene is 999. (called from line 755). I decompiled the vesuvius map and I didn't see anything python related.
I didn't test it, but I think it could work just copying the map and the dlg on UP.

Hey so so far I had the issue of Kalliyan. I'm not sure if it's because I just jumped to Hollywood without playing through the game, but Kalliyan from Clan Quest was just standing at the inside entrance to Vesuvius. I didn't know it was her at first... there was a block with a notice of a missing file and it said which file. So I copied over all the missing character models and that's how I realized that it was her.

Somehow I need to remove her from the map but I have zero clue how to do that. Can you or someone walk me through that process?

Another thing I realized is that there's two VVs... the main one and then a second one specifically for the lap dance. I have to copy over all the VV models and materials. Are the animations in the map itself or will I have to copy those over as well?

So far, for anyone reading, the generic process is first copy over the relevant DLG(s). Then you want to decompile and check the relevant maps. Unfortunately I don't actually know how to do this with the given Bloodlines SDK tools... I have to learn. After that, you'll need to play through the game to figure out what else is missing. If you want to skip through to the map where the scene you copied over is, you need to use the relevant codes.

I know the code to teleport to Hollywood, but I do not know that code to add it to the taxi map...
Title: Re: Copy a Scene from One Mod to Another?
Post by: argikt on October 07, 2019, 09:07:49 AM
The code for the taxi is:
G.Hollywood_Open = 1

I think that the process of integrate it will be harder that you expect. Because if you want to hide the VV model for the lapdance and unhide for do it, etc... will be a more complicate process than copy-paste.

:(
Title: Re: Copy a Scene from One Mod to Another?
Post by: Malkav on October 07, 2019, 10:18:36 AM
For the stuff you intend to do I wouldn't decompile the map. I'd use vpk-tools or VTMBEdit to extract the entity list and edit that.
For hiding and unhiding the different versions you probably find functions in the python scripts. In cqm you may have to check different python files.
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 07, 2019, 02:19:06 PM
I'd love to give that a shot, but I would very much need some hand-holding, or at least a For-Dummies-Style walkthrough...

argikt and I both looked through the two Vesuvius python files, but they *look* identical, at least, to my "I've never seen a Python script until I started looking through the back-end of this game" eyes. I'm not 100% sure where to go from here...

(FTR... I do sort of understand how to read the script... my brother's a software engineer and he has worked with Python in the past. Plus he's in the middle of building his own video game for fun with some friends, so he's helped me navigate it. But he's never played VTMB. I have a program that I use to read the script. What I need help with is doing the things to make it work. The basic script itself I understand...)

So here will be my first two questions...

Do vpk-tools and VTMBEdit read the .bsp files directly? And once opened, what exactly do I look for?
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 07, 2019, 03:32:22 PM
The code for the taxi is:
G.Hollywood_Open = 1

I think that the process of integrate it will be harder that you expect. Because if you want to hide the VV model for the lapdance and unhide for do it, etc... will be a more complicate process than copy-paste.

:(

Well... I managed to get to Santa Monica and deal with Julius, but the taxi's gone! How do I get the taxi to spawn so I can take it back to Hollywood?
Title: Re: Copy a Scene from One Mod to Another?
Post by: Malkav on October 07, 2019, 05:26:47 PM
I've just checked how burgermeister did the VV dance. It is via cutscene and also requires a rather complicated script.
There is no way I could talk you through it unless I test the whole thing on my system first. And I won't have time for that until next week. The cutscene requires copying many entities from one map to the other and I don't know exactly which ones without testing.
Title: Re: Copy a Scene from One Mod to Another?
Post by: Malkav on October 07, 2019, 05:47:34 PM

Well... I managed to get to Santa Monica and deal with Julius, but the taxi's gone! How do I get the taxi to spawn so I can take it back to Hollywood?
Just to make sure, you're not Nosferatu? Has something happened that your G.Story_State variable has been reset?
You can check by entering G.Story_State in the console and compare the result with the list in the patch manual. If the variable has the wrong value you can set it by typing G.Story_State = # in the console. Any value of 5 or more should unhide the taxi when you load the Santa Monica hub map unless you are a Nossie.
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 07, 2019, 06:22:39 PM
I've just checked how burgermeister did the VV dance. It is via cutscene and also requires a rather complicated script.
There is no way I could talk you through it unless I test the whole thing on my system first. And I won't have time for that until next week. The cutscene requires copying many entities from one map to the other and I don't know exactly which ones without testing.

I thought so. You're on vacation, right (or am I confusing you with Barrabah? lol)? If you can test it and help me out, that would be absolutely amazing. But I understand if you have more important things to do.

Thank you either way!
Title: Re: Copy a Scene from One Mod to Another?
Post by: Malkav on October 07, 2019, 08:22:49 PM
Yes I'm on vacation. I'll get to it next week when I'm back home. You want the VV dance into the patch or in some other mod?
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 07, 2019, 10:11:52 PM
Yes I'm on vacation. I'll get to it next week when I'm back home. You want the VV dance into the patch or in some other mod?

Unofficial Patch Plus

Thank you so much!
Title: Re: Copy a Scene from One Mod to Another?
Post by: Wesp5 on October 07, 2019, 10:43:12 PM
Quote
Yes I'm on vacation. I'll get to it next week when I'm back home. You want the VV dance into the patch or in some other mod?

Unofficial Patch Plus

Maybe I could do it. Originally burgermeister asked me to not include this as it was supposed to be a feature of the CQM, but seeing all the trouble you are going to, I might take a look as he said I could do so if I must...
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 07, 2019, 11:03:48 PM
I'm just looking to do it for myself. It doesn't need to be added to the patch officially. I'm slowly building my own "perfect VTMB1" using bits and pieces of different mods. TBH I thought this would be easier for some reason, but if it can be done that'd be awesome.

Plus I'm learning a heck of a lot about Python, game design, etc in doing this, so it's fascinating from that angle.

Though obviously I'm not gonna turn down your help, either, Wesp5. Any and all help is appreciated...
Title: Re: Copy a Scene from One Mod to Another?
Post by: Barabbah on October 08, 2019, 04:12:13 AM
I'm just looking to do it for myself. It doesn't need to be added to the patch officially. I'm slowly building my own "perfect VTMB1" using bits and pieces of different mods. TBH I thought this would be easier for some reason, but if it can be done that'd be awesome.

Just for curiosity, what bits did you picked up so far? :3
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 08, 2019, 07:40:23 AM
I'm just looking to do it for myself. It doesn't need to be added to the patch officially. I'm slowly building my own "perfect VTMB1" using bits and pieces of different mods. TBH I thought this would be easier for some reason, but if it can be done that'd be awesome.

Just for curiosity, what bits did you picked up so far? :3

I just started it, so not much so far. I love Clan Quest, but I sometimes enjoy playing the OG game with just the Plus enhances.

I want to add one or two things from Clan Quest if it's at all possible. This one is the first...
Title: Re: Copy a Scene from One Mod to Another?
Post by: Barabbah on October 08, 2019, 11:14:13 AM
Are you interested in the Companion Mod too? I know I looked like a fool failing to make it work on newer mods/UP but still I hope to see it working one day....
Title: Re: Copy a Scene from One Mod to Another?
Post by: argikt on October 08, 2019, 11:44:54 AM
Are you interested in the Companion Mod too? I know I looked like a fool failing to make it work on newer mods/UP but still I hope to see it working one day....

Companion mod add will need work in every game map... is a big effort
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 08, 2019, 03:05:53 PM
Are you interested in the Companion Mod too? I know I looked like a fool failing to make it work on newer mods/UP but still I hope to see it working one day....

Is Companion Mod used by Antitribu? If so, I was very turned off by the way you gained companions, especially vampire companions. I would adore a mod that allowed vampires to voluntarily join you for a quest or two, but I wasn't big on how it worked in Antitribu.

That said, I'd try it out if you really wanted to try again with it...
Title: Re: Copy a Scene from One Mod to Another?
Post by: Wesp5 on October 08, 2019, 04:42:31 PM
Is Companion Mod used by Antitribu? If so, I was very turned off by the way you gained companions, especially vampire companions.

I don't know about the companions of the Antitribu mod, but in the original Comp Mod you used some weird magical item, which I disliked.

Also I have included VV's dance scene into the UP now and it should be available in the next RC! I only cut the intimate ending and the music...
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 08, 2019, 04:50:39 PM
I don't know about the companions of the Antitribu mod, but in the original Comp Mod you used some weird magical item, which I disliked.

Yup. That's how it worked in Antitribu, as well. I hated it.

Quote
Also I have included VV's dance scene into the UP now and it should be available in the next RC! I only cut the intimate ending and the music...

Why am I not surprised that you cut the intimate ending? LOL

TBH I was gonna try and copy over the whole thing, but that works! I look forward to being able to download it.

Out of curiosity, are you willing to share what you did to make it happen? What was the process needed to copy it over? I'm assuming it was a lot more than just copying the DLG and map over...

I'd very much like to learn how it works...

(Okay honestly I did kinda want that intimate ending, too, but I'm not gonna complain...)
Title: Re: Copy a Scene from One Mod to Another?
Post by: Barabbah on October 08, 2019, 06:18:34 PM
All versions of the companion mod has this item to mindrape and force most of the NPC to become your companions. I agree with you: it's not nice. It was enough to complete their quests, make them happy and ask them to join you.
Title: Re: Copy a Scene from One Mod to Another?
Post by: Barabbah on October 08, 2019, 06:21:06 PM
Also I have included VV's dance scene into the UP now and it should be available in the next RC! I only cut the intimate ending and the music...

You can still use the alternate vesuvius song ;)
Title: Re: Copy a Scene from One Mod to Another?
Post by: Wesp5 on October 08, 2019, 10:26:27 PM
Also I have included VV's dance scene into the UP now and it should be available in the next RC! I only cut the intimate ending and the music...

You can still use the alternate vesuvius song ;)

That sound is already used at the netcafe and I don't think it would fit to a private dance in the first place! Also I needed to do a lot to include this: map changes, python changes, dlg changes and additional model and additional scene files. Too much to explain here ;)...
Title: Re: Copy a Scene from One Mod to Another?
Post by: NateHevens on October 09, 2019, 12:28:08 AM
That sound is already used at the netcafe and I don't think it would fit to a private dance in the first place! Also I needed to do a lot to include this: map changes, python changes, dlg changes and additional model and additional scene files. Too much to explain here ;)...

Oh wow. A lot more than I was hoping initially...