Difference between revisions of "Bethesda Tutorial Packages"

211 bytes added ,  03:59, 14 April 2012
m
no edit summary
imported>Henning
 
imported>Vitamant
m
 
(9 intermediate revisions by 7 users not shown)
Line 2: Line 2:
{{Tutorial Index
{{Tutorial Index
|series=Intermediate Quest Design
|series=Intermediate Quest Design
|chapter=6
|chapter=1
|Prev=Bethesda_Tutorial_Story_Manager
|Prev=:Category:Tutorials
|Next=:Category:Tutorials
|Next=Bethesda_Tutorial_Quest_Aliases
}}
}}


Line 38: Line 38:
We can build a simple schedule for Bendu Olo using these premade packages. Let's say we want him to eat breakfast and dinner at home, sleep at night, and otherwise just hang around his house.
We can build a simple schedule for Bendu Olo using these premade packages. Let's say we want him to eat breakfast and dinner at home, sleep at night, and otherwise just hang around his house.


For eating, let's check the existing default "eat" packages - let's pick '''DefaultEatEditorLoc8x1''' (breakfast) and '''DefaultEatEditorLoc18x1''' (dinner). Note: we use a naming convention to indicate packages which have a schedule: "STARTTIMExDURATION". So "8x1" indicates a package starting at 8 am and lasting for 1 hour; "18x1" indicates a package starting at 6 pm and also lasting for 1 hour. But of course the naming could be wrong - let's check the actual data on the packages to make sure their schedules match their names.
For eating, let's check the existing default "eat" packages - let's pick '''DefaultEatEditorLoc8x1''' (breakfast) and '''DefaultEatEditorLoc18x1''' (dinner). Note: we use a naming convention to indicate packages which have a schedule: "STARTTIMExDURATION". So "8x1" indicates a package starting at 8 am and lasting for 1 hour; "18x1" indicates a package starting at 6 pm and also lasting for 1 hour. But of course the naming could be wrong - let's check the actual data on the packages to make sure their schedules match their names. 1 hour in game lasts 3 minutes in real life (20 minutes in-game equals 1 minute rl; 24h equals 72min).


Open the two packages and select their Schedule tabs, which look like this:
Open the two packages and select their Schedule tabs, which look like this:
Line 75: Line 75:
[[Image:Package_Tutorial_DefaultSandbox.jpg]]
[[Image:Package_Tutorial_DefaultSandbox.jpg]]


It's "Location" field specifies "Near editor location, radius 1500" - this means that he will "sandbox" around the spot he is placed in the editor, with a radius of 1500 units (which is usually enough to cover a small interior building). If you look at the other default packages in Bendu's list, you'll notice they're all using "Near editor location" - because they don't specify an exact location in the world, they can be used by any actor.
Its "Location" field specifies "Near editor location, radius 1500" - this means that he will "sandbox" around the spot he is placed in the editor, with a radius of 1500 units (which is usually enough to cover a small interior building). If you look at the other default packages in Bendu's list, you'll notice they're all using "Near editor location" - because they don't specify an exact location in the world, they can be used by any actor.


Another useful feature of this package is "Unlock On Arrival = True". This means that whenever he starts running this package, he will unlock his doors (more on this later), which is good since he's supposed to be a questgiver - we don't want him hiding behind a locked door.
Another useful feature of this package is "Unlock On Arrival = True". This means that whenever he starts running this package, he will unlock his doors, which is good since he's supposed to be a questgiver - we don't want him hiding behind a locked door.


You can flip to its Conditions and Schedule tabs to verify that it has no conditions, and no specified schedule, which means that it is always valid (which is what we wanted).
You can flip to its Conditions and Schedule tabs to verify that it has no conditions, and no specified schedule, which means that it is always valid (which is what we wanted).
Line 93: Line 93:
  set gamehour to 2
  set gamehour to 2


He now has some simple eat/sleep/wander behaviors inside "his" house.
He now has some simple eat/sleep/wander behaviors inside "his" house. If he does not want to sleep and asks you to leave, you can use the command ''toggledetection'' so he ignores you.


=Making a New Package=
=Making a New Package=
Line 144: Line 144:


{{Template:Tutorial_Bottom_Bar
{{Template:Tutorial_Bottom_Bar
|Prev=Bethesda_Tutorial_Story_Manager
|Prev=:Category:Tutorials
|Next=:Category:Tutorials
|Next=Bethesda_Tutorial_Quest_Aliases
}}
}}
{{Languages}}
Anonymous user