Fixed stf names and started conversation script for gate keeper

This commit is contained in:
Iosnowore Kun
2014-11-09 20:20:28 -05:00
parent bf24791cd6
commit bbc2bf583f
3 changed files with 38 additions and 29 deletions

View File

@@ -0,0 +1,23 @@
#Base file generated using Conversation Script Creator for ProjectSWG
from resources.common import ConversationOption
from resources.common import OutOfBand
from resources.common import ProsePackage
from java.util import Vector
import sys
def startConversation(core, actor, npc):
options = new Vector()
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/New Conversation Response 4'), 0)
core.conversationService.sendConversationOptions(actor, npc, handleOptionScreen1)
core.conversationService.sendConversationMessage(actor, npc, OutOfBand.ProsePackage('@conversation/Begin Conversation'))
return
# Handle Response for Begin Conversationdef handleOptionScreen1(core, actor, npc, selection):
if selection == 0:
# New Conversation Response 4
return
return

View File

@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Conversation>
<Properties>
<zoom>1.0</zoom>
<highestId>10</highestId>
</Properties>
<SceneView version="1.0">
<Node locked="true" nodeID="0" optionId="0" posX="72" posY="18" stf="Begin Conversation" targets="4" type="begin"/>
<Node locked="false" nodeID="4" optionId="0" posX="633" posY="14" stf="New Conversation Response 4" targets="6" type="response"/>
<Node locked="false" nodeID="1" optionId="0" posX="397" posY="528" stf="End Conversation" targets="" type="end"/>
<Node locked="false" nodeID="6" optionId="0" posX="656" posY="110" stf="New Conversation Option 6" targets="8" type="option"/>
<Node locked="false" nodeID="8" optionId="0" posX="70" posY="99" stf="New Conversation Response 8" targets="" type="response"/>
</SceneView>
</Conversation>

View File

@@ -13,29 +13,29 @@ def addPlanetSpawns(core, planet):
# Imperial Gate Guards
guard1 = stcSvc.spawnObject('vic_dark_trooper_80', 'dathomir', long(0), float(-5775), float(510), float(-6553), float(0.36), float(0.85))
guard2 = stcSvc.spawnObject('vic_dark_trooper_80', 'dathomir', long(0), float(-5785), float(510), float(-6545), float(0.43), float(0.85))
gateofficer1 = stcSvc.spawnObject('vet_imperial_army_captain', 'dathomir', long(0), float(-5780), float(510), float(-6550), float(0.40), float(0.85))
gateofficer1 = stcSvc.spawnObject('outbreak_imperial_officer_gate_keeper', 'dathomir', long(0), float(-5780), float(510), float(-6550), float(0.40), float(0.85))
# Camp Alpha -5915, -6645
alphaguard1 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-5917), float(560), float(-6640), float(0.42), float(0.85))
alphaguard2 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-5908), float(560), float(-6645), float(0.34), float(0.85))
alphaguard3 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-5918), float(560), float(-6650), float(0.60), float(0.85))
alphaguard4 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-5913), float(560), float(-6670), float(-0.63), float(0.85))
alphaguard3 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-5930), float(560), float(-6690), float(0.26), float(0.85))
alphaguard1 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-5917), float(560), float(-6640), float(0.42), float(0.85))
alphaguard2 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-5908), float(560), float(-6645), float(0.34), float(0.85))
alphaguard3 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-5918), float(560), float(-6650), float(0.60), float(0.85))
alphaguard4 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-5913), float(560), float(-6670), float(-0.63), float(0.85))
alphaguard3 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-5930), float(560), float(-6690), float(0.26), float(0.85))
# Camp Beta -6290 -7529
betaguard1 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-6300), float(560), float(-7535), float(-0.86), float(0.85))
betaguard2 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-6300), float(560), float(-7528), float(-0.88), float(0.85))
betaguard3 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-6290), float(560), float(-7520), float(1.38), float(0.85))
betaguard4 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-6280), float(560), float(-7520), float(-1.04), float(0.85))
betaguard1 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-6300), float(560), float(-7535), float(-0.86), float(0.85))
betaguard2 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-6300), float(560), float(-7528), float(-0.88), float(0.85))
betaguard3 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-6290), float(560), float(-7520), float(1.38), float(0.85))
betaguard4 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-6280), float(560), float(-7520), float(-1.04), float(0.85))
# Camp Gamma -6815 -6454
# Camp Delta -7142 -6941
deltaguard1 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-7155), float(560), float(-6955), float(-1.29), float(0.85))
deltaguard2 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-7135), float(560), float(-6955), float(1.10), float(0.85))
deltaguard3 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-7150), float(560), float(-6940), float(1.20), float(0.85))
deltaguard4 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-7143), float(560), float(-6910), float(1.78), float(0.85))
deltaguard5 = stcSvc.spawnObject('outbreak_imp_trooper_guard', 'dathomir', long(0), float(-7150), float(560), float(-6910), float(1.75), float(0.85))
deltaguard1 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-7155), float(560), float(-6955), float(-1.29), float(0.85))
deltaguard2 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-7135), float(560), float(-6955), float(1.10), float(0.85))
deltaguard3 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-7150), float(560), float(-6940), float(1.20), float(0.85))
deltaguard4 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-7143), float(560), float(-6910), float(1.78), float(0.85))
deltaguard5 = stcSvc.spawnObject('outbreak_mixed_guard_aggro', 'dathomir', long(0), float(-7150), float(560), float(-6910), float(1.75), float(0.85))
# Camp Epsilon -7463 -7392
return