Evol
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Vigor Control Language Guide

2 posters

Go down

Vigor Control Language Guide Empty Vigor Control Language Guide

Post by Taeivas Wed May 08, 2013 2:22 am

As some of you may know, vigor is controlled with the Vigor Control ability. When it pops up the "Command" window most seem to be confused to what to do, therefore I'll write a little guide.

Vigor Control commands are pretty much assembled into a programming language, there a various functions you can use and they are actually quite simple. To learn which commands you can use and what algorithm to use we simply have to release some vigor with Vigor Release and then use Vigor Control to give it the command "Info();", that will give you a popup, which contains the names and descriptions of all the command available to that type of vigor. To clear the confusion: Different types of vigor can have extra or specific commands unique to them, not all of them have the same properties.

If you do as instructed, you should get a result similar to this:
Code:
Info
Gives information about the vigor's commands.
Use: Info();
--------------------------------------------------------------------------------
Dispel
Dispels the vigor.
Use: Dispel();
--------------------------------------------------------------------------------
Wait
Waits for set amount of time before continuing.
Use: Wait([milliseconds]);
--------------------------------------------------------------------------------
Move
Makes the vigor move for set amount of steps.
Use: Move([steps]);
--------------------------------------------------------------------------------
Turn
Makes the vigor turn in the specified direction.
Use: Turn([RIGHT/LEFT/AROUND/MOB/TARGET]);
--------------------------------------------------------------------------------
Loop
Can loop specified commands for set amount of times.
Use: Loop([loop_count],[commands]);
--------------------------------------------------------------------------------
Split
Will split the vigor into two new projectiles spliting their power.
Use: Split([id_0],[id_1],[commands_0],[commands_1]);
--------------------------------------------------------------------------------
Materialize
The vigor will become visible and will become dense when it moves.
Use: Materialize();

We learn that we can manipulate normal vigor in various ways. The main point to remember is.. After writing the command name you have to end it with "();". Inside the parenthesis you input arguments when they are necessary and separate them with comas, if you give too few or too few arguments, there will be an error when you try to execute the commands on a vigor projectile.

To use more than one command you just have to write one command after the other, you can use spaces and line breaks. Spaces and line breaks can affect the code readability quite a bit.

Example #1. No spaces or line breaks
Code:
Loop(4,Move(1);Turn(RIGHT););

Example #2. No spaces, uses line breaks
Code:
Loop(4,
Move(1);
Turn(RIGHT);
);

Example #3. Uses spaces and line breaks
Code:
Loop(4,
    Move(1);
    Turn(RIGHT);
);

Loop makes the commands loop 4 times as specified and It makes the vigor move once and then turns the vigor's direction 90 degrees to the right. By the end of the loop the vigor will have ended up in it's initial position as it moved in that particular fashion.

I hope this gives you the basic understanding as how to control vigor.

If you have questions run them by here.
Taeivas
Taeivas
Owner

Posts : 10
Join date : 2013-04-29
Age : 34

https://evol.forumotion.com

Back to top Go down

Vigor Control Language Guide Empty Re: Vigor Control Language Guide

Post by Polkjm Wed May 08, 2013 5:44 am

Can we have an example on how to properly split vigor? I've tried before without success and seeing a way that works would help a lot.
Polkjm
Polkjm

Posts : 8
Join date : 2013-04-30

Back to top Go down

Vigor Control Language Guide Empty Re: Vigor Control Language Guide

Post by Taeivas Wed May 08, 2013 6:01 am

I don't see what the problem is, but sure.

Here it is:
Code:
Split(vigor0,vigor1,Turn(RIGHT);Move(1);,Turn(LEFT);Move(1););
Taeivas
Taeivas
Owner

Posts : 10
Join date : 2013-04-29
Age : 34

https://evol.forumotion.com

Back to top Go down

Vigor Control Language Guide Empty Re: Vigor Control Language Guide

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum