collapse

Author Topic: Library quest files?  (Read 4791 times)

Offline Aloysius

  • Methuselah
  • ****
  • Posts: 349
Library quest files?
« on: October 14, 2013, 03:24:22 PM »
Hello,

I just registered here, wondering if someone could help me.

I am trying to figure out what files were modified/created to make the new library quest possible.
I was just able to find so far:

haven_pc
la_library_1
vamputil

Can you tell what other files are needed?

Thank you.

PS: Am i the only one who almost turn blind trying to read the verification thing? is it needed for every post?

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6226
  • Unofficial Patcher
Re: Library quest files?
« Reply #1 on: October 14, 2013, 06:28:33 PM »
I am trying to figure out what files were modified/created to make the new library quest possible.

May I ask why you are doing this? Do you want to include it into another Bloodlines mod or patch?

Offline Aloysius

  • Methuselah
  • ****
  • Posts: 349
Re: Library quest files?
« Reply #2 on: October 14, 2013, 07:44:42 PM »
Well i don't feel like playing without clan quest mod, and since it wasn't updated since last time i played (last year), thought i might try to find a temporary solution to include the library in the current version.

For now, it is more a trying than anything else, if it is possible to make it work, i will ask you and burgermeister01 if it is ok to have a temporary CQM 3.1 version.


Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6226
  • Unofficial Patcher
Re: Library quest files?
« Reply #3 on: October 15, 2013, 07:51:17 AM »
For now, it is more a trying than anything else, if it is possible to make it work, i will ask you and burgermeister01 if it is ok to have a temporary CQM 3.1 version.

Burgermeister has already integrated the UP 8.7 including the library in his CQM. I think a new version will be released sooner than later :)!

Offline Aloysius

  • Methuselah
  • ****
  • Posts: 349
Re: Library quest files?
« Reply #4 on: October 15, 2013, 02:11:47 PM »
Quote
Burgermeister has already integrated the UP 8.7 including the library in his CQM. I think a new version will be released sooner than later :)!

While waiting release day, i still can try, if only for my personnal edification.

You don't want to give me a hint on the map files? Can't be sure of what are the triggers to change map from la_hub_1 to la_library_1?


Offline mr_homn

  • Ancillus
  • ***
  • Posts: 167
Re: Library quest files?
« Reply #5 on: October 15, 2013, 04:32:09 PM »
For now, it is more a trying than anything else, if it is possible to make it work, i will ask you and burgermeister01 if it is ok to have a temporary CQM 3.1 version.

Burgermeister has already integrated the UP 8.7 including the library in his CQM. I think a new version will be released sooner than later :)!

That's been the word for like 6 months dude, and burgermeister hasn't made a peep on any forum in almost as long

Offline Claudia Vonigner

  • Antediluvian
  • *****
  • Posts: 545
Re: Library quest files?
« Reply #6 on: October 15, 2013, 05:20:33 PM »
He finished merging CE maps just two days ago. I talk to him (okay, I troll him) every day (and he trolls me back too).

And it's not possible it's been six months, because until July, he was busy planning his trip to Europe (and enjoying said trip) :p

The issue about the maps, Aloysius, is that it's not just the map files. There have been modifications on many other files, such as python scripts, dlg, sounds, textures...

Offline Aloysius

  • Methuselah
  • ****
  • Posts: 349
Re: Library quest files?
« Reply #7 on: October 15, 2013, 07:19:10 PM »
I spotted the changes in python script, they all seem to be in vamputil, ( unless i am wrong) just spotted triggers in map files too (unless i am wrong again). For dlg, only Andrei seem to be related to Library...

 I have yet to look seriously in texture and sound files but that is why i woudn't mind having a list of the files needed to make Library work.

Meanwhile i am learning a lot of stuff, you can spend hours looking in the files without noticing the sun left the building.

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6226
  • Unofficial Patcher
Re: Library quest files?
« Reply #8 on: October 15, 2013, 08:07:07 PM »
I spotted the changes in python script, they all seem to be in vamputil, ( unless i am wrong) just spotted triggers in map files too (unless i am wrong again). For dlg, only Andrei seem to be related to Library...

Right so far, I moved all the new UP scripts into vamputil.py, but some local things like making the library hatch visible is done in the downtown script too! Of course there are changes in the la_hub_1 map as well.

Quote
I have yet to look seriously in texture and sound files but that is why i woudn't mind having a list of the files needed to make Library work.

There are some new textures for the library, also the new terminal file, the new weapon file and probably a lot more I currently don't remember...

Offline Aloysius

  • Methuselah
  • ****
  • Posts: 349
Re: Library quest files?
« Reply #9 on: October 16, 2013, 04:42:14 PM »

Right so far, I moved all the new UP scripts into vamputil.py, but some local things like making the library hatch visible is done in the downtown script too! Of course there are changes in the la_hub_1 map as well.

Ok, i found the hatch script in downtown, there is one thing i don't understand in vamputil:

