collapse

Author Topic: Copy a Scene from One Mod to Another?  (Read 417 times)

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 88
Copy a Scene from One Mod to Another?
« 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?

Offline argikt

  • Antediluvian
  • *****
  • Posts: 655
Re: Copy a Scene from One Mod to Another?
« Reply #1 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.

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 88
Re: Copy a Scene from One Mod to Another?
« Reply #2 on: October 03, 2019, 05:33:19 PM »
How much work? What would have to happen?

Offline argikt

  • Antediluvian
  • *****
  • Posts: 655
Re: Copy a Scene from One Mod to Another?
« Reply #3 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?

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 88
Re: Copy a Scene from One Mod to Another?
« Reply #4 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.

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 88
Re: Copy a Scene from One Mod to Another?
« Reply #5 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...

Offline Malkav

  • Antediluvian
  • *****
  • Posts: 1712
Re: Copy a Scene from One Mod to Another?
« Reply #6 on: October 04, 2019, 01:21:40 PM »
Why not post it here? Then other people can help as well.
Co Author of Camarilla Edition Mod

Offline argikt

  • Antediluvian
  • *****
  • Posts: 655
Re: Copy a Scene from One Mod to Another?
« Reply #7 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.

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 88
Re: Copy a Scene from One Mod to Another?
« Reply #8 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.

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 88
Re: Copy a Scene from One Mod to Another?
« Reply #9 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...

Offline argikt

  • Antediluvian
  • *****
  • Posts: 655
Re: Copy a Scene from One Mod to Another?
« Reply #10 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.

:(

Offline Malkav

  • Antediluvian
  • *****
  • Posts: 1712
Re: Copy a Scene from One Mod to Another?
« Reply #11 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.
Co Author of Camarilla Edition Mod

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 88
Re: Copy a Scene from One Mod to Another?
« Reply #12 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?

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 88
Re: Copy a Scene from One Mod to Another?
« Reply #13 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?

Offline Malkav

  • Antediluvian
  • *****
  • Posts: 1712
Re: Copy a Scene from One Mod to Another?
« Reply #14 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.
Co Author of Camarilla Edition Mod