November 20, 2009, 10:07:09 PM *
The Mugen Fighters Guild Forum Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Ever wondered how to do stages?
 
   Home   Chat Recent Archive Help Members Login Register  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Code  (Read 248 times)
One_Piecefan
User
*
Offline Offline



View Profile
« on: October 16, 2009, 08:46:45 AM / October 16, 2009, 03:46:45 PM »

hello, is there anyone who can explain me this code?

[State 0, Varrandom]
type = Varrandom
trigger1 = Time = 3
v = 10 ;fv = 10
range = 500, 1000

would be really nice
Logged
Laxxe23
Contributor
****
Offline Offline



Aka ShadesTeam/Zeckle


View Profile WWW
« Reply #1 on: October 16, 2009, 08:59:55 AM »

[State 0, Varrandom]
type = Varrandom   Random variable
trigger1 = Time = 3  takes place after three ticks
v = 10 ;fv = 10      variable is 10 (similar to x being a variable) ignore anything (on the same line) after the ";" as it means to ignore it
range = 500, 1000  the random numbers will be between 500 and 1000
Logged

One_Piecefan
User
*
Offline Offline



View Profile
« Reply #2 on: October 16, 2009, 09:28:32 AM / October 16, 2009, 04:28:32 PM »

then i don´t get it.

i´m making a sasuke and want to make sharingan. i know there are many sasuke who can do that, but it seems they wanna keep it as a secret. (i mean this that all is dyed in red and enemy moves slowly)

can someone help me?
Logged
Byakko
Contributor
******
Offline Offline



View Profile
« Reply #3 on: October 16, 2009, 10:05:46 AM / October 16, 2009, 05:05:46 PM »

What the fuck does this code have to do with what you're saying and what the hell do you find hard to understand or do in that. If you want help, SAY what you need and what you don't get.
Logged

If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
ultimatedude
User
***
Offline Offline



xavier_raza@msn.com
View Profile Email
« Reply #4 on: October 16, 2009, 10:06:29 AM »

http://mugenguild.com/forumx/index.php?topic=43756.msg264670#msg264670
this is the slowmo effect, but it in the the state where he starts the sharingan

For red filter use
Code
EnvColor
in the same activation state
Logged


No Borders, No Nations
One_Piecefan
User
*
Offline Offline



View Profile
« Reply #5 on: October 16, 2009, 12:07:45 PM / October 16, 2009, 07:07:45 PM »

whoa, really thank you. you helped me a lot.

edit:
i´m sorry for annoying you one more time, but i don´t know in the slow motion effect how this should be:

Quote
In the state that you want to create the effect, add this one piece in: The trigger used should last for a number of ticks, such as "Time = [0,20]"

i know i´m silly, but can you please help me one more time.
« Last Edit: October 16, 2009, 02:24:11 PM by One_Piecefan » Logged
Cyanide
Global Moderator
******
Online Online



VODKA! Your eyes are shining! VODKA!

sighanide@hotmail.com Cyanide555
View Profile WWW
« Reply #6 on: October 16, 2009, 09:40:03 PM »

Code
varrandom
time
pause
varset
varadd
bgpalfx
Point people at the triggers and sctrls if the question is too bland.

Read all those, you'll need them all. Then take a look at the effect you're actually after. TRY it yourself to some extent (maybe turn the screen red first) and see where you get up to.

Logged



In M.U.G.E.N there is no magic button

Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called The Present.
One_Piecefan
User
*
Offline Offline



View Profile
« Reply #7 on: November 03, 2009, 03:24:26 PM / November 03, 2009, 10:24:26 PM »

the "red turning effect" works, but the slow motion effect doesn´t work. Cry
is there anybody who can explain specially the slow motion effect?
Logged
Byakko
Contributor
******
Offline Offline



View Profile
« Reply #8 on: November 03, 2009, 03:52:45 PM / November 03, 2009, 10:52:45 PM »

Make a pause that triggers every 2 or 3 ticks.
trigger1 = !(time%3)
Logged

If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
One_Piecefan
User
*
Offline Offline



View Profile
« Reply #9 on: November 07, 2009, 05:09:24 AM / November 07, 2009, 12:09:24 PM »

now i got it, i write it this way, right?

[...., Pause]
type = pause
trigger1 = time%3      ;each 3 ticks there is a pause
time = 1                   ;each pause remains 1 tick
movetime = 1            ;each pause i can move one tick, so i´m not influenced by the effect

that´s all right?
then i don´t know how to say how long the effect should remain. please can somebody answer it?
Logged
Byakko
Contributor
******
Offline Offline



View Profile
« Reply #10 on: November 07, 2009, 05:25:07 AM / November 07, 2009, 12:25:07 PM »

triggerall = time < 50 ; this will last starting from when you enter the state until the 50 tick you are in this state.
Logged

If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
One_Piecefan
User
*
Offline Offline



View Profile
« Reply #11 on: November 08, 2009, 06:35:47 AM / November 08, 2009, 01:35:47 PM »

cause it doesn´t work i´ve posted sasuke in the releases section here in this forum.
can you take a look what´s wrong?
Logged
nedflandeurse
User
**
Offline Offline



View Profile
« Reply #12 on: November 08, 2009, 02:31:32 PM / November 08, 2009, 09:31:32 PM »

Sorry, but fuck the sharingan... Tongue

Just understand basic coding (state controllers, triggers...)
Then try to do use the best mix of them to create your thing.

Good luck.
Logged
Byakko
Contributor
******
Offline Offline



View Profile
« Reply #13 on: November 08, 2009, 03:05:27 PM / November 08, 2009, 10:05:27 PM »

can you take a look what´s wrong?
No. That's not how things work, how life works.
Logged

If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

1Emulation Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC lighttpd
Page created in 0.175 seconds with 27 queries.