collapse

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Bloodlines SDK  (Read 39473 times)

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 3508
  • Reputation: 784
  • Unofficial Patcher
Bloodlines SDK
« on: October 10, 2011, 08:59:57 AM »
This is an unofficial software developer's kit (SDK) for Vampire - The Masquerade: Bloodlines, the greatest game of all time developed by Troika Games.

At this moment the project is not fully completed, but already it can be used to do the following (with some limitations):
* Create, edit and compile your own maps.
* Create, view and compile game models (animations are still not supported properly).
* Decompile game maps and models for editing.
* View, manage, extract and create game archives (.vpk files).
* View and convert game textures between tth/ttz, vtf, tga and dds formats.
* Edit game dialogues (lipsync files are not supported yet).
* Manage entity data in existing BSP map files (paste, delete and change entity properties).
* Validate misc game resources.

Download: (updated)

https://www.planetvampire.com/modules/files/view.php?id=823
« Last Edit: April 21, 2015, 08:27:37 AM by Wesp5 »



Offline Rick Gentle

  • Gangrel Playboy
  • Antediluvian
  • *****
  • Posts: 3057
  • Reputation: 576
Re: Bloodlines SDK!?
« Reply #1 on: October 10, 2011, 09:03:54 AM »
Eeeeeeeeeeeeeeeeeeeenteresting...

But I'll let you pro modders figure out how it works, write up a tutorial, and then I'll give it a shot. I really enjoyed making maps for the Vampire: The Masquerade - Redemption Nod SDK - but that's because it was one of the few map builders I knew how to work. I've had lots of ideas for Bloodlines as well (such as opening up a lot of the closed buildings and shops around Hollywood, including a very special winery...), but I don't dare touch the game until I know what the heck I'm doing. It seems complicated enough for you people, and you DO know.
Remember: It's not the size of your fangs that matters; it's what you stick them in.

Offline burgermeister01

  • Administratrix
  • Methuselah
  • *****
  • Posts: 482
  • Reputation: 336
Re: Bloodlines SDK!?
« Reply #2 on: October 10, 2011, 06:48:33 PM »
I dunno, I tried this awhile ago, and it didn't go so well. I read that the main limitation was that entities in the map don't work, and when I tried to make a test map, duplicating an existing one, it just crashed when I tried to load it.

IDK though, maybe I was doing something wrong, or maybe things have evolved since when I tried it. Perhaps I'll take another stab at it.

Offline Signothorn

  • God Hates Fangs
  • Administratrix
  • Antediluvian
  • *****
  • Posts: 14932
  • Reputation: 1134
Re: Bloodlines SDK!?
« Reply #3 on: October 11, 2011, 12:33:20 AM »
Looks like the latest update was 3 days ago, cool to see it's still a project in development. :rock:

Offline burgermeister01

  • Administratrix
  • Methuselah
  • *****
  • Posts: 482
  • Reputation: 336
Re: Bloodlines SDK!?
« Reply #4 on: October 11, 2011, 07:04:25 AM »
Okay, so good news!

I tried this again tonight and I was able to successfully build a basic map, just using the instructions the russian modder and Wesp provided. I had to install the retail version of the game; the Steam version didn't work. BUT when I copied the map into my Steam version's folder everything clicked, no problem.

So, the trick is still what I said in the first place ... Worldcraft doesn't detect the custom entities used by the game. The basic ones like player spawn point are available and ambient_generic (sound effects), but no prop_hacking, no npc_VVampire, etc .

But I outsmarted the bastard. Went back to the basics. Loaded up VPK tools, manually copy pasted a pedestrian into the map at a coordinate that was inside the one room I made, and what do you know, it worked!

A vampire pedestrian getting murdered by a vampire character, using the vampire system, in a brand new map.

There's like another class of geometric objects/models (not quite a brush but not quite an entity), I think. But all of that stuff, you can usually just use a prop_static or prop_dynamic in it's place.

So, what I'm saying is, I think an inspired individual could make a brand new map for Vampire with this. I can promise you, because of the entity thing, it's going to be infinity harder than just working in Worldcraft directly, but it'd totally do-able.

Also, I think the lighting may be fucked up. Not sure. If that's a no-go, this might be a dead end anyways. Lighting is way more important than most people give it credit for. Especially in a game like Vampire. I'm going to look into it some more, when I have time, which due to unfortunate circumstances may 1+ weeks!

