modifying weapon upgrades.

diqrider
Scavenger
Posts: 6
Joined: 21 Jul 2016, 07:29

modifying weapon upgrades.

Postby diqrider » 20 Oct 2016, 05:13

Hey guys!

I have been dicking around with weapon and armor upgrades. Although i have an issue that has me scratching my head, when swapping weapon calibers for something id like, id like to be able to either raise or lower damage according to the round i change it to.

Like a way to have hit_power as a property that is modifiable.

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1371
Joined: 26 May 2012, 22:26

Re: modifying weapon upgrades.

Postby Alundaio » 21 Oct 2016, 14:56

I'm unclear what you are asking. You want to increase hit_power through upgrades or hit_power of ammo? The damage ammo deals is the k_hit value.

For upgrades just add the prop_damage to an existing upgrade. Then add hit_power field with additive value.

For example you want to change firstc upgrade of l85. Open up the _up.ltx find up_firstc_l85 then add prop_damage after prop_inertion using a comma. Then find up_sect_firstc_l85 and add hit_power under value or cost field.
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

diqrider
Scavenger
Posts: 6
Joined: 21 Jul 2016, 07:29

Re: modifying weapon upgrades.

Postby diqrider » 22 Oct 2016, 11:04

through upgrades, and thanks!


Return to “Modding Tutorials”

Who is online

Users browsing this forum: No registered users and 1 guest

cron