November 20, 2009, 10:46:12 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: Be polite to others.
 
   Home   Chat Recent Archive Help Members Login Register  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: After Image confusion  (Read 91 times)
bre4dfish
User
*
Offline Offline



bre4dfish
View Profile Email
« on: November 04, 2009, 02:30:10 PM »

I'm very new to this still, trying a lot of different things, but what I want to do is create an after image for walking, but whatever I try to input in the CNS, it either wont display the after image, or oddly enough FREEZE my character in place, impossible to walk. If anyone has a quick example of the correct code to do this it would be greatly appreciated, and before the mods jump on me, I have read all the documents on constants and sctrls, air, ect. This is more of the rough learning curve where I need a little help by example, thanks!
  2thumbsup
Chris
Logged
iTorres
User
**
Offline Offline



I feel used, abused, and I'm not amused.

itorres32 becker_16_85
View Profile Email
« Reply #1 on: November 04, 2009, 02:37:00 PM »

Where are you putting the after image code and showing us the code would also help.
Logged


Sig Provided by Matrimelee
bre4dfish
User
*
Offline Offline



bre4dfish
View Profile Email
« Reply #2 on: November 04, 2009, 02:46:28 PM »

Sorry friend

Here:

[Statedef 20]
type = S
physics = S
movetype = I
physics = S
anim = 20

[State 20, AfterImage]
type = AfterImage
trigger1 = animelem = 1
time = -1
length = 20
palcolor = 256
palinvertall = 1
;palbright = 30,30,30
;palcontrast = 120,120,220
;palpostbright = 0,0,0
;paladd = 10,10,25
;palmul = .65,.65,.75
;timegap = 1
;framegap = 4
trans = "add" ;"none","add1","sub"
;ignorehitpause =
;persistent =
Logged
Cyanide
Global Moderator
******
Online Online



VODKA! Your eyes are shining! VODKA!

sighanide@hotmail.com Cyanide555
View Profile WWW
« Reply #3 on: November 04, 2009, 05:25:08 PM »

You just recreated statedef 20? Without looking at what it contains? Go look at statedef 20 itself in the common1.cns. You'll soon see what you did wrong. Then copy paste THAT state and apply your afterimage code.
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.
bre4dfish
User
*
Offline Offline



bre4dfish
View Profile Email
« Reply #4 on: November 04, 2009, 06:56:28 PM »

You just recreated statedef 20? Without looking at what it contains? Go look at statedef 20 itself in the common1.cns. You'll soon see what you did wrong. Then copy paste THAT state and apply your afterimage code.

Thanks for the reply, but under common1.cns, all I have is a blank list in Fighter Factory

;-------------- Generated by Fighter Factory -------------

;--------------------- Variable List ----------------------

; Var(0) - StateDef

;--------------------- Float Variable List ----------------------


Maybe I'm missing something

EDIT: Concerning what you said, I did actually look for the Statedef 20, but it wasnt there, so it came only naturally to recreate it, sorry I'm still trying to grasp this, if it's not in Common1, should I create it there?
Logged
BC
Contributor
****
Offline Offline



E-yaaaah


View Profile WWW Email
« Reply #5 on: November 04, 2009, 07:00:02 PM / November 05, 2009, 01:00:02 AM »

yes lol your missing a common1.cns is what.

go into your mugen data folder and copy paste it into your character folder.

make sure in your .def file the common cns file name is common1.cns  (you can change the name of the file)

state 20 deals with walking.
Logged

Offering Hosting Spaces @ http://www.mugenevolution.co.uk contact me via PM also click the image to join my forum Wink
bre4dfish
User
*
Offline Offline



bre4dfish
View Profile Email
« Reply #6 on: November 04, 2009, 07:13:20 PM »

yes lol your missing a common1.cns is what.

go into your mugen data folder and copy paste it into your character folder.

make sure in your .def file the common cns file name is common1.cns  (you can change the name of the file)

state 20 deals with walking.

Jesus tits that makes so much more sense, thanks man
Logged
bre4dfish
User
*
Offline Offline



bre4dfish
View Profile Email
« Reply #7 on: November 04, 2009, 07:58:45 PM »



Thanks again guys, worked great
Logged
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.112 seconds with 23 queries.