EDIT:

Something else I just realized. If someone was going to do this, you'd want to be fairly committed to the map's geometry before trying to manually add the Vampire custom entities. I think that since worldcraft wont recognize the entities from Vampire, you'd have to keep a list of all the entities you added manually separate from the map, and then anytime you compile the map in Worldcraft, copy and paste the entities back in, and also hope that if you made any major changes, they won't get in the way of the entities you have added!
This isn't too bad, it's kind of similar to what I do now, and ZTools would make it not nearly so horrible, but it would still be another bump on the road to making new maps.


EDIT:

Yea, lighting is definitely a problem. It doesn't seem to think there are any lights in the map, so it just renders the light as though it's full on noon, all the time. I even tried embedding one of the 'light' entities from the original maps, no luck.
If anyone knows something about this, let's hear it! Maybe somebody could try to get in touch with the guy that sorted this out? I seriously have to stop screwing around with this and get to sleep!
« Last Edit: October 11, 2011, 07:49:34 AM by burgermeister01 »

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 3508
  • Reputation: 784
  • Unofficial Patcher
Re: Bloodlines SDK!?
« Reply #5 on: October 11, 2011, 09:46:22 AM »
Quote from: burgermeister01
I tried this again tonight and I was able to successfully build a basic map, just using the instructions the russian modder and Wesp provided.

Wow, this is indeed good news! I for my part would be glad if someone made a library level, so we could finally restore that bit of the game :).

Quote
Loaded up VPK tools, manually copy pasted a pedestrian into the map at a coordinate that was inside the one room I made, and what do you know, it worked!

So the new map could be edited with VPK tools? That way adding stuff would be tedious, but after all it's the way we do patching and modding until today anyway.

Quote
There's like another class of geometric objects/models (not quite a brush but not quite an entity), I think. But all of that stuff, you can usually just use a prop_static or prop_dynamic in it's place.

At least one of the static entity classes can be edited by RobinHood70's BSPEdit which is included with the UP. Does that work with the new map too? If not, your way is still possible.

Quote
Yea, lighting is definitely a problem. It doesn't seem to think there are any lights in the map, so it just renders the light as though it's full on noon, all the time.

That's a shame, especially as a public library at night is probably very dark ;). Maybe you should contact the guy. I guess you know the most of us about it...
« Last Edit: October 11, 2011, 09:48:07 AM by Wesp5 »

Offline burgermeister01

  • Administratrix
  • Methuselah
  • *****
  • Posts: 482
  • Reputation: 336
Re: Bloodlines SDK!?
« Reply #6 on: October 11, 2011, 04:30:32 PM »
Quote from: burgermeister01
I tried this again tonight and I was able to successfully build a basic map, just using the instructions the russian modder and Wesp provided.

Wow, this is indeed good news! I for my part would be glad if someone made a library level, so we could finally restore that bit of the game :).

Quote
Loaded up VPK tools, manually copy pasted a pedestrian into the map at a coordinate that was inside the one room I made, and what do you know, it worked!

So the new map could be edited with VPK tools? That way adding stuff would be tedious, but after all it's the way we do patching and modding until today anyway.

Quote
There's like another class of geometric objects/models (not quite a brush but not quite an entity), I think. But all of that stuff, you can usually just use a prop_static or prop_dynamic in it's place.

At least one of the static entity classes can be edited by RobinHood70's BSPEdit which is included with the UP. Does that work with the new map too? If not, your way is still possible.

Quote
Yea, lighting is definitely a problem. It doesn't seem to think there are any lights in the map, so it just renders the light as though it's full on noon, all the time.

That's a shame, especially as a public library at night is probably very dark ;). Maybe you should contact the guy. I guess you know the most of us about it...



Yea, it's funny, it feels somewhat uninspired but the library was the first thing that popped into my head, haha. It could be a great place to meet a Tremere NPC, studying the occult late into the night. I also had ideas when I first starting modding this game for maps, when I was unaware new ones could not readily be made, such as the burned down remains of Grout's mansion, and Isaac's jewelry shop (not just his office).
What exactly do you anticipate is restorable for the library? There's the library card,  but other than that, I haven't seen much reference to it anywhere.

Static entity classes is what  I was thinking of! And I couldn't remember the tool I'd used just one time in the past to edit those, but that's definitely it. Yea, I think prop_static / prop_dynamic should be a suitable substitute if RobinHood's tool won't work on new maps.

