Beam problems
|
|
GojiMaster | Date: Saturday, 2011-02-05, 10:42 PM | Message # 1 |
Squire
Group: contributor
Messages: 64
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
| I'm trying to make a character shoot a beam, like goku doing the kamehama thing. I used the Explod, but the beam doesn't do any damage. Here's the script [StateDef 9000] type = S movetype= A physics = S juggle = 1 velset = 0,0 ctrl = 0 anim = 9000 poweradd = 20 sprpriority = 2 [State 9000, 1] type = HitDef trigger1 = AnimElem = 5002 attr = S, NA damage = 200 animtype = Light guardflag = MA hitflag = MAF priority = 3, Hit pausetime = 10, 10 sparkno = 0 sparkxy = -10, -76 hitsound = 5, 0 guardsound = 6, 0 ground.type = High ground.slidetime = 5 ground.hittime = 12 ground.velocity = -4 airguard.velocity = -1.9,-.8 air.type = High air.velocity = -1.4,-3 air.hittime = 12 [State 0, Explod] type = Explod trigger1 = Animelem = 3 anim = 9025 ID = 9025 pos = 0,0 postype = p1 ;p2,front,back,left,right facing = 1 vfacing = 1 bindtime = 1 vel = 0,0 accel = 0,0 random = 0,0 removetime = -2 supermove = 1 pausemove = 1 scale = 1,1 sprpriority = 0 ontop = 0 shadow = 0,0,0 ownpal = 0 removeongethit = 1 attr = S, NA damage = 200 animtype = Light guardflag = MA hitflag = MAF priority = 3, Hit pausetime = 10, 10 sparkno = 0 sparkxy = -10, -76 hitsound = 5, 0 guardsound = 6, 0 ground.type = High ground.slidetime = 5 ground.hittime = 12 ground.velocity = -4 airguard.velocity = -1.9,-.8 air.type = High air.velocity = -1.4,-3 air.hittime = 12 ;ignorehitpause = ;persistent = [State 9000, end] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1
|
|
| |
ŁfenrirŁ | Date: Sunday, 2011-02-06, 8:10 AM | Message # 2 |
Angel
Group: contributor
Messages: 1346
Awards: 1
Reputation: 3
Reproofs: 0%
Status: Offline
| Try useing a helper Code ;Stealth Force [StateDef 1050] anim = 1050 ctrl = 0 type = S movetype = A physics = S velset = 0,0 poweradd= 0
[State 1000, PlaySnd] type = PlaySnd trigger1 = AnimElem = 2 value = 16,0 volume = 1 channel = -1 freqmul = 1.0 loop = 0 pan = 0
[State 1050, Helper] type = Helper trigger1 = AnimElem = 3 helpertype = normal name = "Stealth Force" ID =10000 stateno = 10000 pos = 0,-150 scale = 1,1 postype = P1 facing = 1 keyctrl = 0 ownpal = 1
[State 1050, 2] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 this is the action that Soi Fon will make before the Stealth Sqaud Guy comes out comes out see this it tells when the guy will appear what is name is and what stateno to change to for the helper Code [State 1050, Helper] type = Helper trigger1 = AnimElem = 3 helpertype = normal name = "Stealth Force" ID =10000 stateno = 10000 pos = 0,-150 scale = 1,1 postype = P1 facing = 1 keyctrl = 0 ownpal = 1 here is the state number for the helper Code [Statedef 10000] anim = 10000 ctrl = 0 name = "Stealth Force" movetype = A see the movetype is A that means its an Action it will do damage Code [State 10000, HitDef] type = HitDef trigger1 = Time = 0 attr = S, SA damage = 50,25 guardflag = MA pausetime = 12,12 hitsound = 5,0 guardsound = 6,0 sparkxy = -15,-50 animtype = Medium ground.type = High ground.slidetime = 10 ground.hittime = 12 ground.velocity = -5 air.velocity = -2,-3
[State 10000, DestroySelf] type = DestroySelf trigger1 = Time = 30 ID = 10000 ctrl = 1 then add your Hitdef and your DestroySelf oh and don't forget to add all those things to make your laser move across the screen.
WIP SoiFon Picture Ripped by Dan Mt 95% click sig to get latest version
Message edited by ŁfenrirŁ - Sunday, 2011-02-06, 8:15 AM |
|
| |
sgn_15 | Date: Sunday, 2011-02-06, 11:59 AM | Message # 3 |
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
| an explod never does damage. explod is literally just for effects in mugen. use helper or projectile or whatever that does damage btw ŁfenrirŁ, your lucy gif has one frame that is not aligned. nice that youre also coding lucy. im coding all fairy tail chars too.
Message edited by sgn_15 - Sunday, 2011-02-06, 4:47 PM |
|
| |
buy | Date: Sunday, 2011-02-06, 3:53 PM | Message # 4 |
Angel
Group: Administrators
Messages: 1243
Awards: 2
Reputation: 14
Status: Offline
| You can also use a projectile.
|
|
| |
GojiMaster | Date: Sunday, 2011-02-06, 6:11 PM | Message # 5 |
Squire
Group: contributor
Messages: 64
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
| I don't know if you guys know what i mean, but whenever i tried making the beam a projectile, it would dissapear if it hit, my thing needs to repeatedly hit
|
|
| |
Lightmatt | Date: Sunday, 2011-02-06, 9:28 PM | Message # 6 |
Templar Knight
Group: Users
Messages: 234
Awards: 1
Reputation: 6
Reproofs: 0%
Status: Offline
| Looking at your base code you're activating the hitdef when animelem (Meaning that the animation in on its 5002th frame) which is toooo many frames to begin with). I need you to post your current code so I know whats happening.
|
|
| |
GojiMaster | Date: Sunday, 2011-02-06, 11:06 PM | Message # 7 |
Squire
Group: contributor
Messages: 64
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
| Thx u guys! I fixed the problem!
|
|
| |
ŁfenrirŁ | Date: Monday, 2011-02-07, 1:16 AM | Message # 8 |
Angel
Group: contributor
Messages: 1346
Awards: 1
Reputation: 3
Reproofs: 0%
Status: Offline
| Quote (sgn_15) btw ŁfenrirŁ, your lucy gif has one frame that is not aligned that happened when I resized with Imageshack
WIP SoiFon Picture Ripped by Dan Mt 95% click sig to get latest version
|
|
| |
sgn_15 | Date: Monday, 2011-02-07, 5:42 PM | Message # 9 |
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
| Quote (ŁfenrirŁ) that happened when I resized with Imageshack no its not lol. if that gif is from a mugen char, open it in FF and look at the sprites (that are used in that gif), one of them is 1 or 2 pixels above the others
|
|
| |
ŁfenrirŁ | Date: Monday, 2011-02-07, 7:46 PM | Message # 10 |
Angel
Group: contributor
Messages: 1346
Awards: 1
Reputation: 3
Reproofs: 0%
Status: Offline
| Quote (sgn_15) no its not lol. if that gif is from a mugen char, open it in FF and look at the sprites (that are used in that gif), one of them is 1 or 2 pixels above the others just trust me it happened when I resized it I have the original GIf and it doesn't do that it doesn't have that green tint to it either come to think of it
WIP SoiFon Picture Ripped by Dan Mt 95% click sig to get latest version
Message edited by ŁfenrirŁ - Tuesday, 2011-02-08, 1:09 AM |
|
| |
AkuShadow | Date: Saturday, 2011-02-12, 10:58 AM | Message # 11 |
Knight
Group: Users
Messages: 157
Awards: 1
Reputation: 1
Reproofs: 0%
Status: Offline
| wow,...all the coders in the world here and no one will help me.....awesome.
|
|
| |
Mugen_Boy | Date: Saturday, 2011-02-12, 11:17 AM | Message # 12 |
God Of Animation
Group: contributor
Messages: 2653
Awards: 6
Reputation: 22
Reproofs: 0%
Status: Offline
| Quote (AkuShadow) wow,...all the coders in the world here and no one will help me.....awesome. Try to ask (Ichidori?) I don't know but he might help you.
|
|
| |
AkuShadow | Date: Saturday, 2011-02-12, 11:34 AM | Message # 13 |
Knight
Group: Users
Messages: 157
Awards: 1
Reputation: 1
Reproofs: 0%
Status: Offline
| Quote (Mugen_Boy) Ichidori Thanks but I've probly already asked him.
|
|
| |
Mugen_Boy | Date: Saturday, 2011-02-12, 1:38 PM | Message # 14 |
God Of Animation
Group: contributor
Messages: 2653
Awards: 6
Reputation: 22
Reproofs: 0%
Status: Offline
| Quote (AkuShadow) Thanks but I've probly already asked him. Hmmm then go to kyubimugen.ucoz.com and make a thread about this. That site has alot of coders.
|
|
| |
AkuShadow | Date: Saturday, 2011-02-12, 1:45 PM | Message # 15 |
Knight
Group: Users
Messages: 157
Awards: 1
Reputation: 1
Reproofs: 0%
Status: Offline
| Quote (Mugen_Boy) kyubimugen.ucoz.com Why would I go there when I dont know spanish?
|
|
| |