Well, as it seems that I've hit a dead-end with this.. --------------------------------------------------------------------------- Anyhow, I've got another question regarding emplaced guns. I've managed to get the emplaced gun zoom and fire like a Tenloss rifle gun, shoot in zoomode=1 and zoommode=0, but can't get it to charge the same way a Tenloss Disruptor gun does. I've searched through bg_pmove.c, and edited g_weapon.c back and forth, but it just seems weapon charging is quite difficult for a 'mounted' weapon, as it handles weaponstates differently. I've edited bg_weapons.c (to make the emplaced gun use AMMO_POWERCELL as it's ammo, and use same values in other fields as well), g_weapon.c, where I changed the 'FireEmplaced' function with 'FireDisruptor' functions (both alt& main fire), and I changed this bit (in bg_pmove.c):
pm->cmd.weapon = WP_EMPLACED_GUN; //No switch for you!
to
pm->cmd.weapon = WP_DISRUPTOR; //No switch for you! now, how can I get it to charge like a Tenloss also? any tips/ help would be great!