예제 #1
0
def setupCamarillaPart2():
    dude1 = Find("Gangrel_Pusher")
    dude2 = Find("Brujah_Pusher")
    dude3 = Find("Toreador_Pusher")
    dude4 = Find("Malkavian_Pusher")
    if (__main__.IsClan(__main__.FindPlayer(), "Gangrel")):
        dude4.SetName("Regent2")
        dude4.ScriptUnhide()
        dude2.SetName("pusher1")
        dude2.ScriptUnhide()
        dude3.SetName("pusher2")
        dude3.ScriptUnhide()
    elif (__main__.IsClan(__main__.FindPlayer(), "Brujah")):
        dude1.SetName("Regent2")
        dude1.ScriptUnhide()
        dude3.SetName("pusher1")
        dude3.ScriptUnhide()
        dude4.SetName("pusher2")
        dude4.ScriptUnhide()
    elif (__main__.IsClan(__main__.FindPlayer(), "Toreador")):
        dude2.SetName("Regent2")
        dude2.ScriptUnhide()
        dude1.SetName("pusher1")
        dude1.ScriptUnhide()
        dude4.SetName("pusher2")
        dude4.ScriptUnhide()
    else:
        dude3.SetName("Regent2")
        dude3.ScriptUnhide()
        dude1.SetName("pusher1")
        dude1.ScriptUnhide()
        dude2.SetName("pusher2")
        dude2.ScriptUnhide()
def malkNosCatchAll():
    if G.Patch_Plus == 2:
        firstRunner = Find("studiodoor1-trigger_event")
        secondRunner = Find("door_bash-trigger_failsafe")
        thirdRunner = Find("inigo_trigger")
        if (__main__.IsClan(__main__.FindPlayer(), "Nosferatu")
                or __main__.IsClan(__main__.FindPlayer(), "Malkavian")):
            if firstRunner: firstRunner.ScriptHide()
            print "first runner hidden"
            if secondRunner: secondRunner.ScriptHide()
            print "second runner hidden"
            if thirdRunner: thirdRunner.ScriptHide()
            print "third runner hidden"
예제 #3
0
def chooseCamarilla():
    if (__main__.IsClan(__main__.FindPlayer(), "Toreador")):
        change = Find("Regent_Guard_1")
        change.SetModel(
            "models/character/pc/male/nosferatu/armor0/Nosferatu.mdl")
    elif (__main__.IsClan(__main__.FindPlayer(), "Tremere")):
        change = Find("Regent_Guard_2")
        change.SetModel(
            "models/character/pc/male/nosferatu/armor0/Nosferatu.mdl")
    elif (__main__.IsClan(__main__.FindPlayer(), "Gangrel")):
        change = Find("Regent_Guard_3")
        change.SetModel(
            "models/character/pc/male/nosferatu/armor0/Nosferatu.mdl")
    if (G.Patch_Plus == 0):
        Find("Regent_Guard_Spare_Model").Kill()
def cardPrinterEnable():
    if (G.Hannah_Jezebel == 1 and G.Patch_Plus == 0):
        printer = Find("card_printer")
        printer.ScriptUnhide()
    if (G.Patch_Plus == 1):
        if __main__.IsClan(__main__.FindPlayer(), "Nosferatu"):
            if guard: guard.SetRelationship("player D_HT 5")
