MUGEN OUTLAWS

FUCK THE MUGEN COPS, WE ARE THE OUTLAWS
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Share | 
 

 Display to ClipBoard

Go down 
AuthorMessage
blackchaos
Administrator
avatar

Number of posts : 137
Age : 35
Location : London,England
Registration date : 2008-07-23

PostSubject: Display to ClipBoard   August 7th 2008, 9:39 pm

this is very useful for viewing p2 and p1's distances in debug mode also great for telling the AI when to activate the moves due to the distances

firstly in state -2 code this

[State -2, DisplayToClipboard]
type = DisplayToClipboard
trigger1 = 1 ;this means activated all the time
text = "p2bodydist x = %f p2bodydist y = %f" ;text to show, and %f means float so values will have a decimal point
params = p2bodydist x,p2bodydist y ;will show p2 X and Y distance from you
ignorehitpause = 1;doesnt turn off during hit

you can add about 4 or 5 i think to display, other values are backedgedist, frontedgedist, vel x vel y and you can also view variables like damage multipliers.


to activate debug mode to view this, in game hold ctrl and press D

then the white writing that comes up down bottom left, youll notice the distances.


credit to rajaaboy for explaining this to me.
Back to top Go down
View user profile
 
Display to ClipBoard
Back to top 
Page 1 of 1
 Similar topics
-
» Action Figure Display Stands
» For Sale: BRAND NEW Lego Minifigure Display Case
» Glass Display Cabinet - $100 at Aldi
» Comic Related Statues and Busts
» Laney's Loft - Work Required

Permissions in this forum:You cannot reply to topics in this forum
MUGEN OUTLAWS :: Help :: M.U.G.E.N Development Help :: Code Library-
Jump to: