Don't forget to read the rules of the forum. No current release restrictions. | Help Search Members Calendar

Logged in as: The Dreamslayer ( Log Out ) | My Controls · 0 New Messages · View New Posts · My Assistant

Mugen DEV Forum -> Development and Help Forums -> Development Discussion

Pages: (2) 1 [2] ( Go to first unread post ) |

TAG code
Track this topic | Email this topic | Print this topic

Inverse | Posted: Feb 24 2003, 08:46 PM
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

Kazmer | Posted: Feb 26 2003, 02:53 PM
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

| Posted: Feb 26 2003, 07:23 PM
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.

Baby Bonnie Hood | Posted: Feb 27 2003, 12:05 AM
Junior Member Group: Members Posts: 245 Member No.: 2245 Joined: 8-February 03
You could also try using "partner, alive = 0" instead.
--------------------
The Silent Storm palette is mandatory for all MUGEN characters >:D

Kazmer | Posted: Feb 27 2003, 05:01 PM
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.

MugenFan | Posted: Mar 8 2003, 03:04 AM
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

« Next Oldest | Development Discussion | Next Newest »

Pages: (2) 1 [2] |

Close Topic Options
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
- M.U.G.E.N Development Forum - Contact an admin - ELECBYTE - Shin Mugen -
Powered by Invision Power Board(U) v1.2 © 2003 IPS, Inc.