예제 #5
0
def removeSewerOrTaxi():
    if (__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        relay = Find("relay_kill_cab")
        relay.Trigger()
    else:
        relay = Find("relay_kill_sewer")
        relay.Trigger()
def malkSewer():
    npc = Find("CabbieSewer")
    if __main__.IsClan(__main__.FindPlayer(),
                       "Malkavian") and G.Patch_Plus == 1:
        if npc: npc.ScriptUnhide()
    else:
        if npc: npc.ScriptHide()
def PlayNinesChoreo1():
    if __main__.IsClan(__main__.FindPlayer(), "Nosferatu"):
        logic = Find("logic_start_nos_stuff")
        logic.Trigger()
    else:
        logic = Find("logic_start_nonnos_stuff")
        logic.Trigger()
예제 #8
0
def changeVent():
    if (__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        nosPort = Find("nos_teleport")
        nosPort.Trigger()
    else:
        othersPort = Find("others_teleport")
        othersPort.Trigger()
def makeMalkHostess():
    if (__main__.IsClan(__main__.FindPlayer(), "Malkavian")):
        host1 = Find("Hostess")
        if host1: host1.Kill()
        if G.Hostess2_Dead == 0:
            host2 = Find("Hostess2")
            host2.ScriptUnhide()
            host2.SetName("Hostess")
def SetStopSign():
    trig = Find("trig_stop_sign")
    if __main__.IsClan(__main__.FindPlayer(), "Malkavian"):
        if trig: trig.Enable()
    else:
        sign = Find("Stop")
        if sign: sign.Kill()
        if trig: trig.Kill()
예제 #11
0
def checkNosferatu():
    print "***************** Checking for NOS *****************"
    if (__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        print "********** Is NOS **********"
        gio1_aggroOutside()
        gio2_aggroInside()
    else:
        print "********** Not NOS **********"
def doll1dlg():
    doll = __main__.FindEntityByName("Doll1")
    if(__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        return 121
    elif(__main__.G.Doll_Seduce == 1):
        return 91
    elif(1):
        return RandomLine([1, 31, 61])
def stockTheFridge():
    fridge = Find("fridge")
    bloodpacks = 3
    while (bloodpacks > 0):
        if (__main__.IsClan(__main__.FindPlayer(), "Ventrue")):
            fridge.SpawnItemInContainer("item_g_bluebloodpack")
        else:
            fridge.SpawnItemInContainer("item_g_bloodpack")
        bloodpacks = bloodpacks - 1
def BeckettDialogEnd():
    if G.Museum_Kill == 0:
        __main__.FindPlayer().AwardExperience('Museum04')
    if G.Patch_Plus == 1:
        G.Museum_Open = 1
    if __main__.IsClan(__main__.FindPlayer(), "Nosferatu"):
        __main__.ChangeMap(2.5, "sewer_map_landmark", "trig_museum_exit_sewer")
    else:
        __main__.ChangeMap(2.5, "taxi_landmark", "trig_museum_exit")
예제 #15
0
def setupMasqueradeActors():
    dude1 = Find("Ventrue")
    dude2 = Find("Nosferatu")
    dude3 = Find("Toreador")
    if (__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        dude3.SetName("extra_vampire")
        dude3.ScriptUnhide()
        dude1.SetName("hair_holder")
        dude1.ScriptUnhide()
    elif (__main__.IsClan(__main__.FindPlayer(), "Ventrue")):
        dude2.SetName("extra_vampire")
        dude2.ScriptUnhide()
        dude3.SetName("hair_holder")
        dude3.ScriptUnhide()
    else:
        dude2.SetName("extra_vampire")
        dude2.ScriptUnhide()
        dude1.SetName("hair_holder")
        dude1.ScriptUnhide()
def UnsetCabbie():
    if __main__.IsClan(__main__.FindPlayer(), "Nosferatu"):
        logic = Find("logic_cab_kill")
        if logic: logic.Trigger()
        grate = Find("ventrue_sewer_grate")
        if grate: grate.Kill()
        grate = Find("nos_ventrue_sewer_grate")
        if grate: grate.ScriptUnhide()
        map = Find("sewer_map")
        if map: map.Unlock()
        map = Find("sewer_map_2")
        if map: map.Unlock()
예제 #17
0
def ventrueCombat():
    combatTrigger = Find("combat_change")
    if (__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        if (G.Story_State == 100 or G.Story_State == 105
                or G.Story_State >= 115):
            combatTrigger.Trigger()
            print "Combat Switched"
            __main__.ScheduleTask(1.0, "Find(\"Chunk2\").ScriptUnhide()")
        taxi = Find("taxi")
        if taxi: taxi.Kill()
        cabbie = Find("cabbie")
        if cabbie: cabbie.Kill()
def SetSamantha():
    if __main__.IsClan(__main__.FindPlayer(), "Nosferatu"):
        sam = Find("Samantha")
        if sam: sam.Kill()
    elif G.Isaac_Know == 1 and not G.Samantha_Know == 1:
        sam = Find("Samantha")
        sam.ScriptUnhide()
        sam_trig = Find("trig_samantha")
        sam_trig.Enable()
    elif G.Samantha_Stopped or G.Samantha_FinishedCall:
        sam = Find("Samantha")
        if sam: sam.Kill()
예제 #19
0
def UVFloat():
    world = Find("world")
    world.SetSafeArea(0)
    Mandarin = Find("Mandarin")
    if(__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        if(__main__.FindPlayer().IsMale()):
            Mandarin.PlayDialogFile("Character/dlg/Chinatown/mandarin/line181_col_e.mp3")
        else:
            Mandarin.PlayDialogFile("Character/dlg/Chinatown/mandarin/line181_col_f.mp3")
    else:
        if(__main__.FindPlayer().IsMale()):
            Mandarin.PlayDialogFile("Character/dlg/Chinatown/mandarin/line171_col_e.mp3")
        else:
            Mandarin.PlayDialogFile("Character/dlg/Chinatown/mandarin/line171_col_f.mp3")
def LeaveMansion():
    pc = __main__.FindPlayer()
    if (pc.HasItem("item_k_malkavian_refrigerator_key")):
        __main__.ScheduleTask(
            5.00,
            "__main__.FindPlayer().RemoveItem(\"item_k_malkavian_refrigerator_key\")"
        )
    if __main__.IsClan(__main__.FindPlayer(), "Nosferatu"):
        trig = Find("malk_la")
        trig.ScriptHide()
        trig = Find("malk_la_sewer")
        trig.ScriptUnhide()
    else:
        trig = Find("malk_la_sewer")
        trig.ScriptHide()
        trig = Find("malk_la")
        trig.ScriptUnhide()
def SetHeather():
    heather = Find("Heather")
    if heather:
        if G.Heather_Drank == 1 and G.Story_State == 15 and G.Heather_Haven == 0:
            heather.ScriptUnhide()
            trig = Find("trig_heather")
            if trig: trig.Enable()
            if G.Patch_Plus == 1:
                trignos = Find("trig_heather_nos")
                if trignos: trignos.Enable()
        elif G.Heather_Haven == 1:
            if __main__.IsClan(__main__.FindPlayer(), "Nosferatu"):
                heather.WillTalk(1)
                teleport = Find("Heather_teleport")
                teleport.Teleport()
            else:
                heather.Kill()
        elif G.Story_State > 15:
            heather.Kill()
        else:
            heather.ScriptHide()
def nosCheck():
    hostessMark = Find("hostess_nos")
    if (__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        hostessMark.BeginSequence()
    if (G.Story_State >= 65):
        wong = Find("WongHo")
        if wong: wong.Kill()
        kiki = Find("Kiki")
        if kiki: kiki.Kill()
    if G.Hostess_Dead == 1:
        host1 = Find("Hostess")
        if host1: host1.Kill()
    if G.Hostess2_Dead == 1:
        host2 = Find("Hostess2")
        if host2: host2.Kill()
    if G.Doll4_Dead == 1:
        doll4 = Find("Doll4")
        if doll4: doll4.Kill()
    if G.Doll5_Dead == 1:
        doll5 = Find("plus_Doll5")
        if doll5: doll5.Kill()
def UnsetCabbie():
    if (__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        logic = Find("logic_kill_cab")
        if logic: logic.Trigger()
        map = Find("sewer_map")
        if map: map.Unlock()
def SetTaxi():
    if __main__.IsClan(__main__.FindPlayer(), "Nosferatu"):
        logic = Find("logic_kill_taxi")
        if logic: logic.Trigger()
        map = Find("sewer_map")
        if map: map.Unlock()
예제 #25
0
def setupChamber():
    princeStart = Find("prince1")
    princeEnd = Find("prince2")

    if (__main__.IsClan(__main__.FindPlayer(), "Nosferatu")):
        taxi = Find("taxi")
        if taxi: taxi.Kill()
        cabbie = Find("cabbie")
        if cabbie: cabbie.Kill()

    if (princeStart):
        princeStart.SetDefaultDialogCamera("DialogDefault")

    # check for specific Story State events
    if (G.Story_State == 10):
        princeStart.SetDefaultDialogCamera("Dynamic3")
    elif (G.Story_State == 15):
        if (__main__.IsClan(__main__.FindPlayer(), "Ventrue")):
            torryPrim = Find("toreador_unhide")
            torryPrim.Trigger()
            if (G.Patch_Plus == 1):
                gary = Find("torry_prim_3")
                if gary:
                    gary.SetModel(
                        "models/character/npc/unique/Hollywood/Gary/Nosferatu_Gary.mdl"
                    )
        else:
            ventPrim = Find("ventrue_unhide")
            ventPrim.Trigger()
            if (G.Patch_Plus == 1):
                gary = Find("vent_prim_3")
                if gary:
                    gary.SetModel(
                        "models/character/npc/unique/Hollywood/Gary/Nosferatu_Gary.mdl"
                    )
    elif (G.Story_State == 60):
        actCoffin = Find("coffin_state")
        actCoffin.Trigger()

    # check to make sure the correct Prince is active
    if (G.Story_State < 30):
        princeStart.ScriptUnhide()
        princeEnd.ScriptHide()
    elif (G.Story_State == 30):
        princeEnd.ScriptUnhide()
        if (princeStart):
            princeStart.Kill()
        window = Find("prince_window")
        window.BeginSequence()
    elif (G.Story_State > 30):
        princeEnd.ScriptUnhide()
        if (princeStart):
            princeStart.Kill()

    # check to see if Beckett should be gone from Venture Tower
    if (G.Story_State >= 80):
        beckett = Find("beckett")
        if (beckett):
            beckett.Kill()

    if (G.Story_State == 110):
        relay = Find("exits_lock_relay")
        relay.Trigger()