Merge pull request #11 in SWGNXT/dsrc from bestineElections to nge-content

* commit '829834eaefa4fdc664736871810bc73aa183d842': (25 commits)
  *Added all Bestine Election NPCs, along with various other NPCs that spawn throughout Bestine
  *Added Missing NPC Spawner and appropriate Variables
  *Added Missing NPC Spawner and appropriate Variables
  *Added Missing NPC Spawner and appropriate Variables(Note: NPC will not spawn due to possible missing object template)
  *Added Missing NPC Spawner and appropriate Variables
  *Added Missing NPC Spawner and appropriate Variables
  *Added OnAttach trigger in order to keep compatible with buildout tables *Added missing code to triggers that should have inherited code from flip_banner.script, but did not. *Commented out onHearSpeech trigger due to no God Mode check. *Added messageHandler to CheckBannerImpulse.. should have inherited code from flip_banner.script, but did not.
  *Added OnAttach trigger in order to keep compatible with buildout tables
  *Attached necessary scripts and variables to NPC
  *Added OnAttach trigger for celebrityspawner in order to keep compatible with buildout tables
  *Made Smuggler NPC sit
  *NPC now drinks out of cup rather than nothing
  *NPC now drinks out of cup rather than nothing
  *Added OnAttach trigger to keep system working in buildout tables
  *Commented out persisting of objects in order to keep things working in buildout tables *Changed template of NPC spawner in order to prevent persisting of spawner(this would cause multiple spawners to spawn each server reset and multiple NPCs as well)
  *Added OnAttach trigger in order to keep system working with buildout tables
  *Added a Spawner for Museum Curator *Commented out persisting of objects in order to keep things working in buildout tables
  *Commented out persisting of objects in order to keep things working in buildout tables
  *Added Spawners for NPC's involved with the Bestine Museum Event
  *Added Spawner for Bestine Election Smuggler Spawner
  ...
