Hey Guys,I'm currently implementing various full game elements into my NZCR full game and have a question in one regard. In order to keep my helper count as low as I can, I only want p1 to spawn needed helpers for platforms and obtainable items with effects. To do this, I'm relying on the fact that P1's ID is always 56. Like this:Code: ; Code within NZCR Assets Helper that gets spawned per character.; This would be used to trigger elements from P1 that the other players are coded to react to appropriately. To minimize the number of helpers spawned.triggerall = IsHomeTeam && (root,ID || !numpartner)I noticed that if I don't do this limiting of some kind, that each player spawns 4-5 extra helpers, which could be very bad on a simul match of 2-2. XDNow, I'm not having any issues. It proves to be pretty stable and always working, but I need to know: from your experience and knowledge of MUGEN, can player1's ID ever change from 56? Does it ever?Thanks. :)
Алексей said, July 29, 2013, 06:28:35 pmcan player1's ID ever change from 56? Does it ever?As far as I know, P1's ID is set by default to the same value as the HelperMax parameter in your mugen.cfg.I'm not sure whether it ever changes in-game. Despawning/respawning P1 doesn't do the trick, and I can't think of anything else that might...
Demented Fortune Cookie said, July 29, 2013, 07:09:22 pmАлексей said, July 29, 2013, 06:28:35 pmcan player1's ID ever change from 56? Does it ever?As far as I know, P1's ID is set by default to the same value as the HelperMax parameter in your mugen.cfg.I'm not sure whether it ever changes in-game. Despawning/respawning P1 doesn't do the trick, and I can't think of anything else that might...Yeah, I figured it was safe, because nothing has failed so far with me relying on it. Also, since it's a full game environment, I do have more control than normal. It's just one of those things that makes you wonder, you know? Thanks for the info.))
O Ilusionista said, August 04, 2013, 03:51:46 amif I am not wrong, the ID change when you are in a Simuls fight, I don't rememberI don't think it does. I just did a quick test and it remained the same, at 56. As long as that ID is constant, my logic will work. So far so good.
I never had problems with that, but some people yes. Look here: http://mugenguild.com/forum/topics/detcting-winmugen-or-mugen-1-0-120843.0.html
O Ilusionista said, August 04, 2013, 04:02:53 amI never had problems with that, but some people yes. Look here: http://mugenguild.com/forum/topics/detcting-winmugen-or-mugen-1-0-120843.0.htmlOh I see. Well, this game is for mugen 1.0. Looks like my IDs won't change unless the characters are used in WinMUGEN. Thanks for showing me that O Illusionista.
O Ilusionista said, August 04, 2013, 04:08:28 amyou are welcome. But I don't know if the ID won't change too in Mugen 1.0Me neither to be honest. It's one of those things that I'll have to find out the hard way through rigorous testing in the different modes, with different people. In that thread you posted, it seems that in survival, the other player ID's change, but I read nothing about P1's ID changing from 56. We'll see, I guess.)
p1=helpermaxp3=helpermax+1p2=helpermax+1+(enemy,teammode=simul)p4=helpermax+1+(teammode=simul)+(enemy,teammode=simul)besides survival mode this never changes. ever. mugenversion is immaterial.p1's id can indirectly serve as a helpermax trigger.winmugen defaults helpermax=32. 1.0 defaults helpermax=56. if you modify helpermax (most people do) that mugenversion detector does absolutely nothing.i set both mugen versions helpermax to 56.
That clears things up a lot. So, looks like everyone was right in sort of way. Hmm, so I guess that means also, that all this time I've been limiting helpers in attacks: instead of using numhelper<28, I should have been using numhelper<floor(helpermax/2)...A different issue in itself, I know. Personally, If I could, I'd set that sucker way past 56, but sadly you can't. Thanks for the info 2OS.
helpermax isn't really a trigger. just an example.but like i said p1's id can substitute it since it's not a trigger.[State HelperMax]type=nulltrigger1=!ishelpertrigger1=!playeridexist(id-1)trigger1=var(0):=idtrigger1=playeridexist(id-1)trigger1=var(0):=id-1trigger1=playeridexist(id-2)trigger1=var(0):=id-2trigger1=playeridexist(id-3)trigger1=var(0):=id-3numhelper<floor(var(0)/2)
Yeeeeah, I should have read what you wrote before a little more. You'd think there would be a helpermax trigger. How the hell did you come to learn all of these little details about mugen? I feel like there's not one topic (coding-related) that you don't know about it. Thanks once more.))