Hey, we have forums!

Author Topic: Entities scripting guide  (Read 7033 times)

0 Members and 1 Guest are viewing this topic.

Offline Yogoda

  • Extra Bit
  • *****
  • Posts: 144
    • View Profile
Entities scripting guide
« on: March 05, 2010, 04:10:39 pm »
I've spent a lot of time analyzing and testing to learn how to script entities. I decided to write a small guide summarizing what I have learned so far, so it would be easier for people coming after me.

The guide talks about :

- Entity Creation
- Initialization
- Entity update
- Movement
- Entity States
- Shots
- Hair

http://aquariawiki.ryanballantyne.name/wiki/index.php/Guide_to_entities_scripting

Please correct directly in the Wiki if you find something false or have something to add.

Hope this will be useful !

Tell me if you want additional things to be explained.
« Last Edit: March 05, 2010, 05:00:00 pm by Yogoda »

Offline Alphasoldier

  • Dream Bit
  • **********
  • Posts: 1810
  • Zero Suit!
    • View Profile
Re: Entities scripting guide
« Reply #1 on: March 06, 2010, 12:28:30 am »
That is amazing, just read through everything!

If possible, try to put down a rather complicated example of an existing (or made) creature to show how it's been done, just for examples sake.

Also: "A hair is attached to an entity, and an entity can only have one hair."
Doesn't the Creators second form have more than one... "hair"? (tentacle)
Or do the tentacles have animations? Or are they separate entities?

Anyway, small things like that should also be cool to explain.
God sees and knows everything, but at least he won't gossip about it.

Offline Yogoda

  • Extra Bit
  • *****
  • Posts: 144
    • View Profile
Re: Entities scripting guide
« Reply #2 on: March 06, 2010, 07:39:23 am »
If you load creatorform2 into the animation editor, you will see that the 3 tentacles are composed using like 50 different bones. That's quite impressive, it is the first entity I see using this technique (for tentacles). So it is an animation, not hair.

Hair are used for jelly tentacles for example, they will follow the entity, you can apply a force to it, but that's it. You can not really control the way it moves.

I will try to find a good example to attach ;)
« Last Edit: March 06, 2010, 08:30:55 am by Yogoda »