Editing
Bethesda Tutorial Multiple Ambushes
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Multiple Ambush Set up== Prefabs make simple ambushes relatively easy to set up - as detailed in [[Bethesda_Tutorial_Traps_and_Prefabs#Ambush_Set_ups|this tutorial]], but sometimes modifications need to be made. For example, multiple actors that ambush the player based on a single trigger. We'll add a couple more in our hallway here to provide a better lead up to our Boss. First, go back to WarehouseAmbushes and copy the Vertical Sarcophagus ambush set up. <br><br> {| width="40%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[image:Ambush201.jpg|350px|]] |style="width: 20%;background-color:white;"|[[Image:Ambush202.jpg|350px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.17</b>: <br>Vertical Sarcophagus set up in WarehouseAmbushes |style="width: 20%;background-color:white;"|<b>Fig. 6.18</b>: <br>|Ambush set up in the void |} <br> Now we are going to make another duplicate of this set up by selecting all the pieces and using CTRL+D and moving off into the void. We'll get back to this later. <br><br> {| width="15%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[Image:Ambush203.jpg|250px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.19</b>: <br>Two Ambush set ups in the void |} <br> Next we are going to delete one of the sarcophagi we placed in this hallway so we can replace it with an ambush. Then we are going to use Ctrl+Left Click to select the Sarcophagus, Lid, LvlDraugrAmbush1hMelee and '''''Ambush furniture'''' (The orange marker with the laying down figure) and move them into place. Next move the triggerbox into the hallway and scale/rotate it to cover the whole hallway. <br><br> {| width="15%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[Image:Ambush204.jpg|250px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.20</b>: <br>Triggerbox covering hallway |} <br> Now that the triggerbox is covering the hallway, lets hide it by selecting just the triggerbox and then pressing the '''1''' button twice to completely hide it. This will make it easier for us to position our other Ambushes. Hidden objects show up '''Blue''' in the [[Cell View]] panel. Next lets delete a couple more of these sarcophagi from the hallway. <br><br> {| width="15%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[Image:Ambush205.jpg|250px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.21</b>: <br>Triggerbox hidden, sarcophagi removed from hallway |} <br> We could just move the pieces in and have multiple triggerboxes in the hallway, but that gets hard to work with and we really want them all to use the same triggerbox so go ahead and delete the triggerbox from our ambush set up in the void. Don't worry, if you accidentally break something we can just copy a fresh set up from the '''WarehouseAmbushes'''. <br><br> {| width="15%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[Image:Ambush206.jpg|250px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.22</b>: <br>Triggerbox deleted from set up in the void |} <br> Now select the entire set up we have left in the void and duplicate it, then drag it into place as before. Repeat this till we have all the ambushes we want here then delete the set up in the void, as we won't need it any more. <br><br> {| width="40%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[image:Ambush207.jpg|350px|]] |style="width: 20%;background-color:white;"|[[Image:Ambush208.jpg|350px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.23</b>: <br>Second sarcophagus replaced with ambush |style="width: 20%;background-color:white;"|<b>Fig. 6.24</b>: <br>Third sarcophagus replaced with ambush |} <br> Now we need to hook up these actors to be activated by the triggerbox like our first ambush is. Use '''Alt+1''' to unhide all or '''F5''' to refresh the [[Render Window]] so we can see our triggerbox again. Then drag it out into the void for the moment. <br><br> {| width="40%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[image:Ambush209.jpg|350px|]] |style="width: 20%;background-color:white;"|[[Image:Ambush210.jpg|350px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.25</b>: <br>Triggerbox now visible on hallway again |style="width: 20%;background-color:white;"|<b>Fig. 6.26</b>: <br>Triggerbox moved out into the void for the moment |} <br> We could go into each of the actors and set up the triggerbox as an Activate Parent in the '''Activate Parents''' tab, but since we are doing more than one lets use a different tool, called [[Reference Batch Action]] or just '''Batch''' for short. This lets us perform the same action on all the references we have selected at once, which is a major time saver. First select just the Actors we want to have as ''Activate Children'' of the triggerbox. Next we are going to make sure the triggerbox is in view in the Render window then press the "'''-'''" button (located up near the Backspace key). This will bring up the batch window. <br><br> {| width="40%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[image:Ambush211.jpg|350px|]] |style="width: 20%;background-color:white;"|[[Image:Ambush212.jpg|350px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.27</b>: <br>Both LvlAmbushActors selected in Render window, Triggerbox visible |style="width: 20%;background-color:white;"|<b>Fig. 6.28</b>: <br>Labeled view of Reference Batch Window |} <br> On the left side you can see all the Actors we have selected, on the right side the actions we can perform. The bottom area on the panel shows allows us to set the target of the action. Check the '''Set activate ref''' button in the Action panel, located 5th from the top. Next, press the "'''Select Reference in Render Window'''" button from the Target area of the panel then use the '''Target Cursor''' and double click on our triggerbox. You should now see the "defaultActivateSelfTRIG" as the Reference in the Target Reference area. Now go ahead and hit the "'''Do'''" button in the lower right, then close the Reference Batch Action window. <br><br> {| width="40%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[image:Ambush213.jpg|350px|]] |style="width: 20%;background-color:white;"|[[image:Ambush214.jpg|350px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.29</b>: <br>White target reference cursor used to select triggerbox |style="width: 20%;background-color:white;"|<b>Fig. 6.30</b>: <br>Triggerbox is now the target reference that will become an activate parent for these actors |} <br> All of our actors are now hooked up to the triggerbox as you can see by the Blue and White Activate Parent Links that appear when you select the triggerbox. Go ahead and move the triggerbox back into place and the basic multiple ambush set up is complete. <br><br> {| width="40%" border="1" |-align="center" |style="width: 20%;background-color:white;"|[[image:Ambush215.jpg|350px|]] |style="width: 20%;background-color:white;"|[[image:Ambush216.jpg|350px|]] |- |style="width: 20%;background-color:white;"|<b>Fig. 6.31</b>: <br>Both LvlAmbushActors now have the triggerbox as an activate parent |style="width: 20%;background-color:white;"|<b>Fig. 6.32</b>: <br>Triggerbox moved back into place |} <br> Not all actors can use every ambush, but if you want to vary actors of the same type, select the LvlActorAmbush in the ambush set up and use '''Shift+F''' to replace it with another LvlActorAmbush of the same type. For example, let's replace one of our "LvlDraugrAmbushMelee1hMale" actors with a "LvlDraugrAmbushMissleFemale" and another with "LvlDraugrAmbushXXXX". {{ProTip|Whether the Draugr wake up immediately when the player enters the box or only when they detect the player can be changed by doing the following: *Double-Click the LvlActorAmbush and move to the "''Scripts''" Tab at the very end. *Select the "''masterAmbushScript''" script and click the "''Properties''" button to the right of the scripts panel. *Set the "''ambushOnTrigger''" property to the appropriate value by selecting it in the property window then clicking the "''Edit Value''" button in the upper right-hand corner and checking/unchecking the box that appears. For more information on the [[:Category:Papyrus|scripting language]] and [[Variables_and_Properties|properties]] check out the [[Papyrus Tutorials]].}}
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Landing page
Tutorials
Game Systems
Editor Reference
Scripting Reference
Recent changes
Help
Tools
What links here
Related changes
Special pages
Page information
Page values