Mugen DEV Forum


Pages: (2) 1 [2]  ( Go to first unread post ) Reply to this topicStart new topicStart Poll

> TAG code
Inverse
Posted: Feb 24 2003, 08:46 PM
Report PostQuote Post


Member
**

Group: Members
Posts: 14
Member No.: 875
Joined: 8-October 02



Well yes, RotD characters are completely invulnerable before hitting (and another thing, when one character is KOed, the second should jump in instead of run into the action), but unlike RotD, tags in Mugen aren't limited by the "Change" meter, so making them invincible could lead to mucho abuse. I think it's better to keep them vulnerable, to make matches fair.




--------------------
Greetings from Inverse
mr_santana@hotmail.com
http://inverse.mgbr.net
Mini ProfilePM
Top
Kazmer
Posted: Feb 26 2003, 02:53 PM
Report PostQuote Post


Newbie
*

Group: Members
Posts: 7
Member No.: 2324
Joined: 16-February 03



I got my code working well for the most part, but the AI still uses it even when the partner is dead. It looks like my triggers are ok...


;TAG
[State -1, tag]
type = ChangeState
value = 2003
triggerall = var(50) = 0
triggerall = numpartner != 0
triggerall = partner, life > 0

triggerall = statetype != A && ctrl
trigger1 = command = "tag"

; Tag Code
;------------
[State -3, enter the screen]
type = ChangeState
triggerall = numpartner != 0 ; Partner exists
triggerall = stateno = 2005 ; Player waiting outside the screen
trigger1 = partner, stateno = 2003 ; Partner leaving the screen
trigger2 = partner, life = 0 ; Partner dead
trigger3 = win ; Win
value = 2000

[State -3, wait out of the stage]
type = ChangeState
triggerall = numpartner != 0 ; Partner exists
triggerall = partner, stateno != [2003,2005] ; Partner not waiting outside the screen (thus on stage)
trigger1 = (id = 33 || id = 35) && (roundstate <= 2) && (time = 0) ;2nd teammate waits outside the screen during intro
value = 2005
Mini ProfilePMEmail PosterUsers Website
Top
Posted: Feb 26 2003, 07:23 PM
Report PostQuote Post





Group:
Posts:
Member No.:
Joined: --



Try setting the bolded partner, life > 0 thing in your code to partner, life != 0. Sometimes using different expressions works when others don't seem to.
Mini ProfilePMEmail Poster
Top
Baby Bonnie Hood
Posted: Feb 27 2003, 12:05 AM
Report PostQuote Post


Junior Member
***

Group: Members
Posts: 245
Member No.: 2245
Joined: 8-February 03



You could also try using "partner, alive = 0" instead.


--------------------
user posted image
The Silent Storm palette is mandatory for all MUGEN characters >:D
Mini ProfilePMEmail Poster
Top
Kazmer
Posted: Feb 27 2003, 05:01 PM
Report PostQuote Post


Newbie
*

Group: Members
Posts: 7
Member No.: 2324
Joined: 16-February 03



Damn. I tried a few of those variations and moves the coding to different places in the document but still no luck. As soon as the opponent is dead and the CPU partner enters the screen, he just keeps "entering the screen" repeatedly. I wish there was a way to remove this mode altogether because I've encountered many problems that exsist in Team mode but not 1P mode.
Mini ProfilePMEmail PosterUsers Website
Top
MugenFan
Posted: Mar 8 2003, 03:04 AM
Report PostQuote Post


Newbie
*

Group: Members
Posts: 1
Member No.: 1786
Joined: 17-December 02



[State -3, wait out of the stage]
type = ChangeState
triggerall = numpartner != 0      
triggerall = partner, stateno != [4510,4512]   
Try this > triggerall = partner, stateno != 5150
trigger1 = (id = 33 || id = 35) && (roundstate <= 2) && (time = 0)   
value = 4512
Mini ProfilePM
Top

Topic OptionsPages: (2) 1 [2]  Reply to this topicStart new topicStart Poll

 


- M.U.G.E.N Development Forum - Contact an admin - ELECBYTE - Shin Mugen -