mugen chars, rare characters
Mugen | CHAT | Figuring out p2 distances and using accurate values - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Figuring out p2 distances and using accurate values
BabricogurlDate: Friday, 2011-05-06, 3:53 AM | Message # 1
Hero
Group: contributor
Messages: 429
Awards: 3
Reputation: 7
Reproofs: 0%
Status: Offline
This something i use in debug mode to judge how far an opponent is, its also very useful for when your doing the AI too. Put the coding under statedef -2.

Code:
[State -2, DTC]
type = DisplayToClipboard
trigger1 = 1
text = "P2BodyDist X = %d, P2BodyDist Y = %d, Frontedgedist = %d, Backedgedist = %d"
params = Floor(P2BodyDist X), Floor(P2BodyDist Y), frontedgedist, backedgedist
IgnoreHitPause = 1

You should be able to see more information when you use debug mode (Ctrl + D).

Heres an example of what it looks like:



http://www.youtube.com/user/TheBabricogurl
 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2024 Create a free website with uCoz