Firefight Update 1
- New Save System, you can now have a save for both game modes.
- Fixed a problem where the game couldn’t tell it was on Newgrounds (why the Medals didn’t work)
- Small changes to the Leaderboard page
- Made the Leaderboard’s At column display “uploads.ungrounded.net” as “www.newgrounds.com”
- Removed the two (rarely said) enemy voice clips
- Fixed landmines not removing on level reset
Update is now live on Newgrounds.
Firefight is now out! You can go play it over at our Sponsors website.
It’ll be coming to Newgrounds soon with 30 different Medals :D.
Cool stuff you can do with Firefight’s Console
I included my Developer Console in the release of Firefight. So I thought i’ll make a post explaining some of the cool stuff you can do with it.
Usage Tips
- When using the console you can use the up and down arrow keys to go between your last used commands.
- If the suggestion box is showing; pressing up/down will toggle between them (so you don’t have to type the whole thing).
- Type help for more information.
You can use some of the cheat functions I put in.
cheat_giveXP(10000);
cheat_toggleGodMode();
cheat_allBuildings(3);
cheat_allUpgrades(3);
cheat_allWeapons(3);
cheat_spawnTruck();
For the all buildings, upgrades and weapons functions you can change that 3 to whatever level you want all of them to be (but 3 would be the best as that’s the highest level).
Faster Days
Make the days go faster by simply changing this value (in milliseconds)
daylength = 60000;Enemys Spawning
Using the npcManager you can make the enemies spawn faster or change the spawn rates of the different types.
npcManager.spawnTimer.delay = 1000;
npcManager.spawnRates = [0,0,0,100];
That first line will make enemies spawn every second and that other one makes it so they have 100% chance of being Minigunners.
Enemys Stats
You can also change stats of the enemy types.
npcManager.enemy_health[0] = 10;
npcManager.enemy_guns[0] = classes.weapons.assaultrifle;
First line will make pistol enemies start with only have 10 health and the second will will make it so they use Assault Rifles.
Modifying your Weapons
There are loads of different things you can change to modify your weapons.
char.gun_pistol.automatic = true;
char.gun_pistol.infiniteAmmo = true;
char.gun_pistol.damage = 40;
I’m sure you can tell what that will do.
You can add new weapons to your inventory as well.
char.wep.push(new classes.weapons.shotgun(this,char));
char.wep[char.wep.length-1].displayName = "My Shotgun";
char.wep[char.wep.length-1].shootGap = 300;
char.wep[char.wep.length-1].bulletCount = 6;
char.wep[char.wep.length-1].infiniteAmmo = true;
char.wep[char.wep.length-1].bulletFilter = new flash.filters.GlowFilter(0xFFFF00,1,10,10,5);
char.wep[char.wep.length-1].soundEffects = new Array(mp3_death1, mp3_death2);
List of Usable Resources
Weapons
- classes.weapons.assaultrifle
- classes.weapons.crossbow
- classes.weapons.machinegun
- classes.weapons.pistol
- classes.weapons.revolver
- classes.weapons.shotgun
- classes.weapons.smg
- classes.weapons.sniperrifle
- classes.weapons.superlaser
- classes.weapons.tornadogun
- classes.weapons.npc_pistol
- classes.weapons.npc_shotgun
- classes.weapons.npc_smg
- classes.weapons.burst_sentry
- classes.weapons.machinegun_sentry
- classes.weapons.missilelauncher_sentry
- mp3_death1
- mp3_death2
- mp3_death3
- mp3_death4
- mp3_heal
- mp3_truck_idle
- mp3_truck_loop
- mp3_voice_killhim
- mp3_voice_overthere
- mp3_crossbow1
- mp3_crossbow2
- mp3_emp
- mp3_explosion1
- mp3_explosion2
- mp3_laser
- mp3_laserloop
- mp3_pistol
- mp3_reload
- mp3_revolver
- mp3_rifle
- mp3_shotgun
- mp3_smg
- mp3_sniper
- fx_explosion1
- fx_explosion2
- fx_spark
- fx_bloodsplat
- model_supplies
- model_dogtag
- model_rico
- model_truck
- model_enemy_pistol
- model_enemy_smg
- model_enemy_shotgun
- model_enemy_gunner
- model_buildGhost
- model_landmine
- model_sentry_base
- model_sentry_burst
- model_sentry_machinegun
- model_sentry_missile
- model_helicopter
- model_helicopter_top
There is a lot more you could do with the console but I’ll leave that to you to find out.
Here’s a little thing I put together that will turn you into a Minigunner (just paste it into your console):
char.removeChild(char.model);
char.model = new model_enemy_gunner();
char.addChild(char.model);
char.model.head.gotoAndStop(1);
char.model.gun.gotoAndStop(1);
char.updateBSP(char.model.bsp.x,char.model.bsp.y);
char.wep = new Array(new classes.weapons.machinegun(this,char));
char.changeWeapon(0);
Started working on a Mech for this flash game I’m making. They’ll be enemies that use them and you’ll be able to hijack them somehow; i might make it so you can buy/upgrade your own too. Next i think i’ll make it so you can squish enemies if you step on them :D.
It was fun to make and pretty fun to use in-game too, thinking about adding Tanks and stuff now. At the moment in this game you defend your crashed Spaceship as you collect Metal to repair it and buy upgrades for your weapon and stuff. You can build defences like Sentries, Landmines and a Healing station, so maybe you could deploy controllable Vehicles that way as well.
Ha, I just noticed while checking the video that the Mech bleeds! Whoops :P
Messing around with the Developer Console in Shoot Out. Which i’m leaving in for release so people can have some fun making cool weapons and stuff with it.
Here’s an example of a weapon i made:
char.wep.push(new classes.weapons.assaultrifle(this,char));
char.wep[char.wep.length-1].displayName = "Super Assault Rifle";
char.wep[char.wep.length-1].weaponModelId = 4;
char.wep[char.wep.length-1].upgrade(3);
char.wep[char.wep.length-1].shootGap = 5;
char.wep[char.wep.length-1].bulletSpeed = 14;
char.wep[char.wep.length-1].damage = 18;
char.wep[char.wep.length-1].spread = 10;
char.wep[char.wep.length-1].bulletCount = 3;
char.wep[char.wep.length-1].maxHitCount = 1;
char.wep[char.wep.length-1].accurateBursts = false;
char.wep[char.wep.length-1].infiniteAmmo = true;
char.wep[char.wep.length-1].useExplosion = true;
char.wep[char.wep.length-1].explosionAnimations = [fx_explosion1];
char.wep[char.wep.length-1].explosionDamage = 10;
char.wep[char.wep.length-1].bulletFilter = new flash.filters.GlowFilter(0xFF0000,1,10,10,8);
char.wep[char.wep.length-1].soundEffects[0] = mp3_sniper;
You can use this weapon simply by enabling the Developer Console in the Options Menu, opening it while in game (~) and then pasting in the above code.
Screenshot of one of my upcoming games: Shoot Out.
It’s a Top Down Shooter where you have to defend yourself against waves of enemies while earning XP; which you can spend on new weapons, upgrading your existing ones or buying things like sentries and perks.
This should be coming out as soon as we manged to get a sponsor, bit busy working on a new flash game for Halloween at the moment.



