Kaejer Posted July 5, 2012 Author Posted July 5, 2012 I've been looking around at tutorials and searching for faces on the forum and the code. I can't figure out where you store a face to go with a sprite for a player. Is there a code I can put into the classes.ini file or do I just need to line up the # in graphics with the # in characters?
Wilfre Posted July 5, 2012 Posted July 5, 2012 @Kaejer:> I just need to line up the # in graphics with the # in characters?You do that.
Kaejer Posted July 5, 2012 Author Posted July 5, 2012 Alright, well I tried that and it didn't work. However, I have faces 1-3 and 200-211\. Is the issue because I don't have 4-199?
Ruins of Hell Posted July 5, 2012 Posted July 5, 2012 @Kaejer:> Alright, well I tried that and it didn't work. However, I have faces 1-3 and 200-211\. Is the issue because I don't have 4-199?Yes, unfortunately faces is one of the things where the current graphics engine makes little sense. You could just swap the numbers (like make face 200 into face 4 and then swap sprite 200 with sprite 4, doing this for all sprites). Alternatively, you could rewrite the graphics loader for the faces and just make it load all the files in the folder (check out CheckFaces). Of course, the program would then have to load 211 DirectDrawSurfaces, unless you modify that as well.
Kaejer Posted July 5, 2012 Author Posted July 5, 2012 Alright thanks for the info guys, I'll just swap around characters.
fernz123 Posted July 6, 2012 Posted July 6, 2012 I know this would probably take up a bit of space but couldn't you add in all the faces 4-199 as blank files?
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