Create A Flying Pet: Transcript 1
You: Well, thanks for coming everyone to my Create a Pet Dragon project :)
onionpencil Musashi is way too excited about the class
You: this coure will run over 4 or five weeks
You: problaby every sunday afternoon like this
You: I expect you to have some knowledge of scripting
You: this course is more about design than how to use
You: individual functions
You: although I will be loking at some specific functions, I expe t you to be able to look up those you dont know
You: any questions, if not, I shall let my cat out and begin
Xander Moe: nope go on
You: Ok, first lets look at the sort of thing im taling about
Tink: I'm back, did you miss me?
Tink: I'm bored
Tink whispers: Bubbles!
Tink: Silly Avatar
Tink whispers: Bubbles!
Tink whispers: Bubbles!
Azazel Czukor: aaaww
Xander Moe: sweet
You: Tink is my work in progress, she has several scripts, well about ten I think
Tink: ??
You: she moves in a smooth motion, turning and moving "forward" all the time
Tink: My name is Tinker
Tink whispers: Bubbles!
You: if she strays to far from me, she comes back until she reaches a predetermined distance
You: Ill demonstrate that
Tink: My name is Tinker
Tink whispers: Bubbles!
You: takes her a few seconds to spot Ive gone, and them she comes to me
Tink: Look at me
Tink whispers: Bubbles!
You: at the same time, she occationally creates a particle effect and says random phrases
Tink: lol
Tink: Do you believe in faries?
Tink whispers: Bubbles!
You: she also obeys some commands
You: Tink here
Tink: All right
Xander Moe: that is so cool
You: now she will stay close to me
You: Tink sit
Tink: Touched.
Tink: Hey! stop that
You: hmm sometimes she ignores me
You: Tink play
Tink: OK Boss
Tink whispers: Bubbles!
Tink whispers: Bubbles!
You: Tink sit
You: lol, she doesnt want to sit
Elle Pollack: Hehe
Tink: Look at me
Tink: Got any spare teeth?
You: Ok, so that is what we are going to be aiming for. everyone happy with that?
Azazel Czukor: very
Tink whispers: Bubbles!
Tink whispers: Bubbles!
onionpencil Musashi: 8D
Carrina Hathor: yes :)
TxKatie Curie: :)
Dr Tapioca: let's get started!
Xander Moe: yea looks awesome
Basic Chair: Right click me and choose 'Sit Here' to sit down
You: just one more thing. You have some local sport festival on vover in the USA? When does it start?
pet session 1 (244, 82):
Script trying to trigger animations but PERMISSION_TRIGGER_ANIMATION permission not set
onionpencil Musashi: 3 sl time maybe? not sure
Ariel Monde: Superbowl ?
Azazel Czukor: another hour or so?
You: OK, so here are some basic requireemnts
You: we want our pet to fly around randomly, in a realist way
Dr Tapioca: 3:30 SL time, I believe
You: we want it to occationally do some random actions that we will make up nearer the time
You: we want it to stay near us, or what eve object we want
You: for the moment, I'l assume that we are going for something that stays near the owner
You: and we want something expandable, so we acan add other stuff
Basic Chair: Right click me and choose 'Sit Here' to sit down
You have exchanged calling cards with TxKatie Curie.
TxKatie Curie is online
pet session 1 (244, 82):
Script trying to trigger animations but PERMISSION_TRIGGER_ANIMATION permission not set
You: Ill give this a few seconds to rez
You: anyone still waiting for the texture?
Nessinger Loveless: good to go
Ariel Monde: its fine
onionpencil Musashi: all set
Xander Moe: i am waiting
Carrina Hathor: tis fine
IM: Rhiannon Chatnoir: I am sorry for being late, I hope it is not too late to start if so, I will watch
Xander Moe: ok ready
You: Our pet is going to have three scripts each with a different function
You: this is how LSL is desinged to work
You: separate scripts with specific functions
Hokuto Gorham: different scripts run in parallel?
You: so we are going to have a Brain script which is going to decide what to do
You: Hokuto, es
You: yes
Hokuto Gorham: thanks
You: just checking back making sure I havnt missed any questions
You have exchanged calling cards with Serious Grommet.
Serious Grommet is online
You: OK, so when the Brain script decides to move somewhere, it tells the movement script
You: the movement script does nothing but know how to move from one place to another
IM: Rhiannon Chatnoir: did we need to bring anything or are you supplying the models
You: when it gets there, it will tell the brain script that
You: its reached the location
You: the brain can then decide todo something else
You: like perform a random action
Claire Engel is offline
Oliva Delvecchio is offline
You: If our random action needs a move, it too can call the movement script to move our pet around
You: so three scrippts working together, later on we will add more to the design
You: One of the first things we will go over in detail is how these scripts are going to talk to each other
pet session 1 (244, 82):
Script trying to trigger animations but PERMISSION_TRIGGER_ANIMATION permission not set
You: :0 did I mention the homework?
Gino Medici: what does the action script do?
Dr Tapioca: HW?!?
pet session 1 (244, 82):
Script trying to trigger animations but PERMISSION_TRIGGER_ANIMATION permission not set
Xander Moe: no you didnt
You: inour model the action script is going to pick a random action, perform it and then pass control back to the brain script
Gino Medici: ok, thanx
You: everyone happy with this screen?
Hokuto Gorham: yes
Xander Moe: ok
Carrina Hathor: yes
rocky Erato: yes
neand Fleming: yes
Xander Moe: yea
onionpencil Musashi: y
pet session 1 (244, 82):
Script trying to trigger animations but PERMISSION_TRIGGER_ANIMATION permission not set
You: OK, so this method does have some limitations
You: And the slide is wrong
You: Since we are going to be using Physics, the model can only have 31 prims, not 32 like it says here
Azazel Czukor scribbles that part out in her notebook
You: The bouyancy function we are gong to use has a mass limit of 90kg
You: which is pretty low
Candide LeMay: how do we control the mass
You: any heavier, and the model simply will ot float
You: the bigger your object the bigger the mass
Elle Pollack: The material of the object also maters, yes?
Alan Kiesler: So is there a simple way to have the mass computed for the final object/pet?
You: Does the material effect the mass? I'm not sure Ive never checked
You: to find the mass put this line in a script
Buwaya Edelbrock: How can you tell the on how heavy the item is?
Elle Pollack: I think it does. Plastic is lighter than wood is lighter than stone...
Basic Chair: Right click me and choose 'Sit Here' to sit down
You: llSay(0,"mass = " + (string)llGetMass());
You: that will tell you how heavy your model is
You: if its too heavy, try holowing out some of the prims :)
You: that can work quite well
You: The thrid limitation is the diection
You: The model will move along its x axis
You: so your model must be set up so the red axi is poitning forward
You: Does everyone understand that?
Carrina Hathor: yes
neand Fleming: yes
Candide LeMay: 1
onionpencil Musashi: ja
Rhiannon Chatnoir: yes
Morlee Moreau: forward, as in root prim x axis needs to be 0?
You: it can be a pain if you find a model that you think wll look geat flying, but the axis is wrong
You: OK, back to the first point on this slide
You: although the limit is 31 (NOt 32 like it says)
You: I want you to limit your model to 30 prims
You: we will use the spare prim as part of the colsion detection later on
You: OK, your homework :) I love this bit!
You: mak a suitable model
Xander Moe: ok
You: Now, I wasnt sure how long that lot was going to take
You: So I have session 2 ready as well, we will not finish it tonight, but should get at least a third of the way through
Gino Medici: the direction thing - is that because we are use vehicle functions to move?
onionpencil Musashi: yay
You: Gino, no but it is related
Serious Grommet is offline
You: we are not going to be using the vehicle functions, its actually to do
You: with the sensor cone
You: remind me in alater session and Ill show yousome tricks for simulating real creatures
onionpencil Musashi: cool
Gino Medici: ok :)
You: one second, Im going to make a copy of the chat so far and drop it in a notecard
Back To The Create A Flying Pet Home Page
Back To The Script Library
Comments (0)
You don't have permission to comment on this page.