Kamakazi Posted March 1, 2009 Author Share Posted March 1, 2009 Yea, so basically I'm tryin to figure out how to edit the client source so that when facing right the Weapon shows up behind the sprite, so I dont overlaps… anyone know? Link to comment Share on other sites More sharing options...
maxac Posted March 1, 2009 Share Posted March 1, 2009 just edit the item paperdoll sheet… Link to comment Share on other sites More sharing options...
Kamakazi Posted March 1, 2009 Author Share Posted March 1, 2009 That wont do what I want. I need to edit the source code so that it shows the weapon behind the sprite when facing right. I could edit the paperdoll to be cut off, but depending on the armor it will either get cut off too short or cut into the armor.. anyway, someone please direct me to where it determines how the weapon is shown in paperdoll in source. I cant seem to find it. Link to comment Share on other sites More sharing options...
zade_o Posted March 1, 2009 Share Posted March 1, 2009 there's two subs in modGameLogic or something calledbltPlayerbltPlayerTopWhat you have to do is look for the part in both of those that says If Player direction!=DIR_UP (that's pseudo code… don't actually look for it)then inside of there add an if statement to cover when the player is moving right. Link to comment Share on other sites More sharing options...
Kamakazi Posted March 1, 2009 Author Share Posted March 1, 2009 Thanks for the info, im gonna try that now and report my results :cheesy:UPDATE:Ok, So I think I found the area to change the source… but im wondering for when the sprites facing right would it be the part that says IF DIR = UP like you said, or actually the IF DIR <> UP ??Im very n00b at vb6 as you can probably tell. But from what i understand the weapon is, normally, behind the char only when facing up. But I want to edit the source to make it so the weapon is also in back of the sprite when facing Right. Is there a way possibly to add another IF DIR (something something) that will only affect when the character is facing right? Like, what is DIR < UP? or DIR > UP? Left and Right? But then, down is obviously less than, or greater than up too.... I'm a little confused :embarrassed: Link to comment Share on other sites More sharing options...
zade_o Posted March 1, 2009 Share Posted March 1, 2009 DIR <> UP in vb means Dir is less than or greater than, essentially, not equal to UP.That covers all the cases except for up which is why all the paperdoll is put down the same Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now