Thanks! But one thing I noticed right away was the way you saved the bullet. You are saving the entire table to the dupe file. This means people who know how to edit dupe files can simply type "damage = 9999999999" and ruin the fun. My idea was to save only the name of the bullet and then search for it on the server. Thus no cheating.I'll just edit that bit..
Edit:
Added wire_render
Changed to base_wire_entity
Made it not weld to players and the world.
Added (and edited) dupe support.
By the way, free fall, if you type
you don't need to reload the map after every time you change the code in one of the bullet lua files. You'll only need to update the cannon with the toolCode:lua_run pewpew:LoadBullets()
Edit:
Changed both FireSound and ExplosionSound into tables, and if there is more than 1 string in the table it will randomize it.


LinkBack URL
About LinkBacks





Reply With Quote
I'll just edit that bit..









Bookmarks