CS2D
Scripts Hand mounted machine gun help Hand mounted machine gun help
6 replies Hi. i was looking on all that scripts and i had idea. when you have M249 you cant shoot but when you press right button , you can choose place to drop(like with wrench) but when you press right button once more, it show you reload bar and after bar will be filled, m249 is mounted on place(floor,obstacle) and you can move around it until you press right button once more or just press g. if press g machine gun is still mounted, you just leave it.
so... have somebody idea how make this? :D. i have great ideas but not skill. I believe this may be possible with LUA, but you are going to have to use F2, F3 and/or F4 instead of the right-mouse button and 'g'. i think g like drop/leave gun You can't create an obstacle or a floor with Lua you could put some images there and use setpos. i dont need create obstacle or floor. just say that machine gun can be set on floor or obstacle Just make the sprite on a "wall III" so the gun would be destroyable too Like spawning a turret where the player drops the MG?