I have read the pinned sections on modding from this site and I was wondering where i could find more information on framesets. Like for instance 0x00 sets it to frameset 0 (or 1 depending on how you want to count) which is frames 0-16. So is that literally image000 - image016 (or however they are named from the grp extractor)? and also how does my script know what direction i am going in and do the framesets just loop under that condition automatically? If anyone can point me to some more in depth info on it too that would be greatly appreciated. Thanks!
None.
1. Yes.
2. The scripts automatically know what direction the unit is going in.
None.
Each frameset is 17 frames. The command "playfram" tells the script to display a certain frame, offset based on direction. This means that if your unit is currently playing frameset 0 and facing the top of the screen, frame 0 will be displayed. If the unit turns slightly to the right, frame 1 will be played. But if you play frameset 1 and the unit is facing the top of the screen, frame 18 will be played. I'm pretty sure you can disable this by unchecking "Graphic turns" in DatEdit/PyDAT. There is also an opcode to jump to a certain block based on direction, although if I remember correctly it is fairly retarded and hard to use. (I've never used it so I don't know that much about it. I know the Nuclear Missile uses it in its iscript.)
None.
awesome so if i set a frameset each direction is automatically assigned a specific frame number.
None.