Twicken wrote:
Hey pyro, this script is great!. i have managed to reduce my libs by half
.
I have stumbled upon a strange glitch however when using the lib. sometimes white lines and triangles will appear after playing allot of games without restarting WA. but that problem doesn't concern me too much.
There is another glitch i get when using the lib in a highlander match with other libs. Melee weapon sprites and sometimes others disappear completely! in some cases you cant even move. its really weird, so i uploaded a replay so you could see for yourself.
http://www.sendspace.com/file/5j1y33Might i also make a suggestion concerning the script?
It would be cool if here was a weap scale param, like the hand scale.
Also would be much more useful for more weapons if the bullet sprites could be animated in different ways, such as fast cycle and track speed, and maybe some of the other more useful ones. i tried to make a bullet with the bulldozer, however it just spins.
those things aside, kudos!
Thanks, Twicken.
Well i saw few weirdness with this lib: sometimes sprites overlapping, that add visual effect of white line across the sprite, but for sprites that has transparency channel (like my Security grenade has green light effect) - that transparancy multiplyed many times (overlapped). Seems like i know what can couse that. I think i lnow what couses that. It`s not that big problem, and i think i will fix it without problems with next updates.
White triangles i had only with very small sprites. Try enlarge file dimensions (simply add more empty space in photoshop). Filesize will not increase, but problem can be solved, i think.
Another problem that i saw personally - is my GunpowderBomb sprite detached from worm and played separately when other weaps selected. This happened to me when played helicopters with raffie.
About replay:
- About weap scale: There is a weap-scale parameter. Here is it: Params->scale it works for holded sprite. That parameter was made one of the first, i should add weap_ tag to it. My fault.
- About bullet sprites animation: Actually they ARE animating in different ways. All taht types of animations i have scripted. Script takes it from weapon settings. So if you configure your bullet (in weapon editor) to be animated like TrackMovement - it will be animated like that
It works, try it.
- About bulldozer: i saw that your bulldozer uses fast cicle method. For my library, all that parameters is about rotation. But if your sprite is animated (independently of rotation) - i made an animation function for that. its simple: Params->animate. set it to true and adjust Params->anim_speed and it will run your animation.
Of you dont need to rotate your bullet at all (when its active), u can simply delete bullet animation (CMissile scprit and all below)