YesNoOk

Show content

This section allows you to browse the content for this member. Note that you can only see content for which you have sufficient viewing permissions.

*
Kenthos is Offline
Contact Kenthos:

Kenthos

User

Messages by Kenthos

    

Re: Quick variables question

 February 26, 2010, 04:27:06 am View in topic context
avatar  Posted by Kenthos  in Quick variables question (Started by Kenthos February 24, 2010, 08:50:20 am
 Board: M.U.G.E.N Development Help

Ok I'm stuck and I've tried this two different ways but it won't work.

I thought if the two Helpers where setting a var based on a pos x that when they where in the same spot a -3 state could set a ParentVar change them.

in the first helper

[State 0, ParentVarSet]
type = ParentVarSet
trigger1 = time >= 0
v = 12
value   numhelper(4) = Pos X
persistent = 1

and the other

[State 0, ParentVarSet]
type = ParentVarSet
trigger1 = time >= 0
v = 11
value   numhelper(3) = Pos X
persistent = 1

then the -3 state

[State 0, VarSet]
type = VarSet
Trigger1 = Var(11) = Var(12)
trigger1 = numhelper(3) > 0
trigger1 = numhelper(4) > 0
v = 13
value = 1
persistent = 1

but it seemed like it was not picking up the variables. so after trying that for awhile i set this in the helper that was going to change when the other met it in the same Pos X

[State 0, ChangeState]
type = ChangeState
trigger1 = numhelper(4) = Pos X = numhelper(3) = Pos X
value = 609
ctrl = 0
persistent = 1

It still won't change, if anyone can spot what I'm doing wrong please point it out.

    

Re: Quick variables question

 February 24, 2010, 09:16:35 am View in topic context
avatar  Posted by Kenthos  in Quick variables question (Started by Kenthos February 24, 2010, 08:50:20 am
 Board: M.U.G.E.N Development Help

Thank you very much.
    

Re: Quick variables question

 February 24, 2010, 08:57:48 am View in topic context
avatar  Posted by Kenthos  in Quick variables question (Started by Kenthos February 24, 2010, 08:50:20 am
 Board: M.U.G.E.N Development Help

I know but how would the code go, i can't figure it out.

trigger1 = var(4)= 2   is for if V4 is 2, but how would it be for it to check if two different Var are the same number?

would it be    trigger1 != var(5)= var(6)
    

Quick variables question

 February 24, 2010, 08:50:20 am View in topic context
avatar  Posted by Kenthos  in Quick variables question (Started by Kenthos February 24, 2010, 08:50:20 am
 Board: M.U.G.E.N Development Help

Quick question, what is the code for if to check variables are the same number?
    

Re: Damage and Variable

 September 18, 2009, 09:29:00 am View in topic context
avatar  Posted by Kenthos  in Damage and Variable (Started by Kenthos September 17, 2009, 10:55:31 pm
 Board: M.U.G.E.N Development Help

how much they hit me, but now that i'm looking at it that was pretty dumb of me. I got it to work now thanks.
    

Re: Damage and Variable

 September 18, 2009, 12:11:30 am View in topic context
avatar  Posted by Kenthos  in Damage and Variable (Started by Kenthos September 17, 2009, 10:55:31 pm
 Board: M.U.G.E.N Development Help

Thanks, this will make it add the damage to the Variable right?

[State 0, VarAdd]
type = VarAdd
trigger1 = movehit
v = 6
value = gethitvar(damage)
    

Damage and Variable

 September 17, 2009, 10:55:31 pm View in topic context
avatar  Posted by Kenthos  in Damage and Variable (Started by Kenthos September 17, 2009, 10:55:31 pm
 Board: M.U.G.E.N Development Help

Is there a way to transfer damage number to a Variable? like if they are set to hit you with a damage set to 25, then a variable will record what you got hit by?
    

Re: Helper won't bind to attacked player

 August 23, 2009, 10:22:17 am View in topic context
avatar  Posted by Kenthos  in Helper won't bind to attacked player (Started by Kenthos August 23, 2009, 01:01:09 am
 Board: M.U.G.E.N Development Help

I want to thank you all, I've got it to work. I worked on it late into the night and final came up with this.

for the helper that hits opponent

[State 800, ParentVarSet]
type = ParentVarSet
trigger1 = movehit
ignorhitpause = 1
var(6) = Target, ID

For the Teleporting player

[State 0, PosSet]
type = PosSet
trigger1 = time = 21
X = PlayerID(Var(6)), Pos X


 :)
    

Re: Helper won't bind to attacked player

 August 23, 2009, 03:18:13 am View in topic context
avatar  Posted by Kenthos  in Helper won't bind to attacked player (Started by Kenthos August 23, 2009, 01:01:09 am
 Board: M.U.G.E.N Development Help

Sorry if I'm annoying. but it don't say anything about setting variables to anything in the State controller reference.

so, this will set the Var to the target ID.

[State 0, VarSet]
type = VarSet
trigger1 = movehit
v = 5
value = target,ID

Now what would I add after that, to make the PosSet move to the ID in Var 5?




    

Re: Helper won't bind to attacked player

 August 23, 2009, 02:38:48 am View in topic context
avatar  Posted by Kenthos  in Helper won't bind to attacked player (Started by Kenthos August 23, 2009, 01:01:09 am
 Board: M.U.G.E.N Development Help

Well to finish this I'll just give in and ask the noob question. I've looked threw all my docs and can't find how to do this.  :(
What is the code to set the opponent you've attack's X and Y to a variable and what do you add to a PosSet to make it use them?

    

Re: Helper won't bind to attacked player

 August 23, 2009, 01:39:27 am View in topic context
avatar  Posted by Kenthos  in Helper won't bind to attacked player (Started by Kenthos August 23, 2009, 01:01:09 am
 Board: M.U.G.E.N Development Help

The goal is that the player can throw a object and teleport to it when ever, if it hits then he can teleport to what ever he hit. I know I'm probably missing something here.
    

Re: Helper won't bind to attacked player

 August 23, 2009, 01:33:41 am View in topic context
avatar  Posted by Kenthos  in Helper won't bind to attacked player (Started by Kenthos August 23, 2009, 01:01:09 am
 Board: M.U.G.E.N Development Help

The attack is a helper goes and hits the opponent, then at any time the player can teleport to the hit opponent when ever. but I can't seem to find a way to get it right.
    

Re: Helper won't bind to attacked player

 August 23, 2009, 01:29:19 am View in topic context
avatar  Posted by Kenthos  in Helper won't bind to attacked player (Started by Kenthos August 23, 2009, 01:01:09 am
 Board: M.U.G.E.N Development Help

Ok, I'll try that but is there a way to Posset to a Explod? That could clear everything up I think.
    

Re: Helper won't bind to attacked player

 August 23, 2009, 01:19:37 am View in topic context
avatar  Posted by Kenthos  in Helper won't bind to attacked player (Started by Kenthos August 23, 2009, 01:01:09 am
 Board: M.U.G.E.N Development Help

I mean the opponent, since is changes state I figure it changed.
    

Helper won't bind to attacked player

 August 23, 2009, 01:01:09 am View in topic context
avatar  Posted by Kenthos  in Helper won't bind to attacked player (Started by Kenthos August 23, 2009, 01:01:09 am
 Board: M.U.G.E.N Development Help

I set this up so the helper goes and hits the player and then changes to a new state so it can bind. but it blinds and lets go, I want it to keep bonded to the player. I'm missing something here.


if you can suggest a better way to bind a helper to a attacked player than that will be just as helpful as figuring out what's wrong with this.  

here is the code

;---------------------------------------------------------------------------
; THROW2 Tracker
; CNS difficulty: easy
[Statedef 604]
type = A
ctrl = 0
anim = 602
velset = 0,0
movetype = A
physics = S
sprpriority = 2

[State 0, VelAdd]
type = VelAdd
trigger1 = movehit = 0
trigger1 = time >= 0
x = 2
y = 0
;ignorehitpause =
;persistent =


[State 200, 1]
type = HitDef
trigger1 = time >= 0
attr = S, NA                     ;Attribute: Standing, Normal Attack
damage = 10, 0
numhits = 1                ;Damage that move inflicts, guard damage
animtype = Medium                 ;Animation type: Light, Medium, Heavy, Back (def: Light)
guardflag = MA                   ;Flags on how move is to be guarded against
hitflag = MAF                    ;Flags of conditions that move can hit
priority = 3, Hit                ;Attack priority: 0 (least) to 7 (most), 4 default
;Hit/Miss/Dodge type (Def: Hit)
pausetime = 0, 10                 ;Time attacker pauses, time opponent shakes
sparkno = 0                      ;Spark anim no (Def: set above)
sparkxy = 0, -40              ;X-offset for the "hit spark" rel. to p2,
;Y-offset for the spark rel. to p1
hitsound = S666, 5                  ;Sound to play on hit
guardsound = S668, 0                ;Sound to play on guard

[State 195, 2]
type = ChangeState
trigger1 = movehit
value = 605
ctrl = 1

[State 0, DestroySelf]
type = DestroySelf
trigger1 = Time = 50
trigger2 = Pos Y >= 0
persistent = 1




;---------------------------------------------------------------------------
; ATHROW
; CNS difficulty: easy
[Statedef 605]
type = S
ctrl = 0
anim = 605
velset = 0,0
movetype = I
physics = S
sprpriority = 2

[State 0, BindToTarget]
type = BindToTarget
trigger1 = Time >= 0
time = 1000
ID = -1

[State 195, 2]
type = ChangeState
trigger1 = Time >= 1
value = 605
ctrl = 1
    

Re: Moving the player to a helper?

 August 22, 2009, 11:49:07 pm View in topic context
avatar  Posted by Kenthos  in Moving the player to a helper? (Started by Kenthos August 22, 2009, 11:26:56 am
 Board: M.U.G.E.N Development Help

Thanks a lot!
    

Moving the player to a helper?

 August 22, 2009, 11:26:56 am View in topic context
avatar  Posted by Kenthos  in Moving the player to a helper? (Started by Kenthos August 22, 2009, 11:26:56 am
 Board: M.U.G.E.N Development Help

I need to make the player move to a helper, but I can't seem to figure out the code to do it.

I know that this, will make you move to player 2. but how would you make it a helper?

x = p2dist x - 30

thanks in advance!  ;D
    

Re: Pulling the other player?

 March 25, 2008, 09:16:42 am View in topic context
avatar  Posted by Kenthos  in Pulling the other player? (Started by Kenthos March 25, 2008, 06:31:29 am
 Board: M.U.G.E.N Development Help

 :) Thx it works great.
    

Pulling the other player?

 March 25, 2008, 06:31:29 am View in topic context
avatar  Posted by Kenthos  in Pulling the other player? (Started by Kenthos March 25, 2008, 06:31:29 am
 Board: M.U.G.E.N Development Help

I've been working on a orb that pulls the other players to it. But can't seem to find a good way to do it.

    

Re: Not able to use D F attacks

 December 01, 2007, 03:50:52 am View in topic context
avatar  Posted by Kenthos  in Not able to use D F attacks (Started by Kenthos November 30, 2007, 02:29:25 am
 Board: M.U.G.E.N Development Help

Somewhere I changed something I am not sure where  --; but It works great now..