diff --git a/README.md b/README.md index cb11453c..aaa25749 100644 --- a/README.md +++ b/README.md @@ -564,6 +564,7 @@ * Gramophone initially spawns at Excavation Site gramophone table * Teleporters stay active after picking up gramophone * Teleporters in The Crazy Place become active when placing gramophone +* Players face away from the teleporters when returning from The Crazy Place * Musical parts no longer show on HUD * Der Wunderfizz: increased cost from 1500 to 2500 * Der Wunderfizz: all perks have an equal chance of being obtained diff --git a/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc b/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc index 6ac7b0e8..487e52e0 100644 --- a/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc +++ b/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc @@ -63,6 +63,8 @@ init() level.custom_craftable_validation = scripts\zm\replaced\zm_tomb_craftables::tomb_custom_craftable_validation; level.zombie_custom_equipment_setup = scripts\zm\replaced\zm_tomb_craftables::setup_quadrotor_purchase; + change_stargate_teleport_return_player_angles(); + level thread increase_solo_door_prices(); level thread zombie_blood_dig_changes(); level thread updatecraftables(); @@ -98,6 +100,33 @@ tomb_special_weapon_magicbox_check(weapon) return 1; } +change_stargate_teleport_return_player_angles() +{ + struct = getstructarray( "air_teleport_return", "targetname" ); + foreach (pos in struct) + { + pos.angles = (0, -120, 0); + } + + struct = getstructarray( "elec_teleport_return", "targetname" ); + foreach (pos in struct) + { + pos.angles = (0, 0, 0); + } + + struct = getstructarray( "fire_teleport_return", "targetname" ); + foreach (pos in struct) + { + pos.angles = (0, -130, 0); + } + + struct = getstructarray( "ice_teleport_return", "targetname" ); + foreach (pos in struct) + { + pos.angles = (0, -110, 0); + } +} + increase_solo_door_prices() { if(!(is_classic() && level.scr_zm_map_start_location == "tomb"))