[CLOSED]Capacitors in virtual ICX weapons
Posted: Sun Feb 13, 2011 12:47 am
Today for SW&A I made a "proactive shield". The idea came up on IRC a few days ago, and I had an idea of how to do it. Basically, the IRC idea was ICX device with a radius fragment. I turned this into a shield by making it low damage, rapid fire, and adding capacitor code to the virtual weapon, so that as it "shielded" it would lose "hitpoints" determined by how many shots it took to kill each incomming missile....however the weapon just plain doesn't fire right now.
Removing the capacitor code solves the problem entirely, but still, that negates the entire "shield" idea.
A pastebin of my code can be found HERE. I'm not ruling out an error on my part causing this, but the general opinion on IRC was that this is a bug. There's a workaround with sysCreateWeaponFire, but it's still a bug.
Removing the capacitor code solves the problem entirely, but still, that negates the entire "shield" idea.
A pastebin of my code can be found HERE. I'm not ruling out an error on my part causing this, but the general opinion on IRC was that this is a bug. There's a workaround with sysCreateWeaponFire, but it's still a bug.