Creating A Flying Pet: Lesson 1 Chat Log
Candide LeMay: so folks what kind of pet will you do?
Azazel Czukor: hmmmm
You: well id justlike to improve my snail
Azazel Czukor: oh are you the snail racing guy?
You: yup
Azazel Czukor: cool, I've been meaning to check that out
Alan Kiesler: I'm actually looking to enhance the movement of my GlowGlobe project. Have it hover and bob a bit more than the standard following script.
You: tuesdays the next one
Candide LeMay: racer perhaps when you swap the event descriptiong (english first, french second) more people will notice it
Morlee Moreau: id just like a kewl pet dragon, lol
You: ya someoone mentioned that
You: i ive got a publisist now and hes hipping me to al that stuff
Elle Pollack: Hey Racer
You: hey elle
You: this is catfart he makes all my cool stuff go
Elle Pollack: Heh :)
Catfart Grayson: Hi all
You: cloudy here
Catfart Grayson: gak!
Candide LeMay: alt _
Catfart Grayson: lol, too many textures
Xander Moe: hello im here for the class im not late am i?
You: catfarts stuk or ghosted
Azazel Czukor: nope, right on time Xander
onionpencil Musashi: poor guy
Catfart Grayson: OK, can we have all scripts of, and cut down on any prim heavy attachments or clothes, thnx
Candide LeMay: try to move now
Catfart Grayson: aha thnx
Carrina Hathor: hi onion!
onionpencil Musashi: hi carrina
Candide LeMay: draw distance 64 should also help
Catfart Grayson: Ok, give me one more minute and Ill be with you
Catfart Grayson: OK, has the screen rezzed for eveyone?
Xander Moe: yes
onionpencil Musashi: i'm good
Xander Moe: i see session 1
Carrina Hathor: yes
Hokuto Gorham: yep
Catfart Grayson: if you want to get rid of the clouds, get your debug menu up
Xander Moe: and everything else
Catfart Grayson: select rendering, select types and the unselct clouds
Morlee Moreau: whew, thanx
Xander Moe: where is debug menu
onionpencil Musashi: excellent, thanks
Azazel Czukor: ctrl-alt-shift-D I think
Catfart Grayson: Well, thanks for coming everyone to my Create a Pet Dragon project :)
onionpencil Musashi is way too excited about the class
Catfart Grayson: this course will run over 4 or five weeks
Catfart Grayson: problaby every sunday afternoon like this
Catfart Grayson: I expect you to have some knowledge of scripting
Catfart Grayson: this course is more about design than how to use
Catfart Grayson: individual functions
Catfart Grayson: although I will be loking at some specific functions, I expe t you to be able to look up those you dont know
Catfart Grayson: any questions, if not, I shall let my cat out and begin
Xander Moe: nope go on
Catfart Grayson: 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
Catfart Grayson: Tink is my work in progress, she has several scripts, well about ten I think
Tink: ??
Catfart Grayson: she moves in a smooth motion, turning and moving "forward" all the time
Tink: My name is Tinker
Tink whispers: Bubbles!
Catfart Grayson: if she strays to far from me, she comes back until she reaches a predetermined distance
Catfart Grayson: Ill demonstrate that
Misty Rhodes is online
Tink: My name is Tinker
Tink whispers: Bubbles!
Catfart Grayson: takes her a few seconds to spot Ive gone, and them she comes to me
Tink: Look at me
Tink whispers: Bubbles!
Catfart Grayson: 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!
Catfart Grayson: she also obeys some commands
Catfart Grayson: Tink here
Tink: All right
Xander Moe: that is so cool
Catfart Grayson: now she will stay close to me
Catfart Grayson: Tink sit
Tink: Touched.
Tink: Hey! stop that
Catfart Grayson: hmm sometimes she ignores me
Charles Cunningham is online
Catfart Grayson: Tink play
Tink: OK Boss
Tink whispers: Bubbles!
Tink whispers: Bubbles!
Catfart Grayson: Tink sit
Catfart Grayson: lol, she doesnt want to sit
Elle Pollack: Hehe
Tink: Look at me
Tink: Got any spare teeth?
Catfart Grayson: 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
Catfart Grayson: just one more thing. You have some local sport festival on vover in the USA? When does it start?
onionpencil Musashi: 3 sl time maybe? not sure
Ariel Monde: Superbowl ?
Azazel Czukor: another hour or so?
Catfart Grayson: OK, so here are some basic requireemnts
Catfart Grayson: we want our pet to fly around randomly, in a realist way
Dr Tapioca: 3:30 SL time, I believe
Catfart Grayson: we want it to occationally do some random actions that we will make up nearer the time
Catfart Grayson: we want it to stay near us, or what eve object we want
Catfart Grayson: for the moment, I'l assume that we are going for something that stays near the owner
Catfart Grayson: and we want something expandable, so we acan add other stuff
Catfart Grayson: Ill give this a few seconds to rez
Catfart Grayson: 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
Xander Moe: ok ready
Catfart Grayson: Our pet is going to have three scripts each with a different function
Catfart Grayson: this is how LSL is desinged to work
Catfart Grayson: separate scripts with specific functions
Hokuto Gorham: different scripts run in parallel?
Catfart Grayson: so we are going to have a Brain script which is going to decide what to do
Catfart Grayson: Hokuto, es
Catfart Grayson: yes
Hokuto Gorham: thanks
Catfart Grayson: just checking back making sure I havnt missed any questions
Catfart Grayson: OK, so when the Brain script decides to move somewhere, it tells the movement script
mccallum Eisenberg is offline
Catfart Grayson: the movement script does nothing but know how to move from one place to another
Catfart Grayson: when it gets there, it will tell the brain script that
Catfart Grayson: its reached the location
Catfart Grayson: the brain can then decide todo something else
Catfart Grayson: like perform a random action
Catfart Grayson: If our random action needs a move, it too can call the movement script to move our pet around
Catfart Grayson: so three scrippts working together, later on we will add more to the design
Catfart Grayson: One of the first things we will go over in detail is how these scripts are going to talk to each other
Catfart Grayson: :0 did I mention the homework?
Gino Medici: what does the action script do?
Dr Tapioca: HW?!?
Xander Moe: no you didnt
Catfart Grayson: 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
Catfart Grayson: everyone happy with this screen?
Hokuto Gorham: yes
Catfart Grayson: OK, so this method does have some limitations
Catfart Grayson: And the slide is wrong
Catfart Grayson: 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
Catfart Grayson: The bouyancy function we are gong to use has a mass limit of 90kg
Catfart Grayson: which is pretty low
Candide LeMay: how do we control the mass
Catfart Grayson: any heavier, and the model simply will ot float
Catfart Grayson: 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?
Catfart Grayson: Does the material effect the mass? I'm not sure Ive never checked
IM: Kim Anubis: ty though, Bunny
Catfart Grayson: to find the mass put this line in a script
MrsJakal Suavage is online
Aspen Anansi is online
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
Catfart Grayson: llSay(0,"mass = " + (string)llGetMass());
Catfart Grayson: that will tell you how heavy your model is
Catfart Grayson: if its too heavy, try holowing out some of the prims :)
Catfart Grayson: that can work quite well
Catfart Grayson: The thrid limitation is the diection
Catfart Grayson: The model will move along its x axis
Catfart Grayson: so your model must be set up so the red axi is poitning forward
Catfart Grayson: 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?
Catfart Grayson: it can be a pain if you find a model that you think wll look geat flying, but the axis is wrong
Ahrek Neutra is offline
MrsJakal Suavage is online
Catfart Grayson: OK, back to the first point on this slide
Catfart Grayson: although the limit is 31 (NOt 32 like it says)
Catfart Grayson: I want you to limit your model to 30 prims
Catfart Grayson: we will use the spare prim as part of the colsion detection later on
Catfart Grayson: OK, your homework :) I love this bit!
Catfart Grayson: mak a suitable model
Xander Moe: ok
Alyeska Zamboni is offline
MrsJakal Suavage is offline
Catfart Grayson: Now, I wasnt sure how long that lot was going to take
Catfart Grayson: 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
Catfart Grayson: Gino, no but it is related
Catfart Grayson: we are not going to be using the vehicle functions, its actually to do
Catfart Grayson: with the sensor cone
Arda Fauna is offline
Catfart Grayson: remind me in alater session and Ill show yousome tricks for simulating real creatures
onionpencil Musashi: cool
Gino Medici: ok :)
Catfart Grayson: one second, Im going to make a copy of the chat so far and drop it in a notecard
onionpencil Musashi: excellent plan!
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.