ManiaScript - setting movements using code (idea)..

All the medias created by the community.

Moderator: English Moderator

Post Reply
Lorisa
Posts: 189
Joined: 15 Feb 2013, 12:17

ManiaScript - setting movements using code (idea)..

Post by Lorisa »

Hello dear developers Nadeo.

Today I decided to think about the possibilities of programming ManiaScript. Going into the game, I turned my attention to the Motion Editor, pretty amazing thing, but it lacks something.

I have thought that there is missed. After that decided that you missed "Software Environment" ie ManiaScript.

So I took on the challenge to fill the missing parts. Here's what I created.

-
Since as the Motion Editor pretty buggy (there to create something you need to spend more than one hour)
Then I decided to think of a way that can solve this.
(Generally, this is not to decide if respected developers would be hesitate to make it in the game))

Motion Modules - split code into separate fragments of movement.

Let jump - write (create in Motion Editor) and then convert it into code.
This code is tied to the movement of certain body parts or fragments.

For example:

Splitting StormMan apart:

Image
  • Code: Select all

    ... 
    ______________________ 
    1 = Head = 
    - 
    (head part) 
    a | jaw | 
    b | neck | 
    ______________________ 
    2. =Body= 
    - 
    (body parts) 
    a | upper body | 
    b | Lower Body | 
    c | left shoulder | 
    d | right shoulder |  
    ______________________ 
    3. <Left leg <
    - 
    (part of the legs) 
    a |upper leg | 
    b |lower leg | 
    - 
    (sole) 
    c | foot | 
    - 
    (sock) 
    d | toes | 
    ______________________ 
    4.> Right Leg> 
    - 
    (part of the legs) 
    a |upper leg | 
    b |lower leg | 
    - 
    (sole) 
    c | foot |
    - 
    (sock) 
    d | toes | 
    ______________________ 
    5. <Left hand <
    - 
    (parts of hands) 
    a | upper hand | 
    b | lower hand | 
    ______________________ 
    6. <The left hand <
    (thenar palm) 
    ______________________ 
    7. <Left fingers <
    
    (thumb) 
    [piece a] 
    a.big finger 
    [piece b] 
    b.big finger 
    - 
    (forefinger) 
    [piece c] 
    c. index.finger 
    [piece d] 
    d. index.finger 
    - 
    (middle finger) 
    [piece e] 
    e. mid.finger 
    [piece f] 
    f. mid.finger
    - 
    (ring finger) 
    [piece g] 
    g. annullar finger 
    [piece h] 
    h. annullar finger  
    - 
    (little toe) 
    [piece i] 
    i. minimus 
    [piece j] 
    j. minimus 
    ______________________ 
    8.> Right Hand> 
    - 
    (parts of hands) 
    a | upper hand | 
    b | lower hand | 
    ______________________ 
    9. >The right hand >
    (thenar palm) 
    ______________________ 
    10. >Right fingers>
    
    (thumb) 
    [piece a] 
    a.big finger 
    [piece b] 
    b.big finger 
    - 
    (forefinger) 
    [piece c] 
    c. index.finger 
    [piece d] 
    d. index.finger 
    - 
    (middle finger) 
    [piece e] 
    e. mid.finger 
    [piece f] 
    f. mid.finger
    - 
    (ring finger) 
    [piece g] 
    g. annullar finger 
    [piece h] 
    h. annullar finger  
    - 
    (little toe) 
    [piece i] 
    i. minimus 
    [piece j] 
    j. minimus 
    ______________________ 
    ... 
Thus we create hierarchy (tree).

Where we can to sort the skeletal fragments or parts by branches.
Working in editor, right position, and the code (ManiaScript)
accurate setting position, and a stance movement.

Why?

I think it may be useful to try in the Motion and Replay Editor, where you will be happy manage - StormMan, and his body parts, creating a realistic, tricks and movements.

However, in a multiplayer, I advise you do not change, because this way player can get the added benefit that will mean - not fair game.

(Position - "won" and "lose" - remain unchanged, as it is just a presentation of positions at certain events))

I am sure it will be helpful. Enjoy. 8-)
Post Reply

Return to “Medias”

Who is online

Users browsing this forum: No registered users and 2 guests