Arcade Mode

Post » Sat May 28, 2011 7:03 pm

So I was playing zombie apocalypse today, and I was thinking this would be cool to play with unlimited ammo, so does anyone know of a way to make a script that gets the currently equiped weapons ammo type so that I can add it to the players inventory?
User avatar
Pawel Platek
 
Posts: 3489
Joined: Sat May 26, 2007 2:08 pm

Post » Sat May 28, 2011 8:23 pm

How about just using FOSE's http://fose.silverlock.org/fose_command_doc.html#SetWeaponAmmoUse to prevent the weapon from using ammo? Given that the player is usually the only actor that uses ammo up, affecting all instances of the weapon shouldn't be a very big deal.

Cipscis
User avatar
Casey
 
Posts: 3376
Joined: Mon Nov 12, 2007 8:38 am

Post » Sat May 28, 2011 9:11 am

Nevermind Cipcis pretty much covered it. :)
User avatar
phil walsh
 
Posts: 3317
Joined: Wed May 16, 2007 8:46 pm

Post » Sat May 28, 2011 5:36 pm

You dont need FOSE. Just edit the weapon and change 'Ammo Use' from 1 or what-ever number it is, to 0.
Now the weapon will use no ammo when its shot.
User avatar
Heather Stewart
 
Posts: 3525
Joined: Thu Aug 10, 2006 11:04 pm

Post » Sat May 28, 2011 5:48 pm

How about just using FOSE's http://fose.silverlock.org/fose_command_doc.html#SetWeaponAmmoUse to prevent the weapon from using ammo? Given that the player is usually the only actor that uses ammo up, affecting all instances of the weapon shouldn't be a very big deal.
You dont need FOSE. Just edit the weapon and change 'Ammo Use' from 1 or what-ever number it is, to 0. Now the weapon will use no ammo when its shot.

Ammo use 0 does mean clips don't deplete, which might not be intended.
With FOSE you can get the ammo type by using set Weapon to GetEquippedObject 5 to get the player's weapon, then GetWeaponAmmo Weapon to get the ID of its ammo.
User avatar
Lifee Mccaslin
 
Posts: 3369
Joined: Fri Jun 01, 2007 1:03 am

Post » Sat May 28, 2011 6:18 pm

I want it to work on any weapon. I play with. I am a member tof the VIRUS team, and I was looking to implement an arcade mode where the player could just run and gun and not worry about ammo, but if they changed there weapon it would also work. Thank you for all of your help, I will try it today.
User avatar
David Chambers
 
Posts: 3333
Joined: Fri May 18, 2007 4:30 am


Return to Fallout 3