Have a shot; read the inis and have a play. You will need to do the following as a rough guide. There may be a better method using Special Powers, but I can't think of one off hand.
- Commandbutton.ini --> Add a commandbutton that attacks using a tertiary weapon ( because IIRC the secondary is used for the knife attack ).
- Commandbar.ini --> Find the Colonel Burton commandbar and add a new entry for your new button.
- Weapon.ini --> Add a new weapon with no range with an OCL. Add another weapon that fires an EMP pulse with a low range, and another one which triggers an explosion at low range. Make the explosion damage its spawner ( I think you can do this, I don't recall ).
- ObjectCreationList.ini --> Add a new OCL that creates a your single object; the Mine.
- MyEMPMine.ini --> A new object that looks like a mine, with primary weapon as your EMP and secondary as the explosion.
- AmericanInfantry.ini --> Add a tertiary weapon in the weaponset for the OCL-creating weapon.
|