Changing damage multipliers on specific weapons

Post » Mon Nov 29, 2010 6:01 pm

I was having an idea for my ACR and future projects. I wanted to be able to create a sort of internal upgrade that boosts accuracy or damage on a specific set of weapons. Is something like this possible? I don't want to have to actually change each and every individual weapon entry (there's a lot). If it is, how would I go about doing this?
User avatar
Nicholas
 
Posts: 3454
Joined: Wed Jul 04, 2007 12:05 am

Post » Mon Nov 29, 2010 2:31 pm

I'm not sure i am following you (this is happening to me a lot tonight). Do you want to be able to upgrade specific weapons? If so, you would have to create an upgraded version for each of those weapons. When the upgrade took place, you would swap the old one for the upgraded one. You could make a perk that increases accuacy or damage, but you would still need to specify which guns the perk would be applied to. You don't want it applied, for example, to all 10mm pistols, just the ones that have been upgraded. So a perk won't do. maybe give a specific example of what you are looking for...
User avatar
Rex Help
 
Posts: 3380
Joined: Mon Jun 18, 2007 6:52 pm

Post » Mon Nov 29, 2010 12:00 pm

Sorry about not being clear enough. I am trying to avoid a weapon swap all together. The perk idea sounds like it could work though. Could I add some kind of hidden perk to the player that increases accuracy or damage with ACRs ONLY? I know it isn't exactly a very realistic approach but it could work. I imagine I'd have to make or use a pre-existing formlist with all the ACRs in it and tie it to that somehow but I've never attempted something like this, especially with global variables and such.
User avatar
Chris Johnston
 
Posts: 3392
Joined: Fri Jul 07, 2006 12:40 pm

Post » Mon Nov 29, 2010 6:18 pm

http://fose.silverlock.org/fose_command_doc.html has a load of formlist functions to add and take away from a formlist, and so the perk idea could work if when you take the upgrade you add all the weapons to the formlist, and there's also a separate load of functions to change the stat of a weapon without actually unequipping or reequipping it, such as SetWeaponMinSpread, or SetAttackDamage. Hope it helps.
User avatar
FABIAN RUIZ
 
Posts: 3495
Joined: Mon Oct 15, 2007 11:13 am

Post » Mon Nov 29, 2010 4:13 pm

Well, sure you could add a hidden perk that increases weapon damage or accuracy or both to just the ACRs. But it would work for any gun in the list. Basically, this would auto update every instance of the weapon(s) in question. You would have to fore go any actual upgrade to the weapon. But maybe that's what you are looking for. I was thinking you wanted to upgrade a weapon from inventory. But if are ok with upgrading all weapons of a specific type at once, then a hidden perk is the way to go. Look at the commando perk. It is setup very similar to what I am talking about. You could change the Perk Entry to Calculate Weapon Damage or Calculate My Hit Chance. Then just list the weapons this perk would apply to on the Weapon Conditions tab.
User avatar
Oyuki Manson Lavey
 
Posts: 3438
Joined: Mon Aug 28, 2006 2:47 am


Return to Fallout 3