I'll try to reach the russian guy. I just ran out of time last night. I tried some different things with lighting but it seems futile. I remember seeing some screen shots he'd made; I think there must be some way to do it. Without lighting working, it's honestly not even worth making a new map; they would all like kind of stupid.

Offline burgermeister01

  • Administratrix
  • Methuselah
  • *****
  • Posts: 482
  • Reputation: 336
Re: Bloodlines SDK!?
« Reply #7 on: October 12, 2011, 05:00:26 AM »
I keep posting as I find new things ... good news.

Okay, so I was misunderstanding the problem with the entities. The problem was that, you could not even embed things like prop_dynamic. It would say model is incompatible or something to that extent.

But the good news! The good news! I somehow managed to fix it. You can trick the map into thinking its a different version, just by opening it up in a text editor and changing some headers! It's very easy. So, it allows you to not only insert prop_dynamic entities, but also it fixed the lighting! I added a spot light to the bail bonds!

Furthermore, I've confirmed that you can add a property to the worldspawn entity to have it load and use python scripts.

We can make Vampire maps.


EDIT:

Check this out. A new prototype map integrated into the game = )

P.S. The comments are legible if you watch it on Youtube.


VtM:B - Clan Quest Mod - Demo Video - New Maps!
« Last Edit: October 12, 2011, 08:17:02 AM by burgermeister01 »

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 3508
  • Reputation: 784
  • Unofficial Patcher
Re: Bloodlines SDK!?
« Reply #8 on: October 12, 2011, 02:48:01 PM »
Check this out. A new prototype map integrated into the game = )

That's fantastic :)!!! Now regardless of what you plan to do in your own Clan Quest Mod, do you think you could build me a library map to finally get the missing Bloodlines content restored as much as possible? I'll email you about this to keep the new stuff a possible surprise for future plus patch players ;).

Offline YamiRaziel

  • Fledgling
  • *
  • Posts: 41
  • Reputation: 217
  • Redeemer & Destroyer
    • Citadelata - a fantasy based fan site
Re: Bloodlines SDK!?
« Reply #9 on: October 12, 2011, 09:52:35 PM »
I can't believe... after all these years... new bloodlines maps!

Offline Draco Alivi

  • Ancillus
  • ***
  • Posts: 110
  • Reputation: 2
Re: Bloodlines SDK!?
« Reply #10 on: October 13, 2011, 12:13:28 AM »
It's awesome!!! (Knox dixit) Really looking forward to hearing more news  :cometome:

Offline $hacaR

  • Fledgling
  • *
  • Posts: 24
  • Reputation: 13
Re: Bloodlines SDK!?
« Reply #11 on: October 13, 2011, 01:43:01 AM »
im actually a bit more than just excited right now  :chinscratch:
amazing work guys =)

Offline burgermeister01

  • Administratrix
  • Methuselah
  • *****
  • Posts: 482
  • Reputation: 336
Re: Bloodlines SDK!?
« Reply #12 on: October 13, 2011, 01:54:42 AM »
We really owe it to fire64, the programmer that was able to get the newer source map compilers to work on the old Vampire map format. Without his hard work, this would not have gotten so far. I'm trying to find out now, if anything I did to overcome my problems is news to share with the greater community or if I just fixed my problems the hard way.

In any case, he's a wonderful programmer, but terrible at marketing. I don't think most people even knew this tool was out there, or how far it has come.

Offline Signothorn

  • God Hates Fangs
  • Administratrix
  • Antediluvian
  • *****
  • Posts: 14932
  • Reputation: 1134
Re: Bloodlines SDK!?
« Reply #13 on: October 13, 2011, 02:05:51 AM »
I just put it on the front page. Someone should get him to come here where he'd draw more attention to his work and people will be more supportive of his efforts.
« Last Edit: October 13, 2011, 02:08:36 AM by Signothorn »

Offline burgermeister01

  • Administratrix
  • Methuselah
  • *****
  • Posts: 482
  • Reputation: 336
Re: Bloodlines SDK!?
« Reply #14 on: October 13, 2011, 05:23:39 AM »
I directed him to this thread, hopefully to get his attention. It sounds like he's even working on improving the existing tool.

I am going away for a few days, but when I get back, I am going to try and write a little tutorial for all the steps to make something like the prototype in that video.


 

* Game Files