This commit is contained in:
nightsister
2014-12-07 17:04:37 -05:00
25 changed files with 429 additions and 30 deletions
+1
View File
@@ -1255,3 +1255,4 @@ i i h i f f f f f f f s p
4085429 0 object/static/item/item_armor_bone_chestplate.iff 0 1892.3 12 724.25 -3.20E-08 0 1 0 $|
4085430 0 object/static/item/item_armor_chitin_chestplate.iff 0 1893.31 12 724.25 -3.20E-08 0 1 0 $|
4085431 0 object/static/item/item_armor_composite_chestplate.iff 0 1894.16 12 724.255 -3.20E-08 0 1 0 $|
9865353 0 object/tangible/planet_map_location/city.iff 0 1434.6715 13 723.1726 -3.20E-08 0 1 0 $|
+1
View File
@@ -1060,3 +1060,4 @@ i i h i f f f f f f f s p
9025621 0 object/static/structure/talus/talus_imprv_flagpole_s01.iff 0 701.491 20.1069 961.097 1 0 0 0 $|
9025622 0 object/static/structure/talus/talus_imprv_flagpole_s01.iff 0 669.022 20.1069 960.787 1 0 0 0 $|
9645427 0 object/static/structure/tatooine/wall_archway_tatooine_large_style_01.iff 0 1467.44 23.0069 1423.43 -0.60582 0 0.795602 0 $|
9805353 0 object/tangible/planet_map_location/city.iff 0 329.7967 6 1165.197 -0.60582 0 0.795602 0 $|
+12 -11
View File
@@ -69,11 +69,11 @@ i i h i f f f f f f f s p
683522 0 object/tangible/crafting/station/public_food_station.iff 0 918.003 12 524.696 0.941076 0 0.338196 0 $|
683528 0 object/static/structure/tatooine/pillar_pristine_large_style_01.iff 0 746.647 12 396.404 -0.693114 0 0.720829 0 $|
683529 0 object/static/structure/tatooine/pillar_pristine_small_style_01.iff 0 747.647 12 396.442 -0.693114 0 0.720829 0 $|
926472 0 object/building/tatooine/capitol_tatooine.iff 0 888.05 12 505.266 0.432613 0 0.90158 0 $|
926472 0 object/building/tatooine/capitol_tatooine.iff 0 888.05 12 505.266 0.432613 0 0.90158 0 city.bestine.politician_event_grandparent:theme_park.dungeon.generic_spawner bestine.tatooineCapitolObjId|0|926472|spawn_table|4|datatables/spawning/poi_spawner/tatooine/bestine_capitol_spawns.iff|$|
1026824 0 object/building/tatooine/starport_tatooine.iff 0 671.846 12 519.774 0.646043 0 0.763301 0 structure.municipal.starport:theme_park.dungeon.generic_spawner travel.air_time|0|60|travel.cost|0|150|travel.ground_time|0|300|travel.point_name|4|Bestine Starport|travel.shuttle_available|0|1|travel.version|0|3|spawn_table|4|datatables/spawning/building_spawns/bestine_starport.iff|$|
1027887 0 object/building/tatooine/housing_tatt_style01_small.iff 0 674.808 26 226.958 0.813878 0 0.581036 0 $|
1027931 0 object/building/tatooine/housing_tatt_style01_small.iff 0 695.312 26 233.743 -0.592536 0 0.805544 0 $|
1028167 0 object/building/tatooine/housing_tatt_style01_large.iff 0 944.493 12 424.633 0.937647 0 0.34759 0 $|
1028167 0 object/building/tatooine/housing_tatt_style01_large.iff 0 944.493 12 424.633 0.937647 0 0.34759 0 planet_map.map_loc:city.bestine.museum_event_grandparent:theme_park.dungeon.generic_spawner planetMap.category|4|museum|spawn_table|4|datatables/spawning/poi_spawner/tatooine/bestine_artist_spawns.iff|$|
1028202 0 object/building/tatooine/filler_building_tatt_style01_02.iff 0 989.794 12 452.072 0.4008 0 0.916166 0 $|
1028208 0 object/building/tatooine/filler_building_tatt_style01_05.iff 0 976 12 376 0.947651 0 0.319309 0 $|
1028233 0 object/building/tatooine/filler_building_tatt_style01_08.iff 0 1010.83 12 354.758 0.993395 0 -0.114747 0 $|
@@ -89,12 +89,12 @@ i i h i f f f f f f f s p
1028455 0 object/building/tatooine/housing_tatt_style01_small.iff 0 1061.82 10 532.696 0.999058 0 -0.0433937 0 $|
1028466 0 object/building/tatooine/housing_tatt_style01_small.iff 0 1077.38 10 539.96 0.91973 0 -0.392552 0 $|
1028477 0 object/building/tatooine/housing_tatt_style01_small.iff 0 1046.7 10 533.821 0.999135 0 0.0415801 0 $|
1028489 0 object/building/tatooine/housing_tatt_style01_med.iff 0 1049.11 10 560.029 -0.0142038 0 0.999899 0 $|
1028489 0 object/building/tatooine/housing_tatt_style01_med.iff 0 1049.11 10 560.029 -0.0142038 0 0.999899 0 planet_map.map_loc planetMap.category|4|cantina|healing.canhealshock|0|1|safeLogout|0|1|$|
1028544 0 object/building/tatooine/guild_combat_tatooine_style_01.iff 0 798.621 12 503.067 0.94441 0 0.328769 0 $|
1028554 0 object/building/tatooine/guild_commerce_tatooine_style_01.iff 0 871.565 12 594.342 -0.328017 0 0.944672 0 $|
1028554 0 object/building/tatooine/guild_commerce_tatooine_style_01.iff 0 871.565 12 594.342 -0.328017 0 0.944672 0 theme_park.tatooine.bestine.bestine_sean_questn_university_spawner $|
1028574 0 object/building/tatooine/guild_university_tatooine_style_01.iff 0 793.718 12 581.644 0.431176 0 0.902268 0 $|
1028590 0 object/building/tatooine/association_hall_civilian_tatooine.iff 0 928.921 12 569.878 -0.329522 0 0.944148 0 $|
1028644 0 object/building/tatooine/cantina_tatooine.iff 0 643.74 12 427.231 0.986156 0 0.165823 0 structure.municipal.cantina:event.bh_event.cantina_controller:theme_park.dungeon.generic_spawner spawn_table|4|datatables/spawning/clone_relic/ep3_bestine_cantina.iff|$|
1028644 0 object/building/tatooine/cantina_tatooine.iff 0 643.74 12 427.231 0.986156 0 0.165823 0 structure.municipal.cantina:event.bh_event.cantina_controller:theme_park.dungeon.generic_spawner spawn_table|4|datatables/spawning/clone_relic/ep3_bestine_cantina.iff|healing.canhealshock|0|1|safeLogout|0|1|$|
1033371 0 object/tangible/terminal/terminal_mission_bounty.iff 0 602.784 12 438.2 -0.475382 0 0.879779 0 $|
1033373 0 object/tangible/terminal/terminal_mission_bounty.iff 0 601.938 12 435.492 0.953847 0 -0.300293 0 $|
1153330 0 object/static/structure/tatooine/wall_gate_tatooine_style_03.iff 0 1030.63 12 357.229 0.995953 0 0.0898786 0 $|
@@ -519,7 +519,7 @@ i i h i f f f f f f f s p
1278956 0 object/building/tatooine/housing_tatt_style01_small.iff 0 700.178 26 220.495 -0.592535 0 0.805544 0 $|
1278967 0 object/static/structure/tatooine/beam_tatooine_overhead_style_02.iff 0 691.087 26 213.639 0.148651 0 0.98889 0 $|
1278968 0 object/building/tatooine/housing_tatt_style01_small.iff 0 679.673 26 213.71 0.81388 0 0.581033 0 $|
1278979 0 object/building/tatooine/housing_tatt_style01_small.iff 0 709.399 26 206.143 -0.592536 0 0.805544 0 $|
1278979 0 object/building/tatooine/housing_tatt_style01_small.iff 0 709.399 26 206.143 -0.592536 0 0.805544 0 theme_park.tatooine.bestine.bestine_farious_gletch_spawner $|
1278990 0 object/static/structure/tatooine/beam_tatooine_overhead_style_02.iff 0 700.304 26 199.273 0.988012 0 -0.15438 0 $|
1278991 0 object/building/tatooine/housing_tatt_style01_small.iff 0 688.895 26 199.357 0.81388 0 0.581033 0 $|
1279012 0 object/static/structure/tatooine/wall_pristine_tatooine_small_style_01.iff 0 710.426 25.0872 219.97 0.805072 0 0.593178 0 $|
@@ -542,7 +542,7 @@ i i h i f f f f f f f s p
1279857 0 object/static/structure/tatooine/wall_pristine_tatooine_small_style_01.iff 0 690.631 26 192.392 0.998988 0 0.044985 0 $|
1279865 0 object/static/structure/tatooine/debris_tatt_pipe_narrow_2.iff 0 682.506 26 206.115 0.453597 0 0.891207 0 $|
1279916 0 object/building/military/military_outpost_guard_tower_1.iff 0 889.281 98 181.347 1 0 0 0 $|
1279918 0 object/building/military/military_base_shed_imperial_style_01.iff 0 913.675 98 185.441 1 0 0 0 $|
1279918 0 object/building/military/military_base_shed_imperial_style_01.iff 0 913.675 98 185.441 1 0 0 0 theme_park.tatooine.bestine.bestine_pfilbee_jhorn_spawner $|
1279925 0 object/building/military/military_outpost_guard_tower_1.iff 0 922.491 98 202.145 0.00579658 0 0.999983 0 $|
1279939 0 object/static/structure/military/military_wall_strong_imperial_style_01.iff 0 890.421 97.9377 201.164 -0.703847 0 0.710351 0 $|
1279940 0 object/static/structure/military/military_wall_strong_imperial_style_01.iff 0 890.505 98.0263 190.917 -0.703845 0 0.710354 0 $|
@@ -708,7 +708,7 @@ i i h i f f f f f f f s p
1404942 0 object/static/worldbuilding/sign/thm_sign_starport.iff 0 753.588 12 498.737 0.996802 0 0.0799147 0 $|
1407923 0 object/static/structure/tatooine/pillar_pristine_large_style_01.iff 0 911.823 12 435.982 0.932328 0 0.361615 0 $|
1414855 0 object/static/structure/tatooine/pillar_damaged_large_style_01.iff 0 1027.88 12 344.848 0.981048 0 0.193766 0 $|
1528395 0 object/building/tatooine/housing_tatt_style01_med.iff 0 972.689 12 467.531 0.422132 0 0.906534 0 $|
1528395 0 object/building/tatooine/housing_tatt_style01_med.iff 0 972.689 12 467.531 0.422132 0 0.906534 0 theme_park.tatooine.bestine.bestine_sean_questp_house_spawner $|
1631313 0 object/static/worldbuilding/sign/thm_sign_bank.iff 0 756.716 12 443.053 0.959662 0 0.281157 0 $|
1631505 0 object/static/worldbuilding/sign/thm_sign_cantina.iff 0 586.721 12 424.335 0.985585 0 0.169182 0 $|
1631508 0 object/static/worldbuilding/sign/thm_sign_cantina.iff 0 692.617 12 409.922 0.974794 0 0.223106 0 $|
@@ -872,7 +872,7 @@ i i h i f f f f f f f s p
5565566 0 object/static/creature/tatooine_jawa.iff 0 946.019 12 390.485 0.949235 0 -0.314567 0 $|
6016470 0 object/static/structure/tatooine/pillar_damaged_large_style_01.iff 0 772.725 12 611.971 0.9998 0 -0.0199986 0 $|
6016471 0 object/static/structure/tatooine/pillar_damaged_large_style_01.iff 0 763.624 12 611.774 -0.696706 0 0.717356 0 $|
6016767 0 object/tangible/furniture/modern/rug_rect_sml_s01.iff 0 931.166 12 409.331 0.808028 0 0.589144 0 $|
6016767 0 object/tangible/furniture/modern/rug_rect_sml_s01.iff 0 931.166 12 409.331 0.808028 0 0.589144 0 city.bestine.marketplace_grandparent $|
6016769 0 object/static/structure/tatooine/jawa/tent_jawa_01_small.iff 0 931.071 12.0316 409.41 0.949235 0 0.314567 0 $|
6016770 0 object/static/item/item_basket_shallow.iff 0 931.25 12.0316 411.522 1 0 0 0 $|
6016771 0 object/static/item/item_bread_loaf.iff 0 931.421 12.0949 411.646 1 0 0 0 $|
@@ -886,7 +886,7 @@ i i h i f f f f f f f s p
6076112 0 object/tangible/terminal/terminal_mission.iff 0 752.37 12 490.847 0.656219 0 0.754571 0 $|
6595463 0 object/building/tatooine/shuttleport_tatooine.iff 0 969.396 12 530.27 0.998488 0 0.0549775 0 structure.municipal.starport:planet_map.map_loc travel.cost|0|200|travel.ground_time|0|300|travel.is_shuttleport|0|1|travel.point_name|4|Bestine Shuttleport|travel.shuttle_available|0|1|travel.version|0|3|$|
6714210 0 object/static/structure/tatooine/wall_gate_tatooine_wide_style_01.iff 0 738.661 12.0252 395.766 0.717911 0 0.696135 0 $|
7265850 0 object/building/tatooine/salon_tatooine.iff 0 606.2 12.2702 396.435 -0.364131 0 0.931348 0 $|
7265850 0 object/building/tatooine/salon_tatooine.iff 0 606.2 12.2702 396.435 -0.364131 0 0.931348 0 planet_map.map_loc planetMap.category|4|salon|$|
8216221 0 object/static/structure/general/banner_imperial_style_01.iff 0 918.451 12 435.475 0.914025 0 -0.405658 0 $|
8216222 0 object/static/item/item_tech_console_sectional_b.iff 0 915.752 12 432.587 0.694768 0 0.719234 0 $|
8885452 0 object/static/structure/tatooine/tato_imprv_flagpole_s01.iff 0 849.706 38.5502 424.14 1 0 0 0 $|
@@ -935,5 +935,6 @@ i i h i f f f f f f f s p
1250339 0 object/static/structure/general/droid_r3_head.iff 0 934.474 12 387.194 1 0 0 0 $|
1250340 0 object/static/structure/general/droid_r4_leg.iff 0 930.458 12 384.91 1 0 0 0 $|
3455378 0 object/static/structure/general/droid_r5_head.iff 0 1022.75 10 533.756 0.999392 -0.00489905 0.00331686 0.0343579 $|
4005381 0 object/building/tatooine/hospital_tatooine_style02.iff 0 730.353 12 606.375 0.462485 0 0.886627 0 $|
4005381 0 object/building/tatooine/hospital_tatooine_style02.iff 0 730.353 12 606.375 0.462485 0 0.886627 0 theme_park.tatooine.bestine.bestine_melios_purl_spawner $|
9755355 0 object/static/structure/general/droid_r5_head.iff 0 735.788 11.3043 478.064 0.958244 -0.28594 0.00252087 8.83E-05 $|
9835358 0 object/tangible/planet_map_location/city.iff 0 755.4132 12 505.9001 0.958244 -0.28594 0.00252087 8.83E-05 $|
@@ -1,3 +1,5 @@
server_template_crc cell_index px py pz qw qx qy qz scripts objvars
h i f f f f f f f s p
object/building/kashyyyk/thm_kash_rodian_bannerpole_s01.iff 0 0 0 0 0 0 0 0 $|
objid container server_template_crc cell_index px py pz qw qx qy qz scripts objvars
i i h i f f f f f f f s p
7125597 0 object/building/kashyyyk/thm_kash_rodian_bannerpole_s01.iff 0 0 0 0 0 0 0 0 $|
7125595 0 object/tangible/ground_spawning/area_spawner.iff 0 1145.00 150.2 175.7 0 0 0 0 systems.spawning.spawner_area fltMaxSpawnTime|2|300.000000|fltMinSpawnTime|2|299.000000|fltRadius|2|5.000000|intDefaultBehavior|0|2|intGoodLocationSpawner|0|0|intSpawnCount|0|12|intSpawnSystem|0|1|registerWithController|0|1|strName|4|brigand_camp_1|strSpawnerType|4|area|strSpawns|4|brigand|$|
7125598 0 object/tangible/ground_spawning/area_spawner.iff 0 1002.0 187.8 1077 0.992844 0.00050183 -0.119417 0.00032958 systems.spawning.spawner_area fltMaxSpawnTime|2|600.000000|fltMinSpawnTime|2|299.000000|fltRadius|2|2.000000|intDefaultBehavior|0|2|intGoodLocationSpawner|0|0|intSpawnCount|0|32|intSpawnSystem|0|1|registerWithController|0|1|strName|4|brigand_camp_2|strSpawnerType|4|area|strSpawns|4|brigand|$|
@@ -33,3 +33,5 @@ i i h i f f f f f f f s p
7125587 7125559 object/cell/cell.iff 28 0 0 0 1 0 0 0 $|
7125588 7125559 object/cell/cell.iff 29 0 0 0 1 0 0 0 $|
-1648725923 0 object/building/faction_perk/hq/planet_base_register.iff 0 1.10811 195 2039.25 1 0 0 0 faction_perk.hq.planetary_base_register $|
7125590 0 object/tangible/ground_spawning/area_spawner.iff 0 1500.0 180.0 48.0 0.992844 0.00050183 -0.119417 0.00032958 systems.spawning.spawner_area fltMaxSpawnTime|2|900.000000|fltMinSpawnTime|2|600.000000|fltRadius|2|1.000000|intDefaultBehavior|0|2|intGoodLocationSpawner|0|0|intSpawnCount|0|1|intSpawnSystem|0|1|registerWithController|0|1|strName|4|brigand_leader|strSpawnerType|4|area|strSpawns|4|brigand_leader|$|
7125594 0 object/tangible/ground_spawning/area_spawner.iff 0 1503.0 180.0 48.0 0.992844 0.00050183 -0.119417 0.00032958 systems.spawning.spawner_area fltMaxSpawnTime|2|900.000000|fltMinSpawnTime|2|600.000000|fltRadius|2|3.000000|intDefaultBehavior|0|2|intGoodLocationSpawner|0|0|intSpawnCount|0|2|intSpawnSystem|0|1|registerWithController|0|1|strName|4|brigand_camp_3|strSpawnerType|4|area|strSpawns|4|brigand|$|
@@ -1,4 +1,5 @@
spawns name room loc_x loc_y loc_z yaw script mood animation_mood respawn_time spawn_objvar special_room special_room_script room_objvar room_objvar_name room_objvar_value
s s s f f f f s s s i s s s s s s
clone_relics_qakkee cantina 3 -0.9 5.7 176 npc_standing_drinking 10
bounty_guild_bounty_check_rep cantina 4.2 -0.9 -4.8 -5 npc_standing_drinking 10
spawns name room loc_x loc_y loc_z yaw script mood animation_mood respawn_time spawn_objvar special_room special_room_script room_objvar room_objvar_name room_objvar_value
s s s f f f f s s s i s s s s s s
clone_relics_qakkee cantina 3 -0.9 5.7 176 npc_standing_drinking 10
bounty_guild_bounty_check_rep cantina 4.2 -0.9 -4.8 -5 npc_standing_drinking 10
object/tangible/ground_spawning/area_spawner.iff Smuggler Spawner alcove4 3.1 -0.9 22.6 -179 city.bestine.politician_event_spawner 10 "string:spawns=victor_questn_cantina,string:quest_script=conversation.victor_questn_cantina"
@@ -0,0 +1,8 @@
spawns name room loc_x loc_y loc_z yaw script mood animation_mood respawn_time spawn_objvar special_room special_room_script room_objvar room_objvar_name room_objvar_value
s s s f f f f s s s i s s s s s s
object/tangible/ground_spawning/area_spawner.iff bestine_artist01 world 3312 5 -4655 -147 city.bestine.museum_event_spawner 1 "string:spawns=bestine_artist01,string:quest_script=conversation.bestine_artist01"
object/tangible/ground_spawning/area_spawner.iff bestine_artist02 world 1521 7 3259 177 city.bestine.museum_event_spawner 1 "string:spawns=bestine_artist02,string:quest_script=conversation.bestine_artist02"
object/tangible/ground_spawning/area_spawner.iff bestine_artist03 world -3101 5 2184 137 city.bestine.museum_event_spawner 1 "string:spawns=bestine_artist03,string:quest_script=conversation.bestine_artist03"
object/tangible/ground_spawning/area_spawner.iff bestine_artist04 world 3475.1 5 -4975.5 38 city.bestine.museum_event_spawner 1 "string:spawns=bestine_artist04,string:quest_script=conversation.bestine_artist04"
object/tangible/ground_spawning/area_spawner.iff bestine_artist05 world -2768 5 2110 90 city.bestine.museum_event_spawner 1 "string:spawns=bestine_artist05,string:quest_script=conversation.bestine_artist05"
object/tangible/ground_spawning/area_spawner.iff bestine_artist06 world -5238.8 75 -6568.1 114 city.bestine.museum_event_spawner 1 "string:spawns=bestine_artist06,string:quest_script=conversation.bestine_artist06"
@@ -0,0 +1,26 @@
spawns name room loc_x loc_y loc_z yaw script mood animation_mood respawn_time spawn_objvar special_room special_room_script room_objvar room_objvar_name room_objvar_value
s s s f f f f s s s i s s s s s s
object/tangible/ground_spawning/area_spawner.iff Victor Visalis Spawner meeting3 -26.4873 3.22324 20.2943 146 city.bestine.politician_event_spawner 1 "string:spawns=victor_visalis,string:npc_name=Victor Visalis,string:quest_script=conversation.victor_visalis"
object/tangible/ground_spawning/area_spawner.iff Sean Trenwell Spawner meeting6 19.4653 3.22324 -35.9776 10 city.bestine.politician_event_spawner 1 "string:spawns=sean_trenwell,string:npc_name=Sean Trenwell,string:quest_script=conversation.sean_trenwell"
object/tangible/ground_spawning/area_spawner.iff Tour Aryon Spawner meeting2 -37.3031 1.29422 0.713583 -125 city.bestine.politician_event_spawner 1 "string:spawns=tour_aryon,string:npc_name=Tour Aryon,string:quest_script=conversation.tour_aryon"
wilhalm_skrim meeting5 28.8936 1.29568 -5.97518 60 1
prefect_talmont lobby -1.9 3 -10 -160 1
object/tangible/ground_spawning/area_spawner.iff Keanna Liktna Spawner meeting3 -18.8886 3.22324 20.608 -152 city.bestine.politician_event_spawner 1 "string:spawns=keanna_likyna,string:npc_name=Keanna Li`kyna,string:quest_script=conversation.keanna_likyna"
object/tangible/ground_spawning/area_spawner.iff Indigo Siyan Spawner meeting6 24.6402 3.22324 -30.7135 -12 city.bestine.politician_event_spawner 1 "string:spawns=indigo_siyan,string:npc_name=Indigo Siyan,string:quest_script=conversation.indigo_siyan"
object/tangible/ground_spawning/area_spawner.iff Foofice Lightingrunner Spawner world -1357 26 -3871 -108 city.bestine.politician_event_spawner 1 "string:spawns=victor_questp_slums,string:npc_name=Foofice Lightingrunner,string:quest_script=conversation.victor_questp_slums"
object/tangible/ground_spawning/area_spawner.iff Izosxisli Spawner world -1294 26 -3500 160 city.bestine.politician_event_spawner 1 "string:spawns=victor_questp_hospital,string:npc_name=Izosxisli,string:quest_script=conversation.victor_questp_hospital"
object/tangible/ground_spawning/area_spawner.iff Orqiti Aneofo Spawner world -1104 12 -3705 -20 city.bestine.politician_event_spawner 1 "string:spawns=sean_questp_market,string:npc_name=Orqiti Aneofo,string:quest_script=conversation.sean_questp_market"
object/tangible/ground_spawning/area_spawner.iff Hutt Informant Spawner world -1120 12 -3639 -20 city.bestine.politician_event_spawner 1 "string:spawns=hutt_informant_quest,string:quest_script=conversation.hutt_informant_quest"
junk_dealer world -1026 10 -3557 5 1 "int:ai.defaultCalmBehavior=1"
junk_dealer world -1135 12 -3683 -170 1 "int:ai.defaultCalmBehavior=1"
junk_dealer world -1118 12 -3687 -140 1 "int:ai.defaultCalmBehavior=1"
herald_tatooine_viconya Vi`conya T`ili world -1101 10 -3549 -90 conversation.heraldtatooine1 1 "int:ai.defaultCalmBehavior=1"
coa2_imperial_coordinator world -1131 12 -3659 -50 1 "int:ai.defaultCalmBehavior=1"
death_watch_herald_imperial world -1160 12 -3525 -115 conversation.death_watch_imperial_herald 1 "int:ai.defaultCalmBehavior=1"
kormund_thrylle world -1043 10 -3530 175 npc.static_quest.quest_convo 1 "string:quest_table=kormund_thrylle,int:ai.defaultCalmBehavior=1"
commoner_human_male world -1252 12 -3617 -90 conversation.lf_safetyquestgiver 1 "int:ai.defaultCalmBehavior=1"
imperial_recruiter world -1275 12 -3594 -80 1 "int:ai.defaultCalmBehavior=1"
imperial_recruiter world -1138 98 -3897 -1 1 "int:ai.defaultCalmBehavior=1"
imperial_recruiter world -1307 12 -3662 -130 1 "int:ai.defaultCalmBehavior=1"
imperial_recruiter world -1299 12 -3507 45 1 "int:ai.defaultCalmBehavior=1"
imperial_recruiter world -1072 12 -3594 -140 1 "int:ai.defaultCalmBehavior=1"
@@ -23,7 +23,7 @@ messageHandler bootStrap()
location locTest = getLocation(self);
locTest.x = locTest.x +1;
obj_id objRaidSpawner = createObject(MASTER_OBJECT_TEMPLATE, locTest);
persistObject(objRaidSpawner);
//persistObject(objRaidSpawner);
setObjVar(self, "objRaidSpawner", objRaidSpawner); // Suppress linting - The lint script is incorrectly
// catching this due to the similarly named array
@@ -31,4 +31,4 @@ messageHandler bootStrap()
setObjVar(objRaidSpawner, "strDataTable", strDataTable);
}
return SCRIPT_CONTINUE;
}
}
@@ -4,6 +4,7 @@
// otherwise it makes a new one.
include library.utils;
include library.create;
const string MASTER_OBJECT_TEMPLATE = "object/tangible/poi/tatooine/bestine/bestine_museum_event_master_object.iff";
const string VARNAME_MUSEUM_STATUS = "strMuseumEventStatus";
@@ -17,6 +18,7 @@ const string DATATABLE_NAME = "datatables/city/bestine/bestine_museum_event.iff"
trigger OnInitialize()
{
messageTo(self, "bootStrap", null, 2, false);
messageTo(self, "spawnCurator", null, 2, false);
return SCRIPT_CONTINUE;
}
@@ -61,7 +63,7 @@ messageHandler bootStrap()
location locTest = getLocation(self);
locTest.x = locTest.x +1;
obj_id objMuseumEventMaster = createObject(MASTER_OBJECT_TEMPLATE, locTest);
persistObject(objMuseumEventMaster);
//persistObject(objMuseumEventMaster);
dctScriptVars.put("objMasterObjectId", objMuseumEventMaster);
dctScriptVars.put(VARNAME_MUSEUM_STATUS, "museumEventStarted");
@@ -207,6 +209,25 @@ void updateMuseumEventStatus(obj_id self)
return;
}
messageHandler spawnCurator()
{
//UPDATED 11/5/14: Added Museum Curator spawner to script.
//Originally, this NPC was spawned from the Gold DB,
//but now spawns here.
obj_id objMuseumRoom = getCellId (self, "livingroom2");
location locCuratorLocation = new location (22.6f, 0.19f, -0.15f, "tatooine", objMuseumRoom);
obj_id template = create.object("object/tangible/ground_spawning/area_spawner.iff", locCuratorLocation);
setObjVar(template, "spawns", "lilas_dinhint");
setObjVar(template, "npc_name", "Lilas Dinhint");
setObjVar(template, "quest_script", "conversation.lilas_dinhint");
string spawnerObjName = "Lilas Dinhint Spawner";
setName(template, spawnerObjName);
attachScript(template, "city.bestine.museum_event_spawner");
return SCRIPT_CONTINUE;
}
// message from persisted master object when museum event ends or begins.
messageHandler handleMuseumEventStateChange()
{
@@ -13,6 +13,14 @@ trigger OnInitialize()
return SCRIPT_CONTINUE;
}
trigger OnAttach()
{
deltadictionary dctScriptVars = self.getScriptVars();
dctScriptVars.put("numMuseumChecks", 1);
messageTo(self, "checkForMuseumBuilding", null, 60, false);
return SCRIPT_CONTINUE;
}
messageHandler checkForMuseumBuilding()
{
location here = getLocation(self);
@@ -115,4 +123,4 @@ void spawnNpc(obj_id self)
attachScript(npc, "conversation.bestine_artist06");
return;
}
}
@@ -34,7 +34,7 @@ messageHandler bootStrap()
location locTest = getLocation(self);
locTest.x = locTest.x +1;
obj_id objPoliticianEventMaster = createObject(MASTER_OBJECT_TEMPLATE, locTest);
persistObject(objPoliticianEventMaster);
//persistObject(objPoliticianEventMaster);
dctScriptVars.put("objMasterObjectId", objPoliticianEventMaster);
dctScriptVars.put(VARNAME_ELECTION_STATUS, "electionStarted");
@@ -50,10 +50,12 @@ messageHandler spawnMissingNpc()
{
obj_id objCapitolLobby = getCellId (self, "lobby");
location locMissingNpcSpawnerLocation = new location (6.10f, 0.30f, -0.49f, "tatooine", objCapitolLobby);
obj_id[] objMissingNpcSpawnerIds = getAllObjectsWithTemplate(locMissingNpcSpawnerLocation, 10, MISSING_NPC_TEMPLATE);
if ( objMissingNpcSpawnerIds == null || objMissingNpcSpawnerIds.length < 1 )
obj_id missingNpc = createObject(MISSING_NPC_TEMPLATE, locMissingNpcSpawnerLocation);
obj_id missingNpc = createObject("object/tangible/ground_spawning/area_spawner.iff", locMissingNpcSpawnerLocation);
setObjVar(missingNpc, "spawns", "victor_questn_capitol");
setObjVar(missingNpc, "quest_script", "conversation.victor_questn_capitol");
string spawnerObjName = "Trooper Spawner";
setName(missingNpc, spawnerObjName);
attachScript(missingNpc, "city.bestine.politician_event_spawner");
return SCRIPT_CONTINUE;
}
@@ -11,6 +11,14 @@ trigger OnInitialize()
return SCRIPT_CONTINUE;
}
trigger OnAttach()
{
deltadictionary dctScriptVars = self.getScriptVars();
dctScriptVars.put("numCapitolChecks", 1);
messageTo(self, "checkForCapitolBuilding", null, 60, false);
return SCRIPT_CONTINUE;
}
messageHandler checkForCapitolBuilding()
{
location here = getLocation(self);
@@ -120,4 +128,4 @@ void spawnNpc(obj_id self)
}
}
return;
}
}
@@ -434,6 +434,8 @@ trigger OnInitialize ()
detachScript(self, "conversation.bounty_check_reset");
setCondition (self, CONDITION_CONVERSABLE);
obj_id cup1 = createObject ("object/tangible/item/con_drinking_glass_01.iff", self, "");
equip (cup1, self);
return SCRIPT_CONTINUE;
}
@@ -441,6 +443,8 @@ trigger OnInitialize ()
trigger OnAttach ()
{
setCondition (self, CONDITION_CONVERSABLE);
obj_id cup1 = createObject ("object/tangible/item/con_drinking_glass_01.iff", self, "");
equip (cup1, self);
return SCRIPT_CONTINUE;
}
@@ -7599,6 +7599,8 @@ trigger OnInitialize ()
setCondition (self, CONDITION_CONVERSABLE);
setInvulnerable (self, true);
setName(self, new string_id( "ep3/npc_names", "clone_relics_qakkee" ));
obj_id cup1 = createObject ("object/tangible/item/con_drinking_glass_01.iff", self, "");
equip (cup1, self);
return SCRIPT_CONTINUE;
}
@@ -7608,6 +7610,8 @@ trigger OnAttach ()
setCondition (self, CONDITION_CONVERSABLE);
setInvulnerable (self, true);
setName(self, new string_id( "ep3/npc_names", "clone_relics_qakkee" ));
obj_id cup1 = createObject ("object/tangible/item/con_drinking_glass_01.iff", self, "");
equip (cup1, self);
return SCRIPT_CONTINUE;
}
@@ -166,6 +166,9 @@ trigger OnInitialize ()
detachScript(self, "npc.conversation.victor_questn_cantina");
setCondition (self, CONDITION_CONVERSABLE);
ai_lib.setDefaultCalmMood (self, "npc_sitting_chair");
int self_yaw = 179;
setYaw (self, self_yaw);
return SCRIPT_CONTINUE;
}
@@ -173,6 +176,9 @@ trigger OnInitialize ()
trigger OnAttach ()
{
setCondition (self, CONDITION_CONVERSABLE);
ai_lib.setDefaultCalmMood (self, "npc_sitting_chair");
int self_yaw = 179;
setYaw (self, self_yaw);
return SCRIPT_CONTINUE;
}
@@ -38,4 +38,42 @@ trigger OnInitialize()
}
return SCRIPT_CONTINUE;
}
}
trigger OnAttach()
{
string spawn = getStringObjVar (self, "spawns");
location here = getLocation(self);
here.y = here.y + 0.5f;
obj_id celeb = create.object (spawn, here);
setInvulnerable(celeb, true);
ai_lib.setDefaultCalmBehavior( celeb, ai_lib.BEHAVIOR_SENTINEL );
if (hasObjVar (self, "quest_script"))
{
string script = getStringObjVar (self, "quest_script");
attachScript (celeb, script);
}
if (hasObjVar (self, "quest_table"))
{
string table = getStringObjVar (self, "quest_table");
setObjVar (celeb, "quest_table", table);
}
if (hasObjVar (self, "npc_name"))
{
string name = getStringObjVar (self, "npc_name");
if (name != null)
{
if (name != "")
{
setName (celeb, name);
}
}
}
return SCRIPT_CONTINUE;
}
@@ -1,11 +1,26 @@
include library.ai_lib;
include library.hue;
include library.colors;
include library.factions;
include library.chat;
include library.skill;
trigger OnAttach ()
{
ai_lib.setDefaultCalmBehavior( self, ai_lib.BEHAVIOR_SENTINEL );
if (!hasScript (self, "npc.converse.npc_converse_menu"))
{
attachScript (self, "npc.converse.npc_converse_menu");
}
if (!hasScript (self, "npc.static_quest.quest_convo"))
{
attachScript (self, "npc.static_quest.quest_convo");
}
setObjVar (self, "quest_table", "wilhalm_skrim");
factions.setFaction (self, "Imperial");
setName (self, "Wilhalm Skrim");
return SCRIPT_CONTINUE;
}
@@ -16,6 +16,18 @@ trigger OnInitialize()
return SCRIPT_CONTINUE;
}
//------------------------------------------------
// OnAttach
//------------------------------------------------
trigger OnAttach()
{
// messageTo( self, "spawnBanner", null, 1.f, false );
messageTo( self, "checkBannerImpulse", null, 1.f, false );
return SCRIPT_CONTINUE;
}
//------------------------------------------------
// OnDestroy
//------------------------------------------------
@@ -17,20 +17,45 @@ inherits systems.gcw.flip_banner;
trigger OnInitialize()
{
// messageTo( self, "spawnBanner", null, 1.f, false );
messageTo( self, "checkBannerImpulse", null, 1.f, false );
return SCRIPT_CONTINUE;
}
trigger OnAttach()
{
// messageTo( self, "spawnBanner", null, 1.f, false );
messageTo( self, "checkBannerImpulse", null, 1.f, false );
return SCRIPT_CONTINUE;
}
trigger OnDestroy()
{
if ( utils.hasScriptVar( self, "banner" ) )
{
obj_id banner = utils.getObjIdScriptVar( self, "banner" );
if ( isIdValid( banner ) )
destroyObject( banner );
}
return SCRIPT_CONTINUE;
}
trigger OnUnloadedFromMemory()
{
if ( utils.hasScriptVar( self, "banner" ) )
{
obj_id banner = utils.getObjIdScriptVar( self, "banner" );
if ( isIdValid( banner ) )
destroyObject( banner );
}
return SCRIPT_CONTINUE;
}
trigger OnHearSpeech(obj_id speaker, string strText)
/*trigger OnHearSpeech(obj_id speaker, string strText)
{
string[] strCommands = split(strText, ' ');
@@ -43,6 +68,55 @@ trigger OnHearSpeech(obj_id speaker, string strText)
return SCRIPT_CONTINUE;
}
*/
//------------------------------------------------
// checkBannerImpulse
//------------------------------------------------
messageHandler checkBannerImpulse()
{
// Determine who the winner is.
// float imp_r = gcw.getImperialRatio( self );
// float reb_r = gcw.getRebelRatio( self );
float imp_r = gcw.getImperialPercentileByRegion(self);
float reb_r = gcw.getRebelPercentileByRegion(self);
// LOG("gcw_region", "checkBannerImpulse imp_r: " + imp_r + " reb_r: " + reb_r);
if((imp_r > reb_r))// && (utils.getIntScriptVar(self, "faction" ) != 1))
{
// Switch to an Imp banner.
utils.setScriptVar( self, "faction", 1 );
// Destroy existing banner.
obj_id banner = utils.getObjIdScriptVar( self, "banner" );
if ( isIdValid( banner ) )
destroyObject( banner );
// Spawn a new banner.
spawnBanner( self, "imperial" );
}
else if((reb_r > imp_r))// && (utils.getIntScriptVar(self, "faction") != 2))
{
// Switch to a Reb banner.
utils.setScriptVar(self, "faction", 2);
// Destroy existing banner.
obj_id banner = utils.getObjIdScriptVar(self, "banner");
if(isIdValid(banner))
destroyObject(banner);
// Spawn a new banner.
spawnBanner(self, "rebel");
}
messageTo(self, "checkBannerImpulse", null, 3600.f, false);
return SCRIPT_CONTINUE;
}
//------------------------------------------------
// spawnBanner
@@ -0,0 +1,28 @@
include library.create;
include library.locations;
trigger OnInitialize()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
trigger OnAttach()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
messageHandler spawnMissingNpc()
{
//Spawns the Assassin Mission NPC for Bestine
obj_id spawnCell = getCellId (self, "livingroom1");
location locAsLocation = new location (2.0f, -0.4f, -5.3f, "tatooine", spawnCell);
obj_id template = create.object("farious_gletch", locAsLocation);
setObjVar(template, "quest_table", "farious_gletch");
attachScript(template, "npc.static_quest.quest_convo");
int as_yaw = -60;
setYaw(template, as_yaw);
return SCRIPT_CONTINUE;
}
@@ -0,0 +1,28 @@
include library.create;
include library.locations;
trigger OnInitialize()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
trigger OnAttach()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
messageHandler spawnMissingNpc()
{
//Spawns the Doctor NPC for Bestine
obj_id spawnCell = getCellId (self, "mainroom");
location locDocLocation = new location (-1.4f, 0.2f, 0.6f, "tatooine", spawnCell);
obj_id template = create.object("melios_purl", locDocLocation);
setObjVar(template, "quest_table", "melios_purl");
attachScript(template, "npc.static_quest.quest_convo");
int doc_yaw = 60;
setYaw(template, doc_yaw);
return SCRIPT_CONTINUE;
}
@@ -0,0 +1,28 @@
include library.create;
include library.locations;
trigger OnInitialize()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
trigger OnAttach()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
messageHandler spawnMissingNpc()
{
//Spawns the Imperial NPC for Bestine
obj_id spawnCell = getCellId (self, "room2");
location locImpLocation = new location (5.3f, 0.1f, -3.7f, "tatooine", spawnCell);
obj_id template = create.object("pfilbee_jhorn", locImpLocation);
setObjVar(template, "quest_table", "pfilbee_jhorn");
attachScript(template, "npc.static_quest.quest_convo");
int imp_yaw = -87;
setYaw(template, imp_yaw);
return SCRIPT_CONTINUE;
}
@@ -0,0 +1,51 @@
include library.create;
include library.locations;
trigger OnInitialize()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
messageTo(self, "spawnInformantNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
trigger OnAttach()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
messageTo(self, "spawnInformantNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
messageHandler spawnMissingNpc()
{
//Spawns Sean's teacher for the Bestine Election
//TODO: spawn chair and table; make professor sit
obj_id spawnCell = getCellId (self, "mainroom");
location locTeacherLocation = new location (3.6f, 1.1f, -4.6f, "tatooine", spawnCell);
obj_id template = create.object("object/tangible/ground_spawning/area_spawner.iff", locTeacherLocation);
setObjVar(template, "spawns", "sean_questn_university");
setObjVar(template, "npc_name", "Ocket Abaot");
setObjVar(template, "quest_script", "conversation.sean_questn_university");
string spawnerObjName = "Ocket Abaot Spawner";
setName(template, spawnerObjName);
attachScript(template, "city.bestine.politician_event_spawner");
return SCRIPT_CONTINUE;
}
messageHandler spawnInformantNpc()
{
obj_id spawnCell = getCellId (self, "meetinge");
location locImpLocation = new location (-6.5f, 1.1f, -11.6f, "tatooine", spawnCell);
obj_id template = create.object("coa3_information_imperial", locImpLocation);
int inform_yaw = -90;
setYaw(template, inform_yaw);
return SCRIPT_CONTINUE;
}
@@ -0,0 +1,30 @@
include library.create;
include library.locations;
trigger OnInitialize()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
trigger OnAttach()
{
messageTo(self, "spawnMissingNpc", null, 2, false);
return SCRIPT_CONTINUE;
}
messageHandler spawnMissingNpc()
{
//Spawns the housemaid for the Bestine Election
obj_id spawnCell = getCellId (self, "livingroom1");
location locMaidLocation = new location (3.0f, 0.4f, -0.2f, "tatooine", spawnCell);
obj_id template = create.object("object/tangible/ground_spawning/area_spawner.iff", locMaidLocation);
setObjVar(template, "spawns", "sean_questp_house");
setObjVar(template, "npc_name", "Edaekomeu Ossilei");
setObjVar(template, "quest_script", "conversation.sean_questp_house");
string spawnerObjName = "Edaekomeu Ossilei Spawner";
setName(template, spawnerObjName);
attachScript(template, "city.bestine.politician_event_spawner");
return SCRIPT_CONTINUE;
}