Men of War: Assault Squad 2 features new single player style skirmish modes that take players from extreme tank combat to deadly sniper stealth missions. Commanders can now faceoff against opponents on various new multiplayer 1v1 – 4v4 maps. To truly bring the battles to life though there is the new 8v8 game mode designed for huge battles on spectacular maps. This new Assault Squad game brings significant game engine and visual improvements as well, with special attention paid to ones that were highly requested by the players.

Description

The Im out of ammo script will replenish the ammo of user controlled infantry units once they run out of ammo and are near another unit. I can't stop the enemy from throwing you ammo supplies sadly. So your immersion is going to take a hit, just to tell you up front lol.

Preview
IM OUT OF AMMO script!! 0.5
Post comment Comments
Morpheus__ Author
Morpheus__ - - 605 comments

Installation: move the resource pak file and the engine pak file that is for your game to the resource folder in your mod.

To fix the explosion bug

The only thing you have to do is change the blast_hit function in human.inc so it looks like this:

{on blast_hit
{if min_energy 0.01

;{existing code}

}

}

Let me know if it works for your game!

This edits the skirmish.inc file in interaction_entity, so be sure to move the changes over if you like the script.

0.2 edited skirmish.inc: stops "empty" from showing when overlapping a dead unit.

0.3 fixed units who didn't start with a weapon.

Now anyone who doesn't have a weapon will not repeatedly ask for ammo, until they get a weapon.

0.4 fixed bazookas from getting too much ammo
0.5 you must have a weapon inorder for the ammo request to be looped

Reply Good karma+2 votes
HuntleyGopnik
HuntleyGopnik - - 43 comments

Hi!Can you create some scripts for my mod? $$

Reply Good karma Bad karma+2 votes
Guest
Guest - - 689,397 comments

how to install this mod ? please.

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Tags

IM OUT OF AMMO script!! 0.5 has not been tagged yet.