andrei = Find("Andrei")
        if andrei: andrei.ScriptHide()
        watchman = Find("watchman")
        if (watchman and G.LaSombra_Seen == 0):
            Find("watchman").ScriptUnhide()
            __main__.ScheduleTask(2.0, "__main__.FindEntityByName(\"teleport_sequence\").BeginSequence()")
            G.LaSombra_Seen = 1
        plus = __main__.FindEntitiesByName("plus_ChangCoffin*")
        n = 1

G.LaSombra_Seen is refered in haven_pc as a starting condition but i don't know what game event this is? Understood the G.Jumbles_Removed part but not that one.

Also i don't know what Andrei has to do with Library:

#LIBRARY: Ritual chamber, added by wesp and EntenSchreck
def foundRitualChamber():
    gender = __main__.FindPlayer().IsMale()
    __main__.G.Andrei_Library = 1

__main__.G.Andrei_Library = 1 is present in vamputil and Andrei.dlg but    it's purpose seem to trigger new dialog not directly related to Library, so is it really necessary to the quest integration?

Quote

There are some new textures for the library, also the new terminal file, the new weapon file and probably a lot more I currently don't remember...

Got the music files i think, as well as the sound schemes and computers files. You woudn't happen to remember the weapon name by chance?
Did you replace existing items for library card and vaccum tube?

Thanks Wesp5, don't bother if you don't remember every files details, i will figure it out... someday.

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6226
  • Unofficial Patcher
Re: Library quest files?
« Reply #10 on: October 16, 2013, 09:10:49 PM »
G.LaSombra_Seen is refered in haven_pc as a starting condition but i don't know what game event this is?

You meet the LaSombra library boss earlier in the SM junkyard level, because 1) we could restore a hidden vampire there and 2) you needed to see him earlier for his monologue to make sense.

Quote
Also i don't know what Andrei has to do with Library:

In the first library versions the boss was Andrei because the LaSombra monologue is actually an unused Andrei take. But people convinced me to change that because the voice sounded too different.

Quote
You woudn't happen to remember the weapon name by chance?

It's item_w_chang_blade and the other items already existed in the UP before and were just moved. But there could be a problem with the CQM in case burgermeister used them for something else.
« Last Edit: October 16, 2013, 09:13:41 PM by Wesp5 »

Offline Aloysius

  • Methuselah
  • ****
  • Posts: 349
Re: Library quest files?
« Reply #11 on: October 18, 2013, 06:23:52 AM »
It seem i have everything, exept the next decade to edit map files and i am not even sure to do it right. The only way i found is to add entities and write them word by word with EntSpy BSP Tool and that seem endless.

If there is a fastest way, i take it.


It's item_w_chang_blade and the other items already existed in the UP before and were just moved. But there could be a problem with the CQM in case burgermeister used them for something else.

You are right Wesp, but the other are not unique items from CQM so i should be able to find a workaround.

Seriously, the maps are probably the worst part of modding this game.

Offline Aloysius

  • Methuselah
  • ****
  • Posts: 349
Re: Library quest files?
« Reply #12 on: November 07, 2013, 02:04:54 PM »
I am not far or so it seems, except for this "minor" problem:

I can't unlock the ritual chamber in the library, when i type "insert card" on  the computer, it say "invalid command", the card disapear and nothing happens.

Is it possible to use the same item for both functions in the game? Because in CQM, item_w_claws_protean4 is used for the chewing gum pack and i thought i would simplify things by just using the library card on the pier as if it were gums, and the card from library for the quest.

Any thought?

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6226
  • Unofficial Patcher
Re: Library quest files?
« Reply #13 on: November 07, 2013, 02:40:25 PM »
I can't unlock the ritual chamber in the library, when i type "insert card" on  the computer, it say "invalid command", the card disapear and nothing happens.

Have you changed the Python code which activates the computer there?

Offline Aloysius

  • Methuselah
  • ****
  • Posts: 349
Re: Library quest files?
« Reply #14 on: November 07, 2013, 03:27:32 PM »
Do you mean this one:

#LIBRARY: removing vacuum tube box and library card, added by wesp
def useBox():
    pc = __main__.FindPlayer()
    if(pc.HasItem("item_w_claws_protean5")):
        pc.RemoveItem("item_w_claws_protean5")
        pc.SetQuest("Library", 2)
def useCard():
    pc = __main__.FindPlayer()
    if(pc.HasItem("item_w_claws_protean4")):
        pc.RemoveItem("item_w_claws_protean4")
        __main__.G.Card_Inserted = 1

#LIBRARY: unhiding and hiding the library level switch, added by wesp
def unhideKey():
    pc = __main__.FindPlayer()
    switch = __main__.Find("cult_switch")
    switch.ScriptUnhide()
    switch_off = Find("cult_switch_off")
    switch_off.ScriptHide()
    __main__.G.Switch_Unlocked = 1
    if (__main__.G.Switch_Found == 0):
        pc.SetQuest("Library", 3)
        __main__.G.Switch_Found = 1
def hideKey():
    switch = __main__.Find("cult_switch")
    switch.ScriptHide()
    __main__.G.Switch_Unlocked = 0

Didn't change it, juste copy and paste.