Weapon Upgrades -1 reply

Please wait...

Amraam

I follow teh Moo!

50 XP

30th April 2008

0 Uploads

749 Posts

0 Threads

#1 10 years ago

OK, I have a mod that allows you to buy all of the upgrades for a weapon. I have a FN2000 upgraded fully. I then went to choose the 4x scope, and I still have a 1.6x scope. I remember this being a known bug, but I can't find the thread that had the fix. Any ideas?

This is my w_fn2000_up.ltx:

Spoiler: Show

[up_sect_a_fn2000] cost = 2500 value = +35 rpm = 200

[up_sect_b_fn2000] cost = 2500 value = +40 bullet_speed = 150 hit_power = 0.45, 0.45, 0.45, 0.45

[up_sect_c_fn2000] cost = 2500 value = -30

cam_dispersion = -0.15 ;0.5 cam_dispersion_inc = -0.15 ;0.5 cam_step_angle_horz = -0.15 ;0.5

zoom_cam_dispersion = -0.15 ;0.5 zoom_cam_dispersion_inc = -0.15 ;0.5 zoom_cam_step_angle_horz = -0.15 ;0.5

[up_sect_d_fn2000] cost = 2500 value = +40 bullet_speed = 200 hit_power = 0.5, 0.5, 0.5, 0.5

[up_sect_e_fn2000] cost = 2500 value = "x1.6" scope_zoom_factor = -5 ;50

[up_sect_f_fn2000] cost = 2500 value = "x4" scope_zoom_factor = -35 ;50

[up_sect_g_fn2000] cost = 2500 value = +15 inv_weight = 0.3 ammo_mag_size = 15

[up_sect_ac_fn2000] cost = 3750 value = -30

cam_dispersion = -0.15 ;0.5 cam_dispersion_inc = -0.15 ;0.5 cam_step_angle_horz = -0.15 ;0.5

zoom_cam_dispersion = -0.15 ;0.5 zoom_cam_dispersion_inc = -0.15 ;0.5 zoom_cam_step_angle_horz = -0.15 ;0.5

[up_sect_bd_fn2000] cost = 3750 value = -50 value2 = st_upgr_rpm_lowered rpm = -200

cam_dispersion = -0.25 ;0.5 cam_dispersion_inc = -0.25 ;0.5 cam_step_angle_horz = -0.25 ;0.5

zoom_cam_dispersion = -0.25 ;0.5 zoom_cam_dispersion_inc = -0.25 ;0.5 zoom_cam_step_angle_horz = -0.25 ;0.5

[up_sect_2ac_fn2000] cost = 3750 value = +20 rpm = 200

[up_sect_2bd_fn2000] cost = 3750 value = +70 fire_dispersion_base = -0.4 ;0.6

[up_a_fn2000] scheme_index = 0, 0 known = 1 effects = up_gr_ac_fn2000 section = up_sect_a_fn2000 property = prop_rpm

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = on_weapon_upgrade_something_here

; ui prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_ammo_sysytem_rpm description = st_upg_ammo_sysytem_rpm_descr icon = ui_wp_upgrade_32

;;... [up_b_fn2000] scheme_index = 0, 1 known = 1 effects = up_gr_bd_fn2000 section = up_sect_b_fn2000 property = prop_bullet_speed

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here

; ui prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_hard_barrel_curved description = st_upg_hard_barrel_curved_descr icon = ui_wp_upgrade_23

[up_c_fn2000] scheme_index = 0, 2 known = 1 effects = up_gr_ac_fn2000 section = up_sect_c_fn2000 property = prop_recoil

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here

prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_barrel_recoil description = st_upg_barrel_recoil_descr icon = ui_wp_upgrade_24

[up_d_fn2000] scheme_index = 0, 3 known = 1 effects = up_gr_bd_fn2000 section = up_sect_d_fn2000 property = prop_bullet_speed

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here

; ui prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_accel_curved description = st_upg_accel_curved_descr icon = ui_wp_upgrade_18

[up_e_fn2000] scheme_index = 0, 4 known = 1 effects = section = up_sect_e_fn2000 property = prop_scope_1.6x

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here

; ui prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_scope_1_6x_opt description = st_upg_scope_1_6x_opt_descr icon = ui_wp_upgrade_29

[up_f_fn2000] scheme_index = 0, 5 known = 1 effects = section = up_sect_f_fn2000 property = prop_scope_4x

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here_h

prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_scope_4x_opt description = st_upg_scope_4x_opt_descr icon = ui_wp_upgrade_28

[up_g_fn2000] scheme_index = 0, 6 known = 1 effects = section = up_sect_g_fn2000 property = prop_ammo_size

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here

prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_charger_big description = st_upg_charger_big_descr icon = ui_wp_upgrade_19

[up_ac_fn2000] scheme_index = 1, 0 known = 1 effects = up_gr_2ac_fn2000 section = up_sect_ac_fn2000 property = prop_recoil

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here

; ui prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_porsh_recoil description = st_upg_porsh_recoil_descr icon = ui_wp_upgrade_41

[up_bd_fn2000] scheme_index = 1, 1 known = 1 effects = up_gr_2bd_fn2000 section = up_sect_bd_fn2000 property = prop_recoil

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here

; ui prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_porsh_rpm description = st_upg_porsh_rpm_descr icon = ui_wp_upgrade_42

[up_2ac_fn2000] scheme_index = 2, 0 effects = section = up_sect_2ac_fn2000 property = prop_rpm

known = 1

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here

prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_barrel_rpm description = st_upg_barrel_rpm_descr icon = ui_wp_upgrade_27

[up_2bd_fn2000] scheme_index = 2, 1 effects = section = up_sect_2bd_fn2000 property = prop_dispersion

known = 1

precondition_functor = inventory_upgrades.precondition_functor_a precondition_parameter = a & b

effect_functor = inventory_upgrades.effect_functor_a effect_parameter = something_here

prereq_functor = inventory_upgrades.prereq_functor_a prereq_tooltip_functor = inventory_upgrades.prereq_tooltip_functor_a prereq_params = money(1000), item(habar) name = st_upg_electro_accur description = st_upg_electro_accur_descr icon = ui_wp_upgrade_33

[up_gr_a_fn2000] elements = up_a_fn2000

[up_gr_b_fn2000] elements = up_b_fn2000

[up_gr_c_fn2000] elements = up_c_fn2000

[up_gr_d_fn2000] elements = up_d_fn2000

[up_gr_e_fn2000] elements = up_e_fn2000

[up_gr_f_fn2000] elements = up_f_fn2000

[up_gr_g_fn2000] elements = up_g_fn2000

[up_gr_ac_fn2000] elements = up_ac_fn2000

[up_gr_bd_fn2000] elements = up_bd_fn2000

[up_gr_2ac_fn2000] elements = up_2ac_fn2000

[up_gr_2bd_fn2000] elements = up_2bd_fn2000

Thanks!




eeeeddd37

The Internet ends at GF

50 XP

5th January 2009

0 Uploads

122 Posts

0 Threads

#2 10 years ago

There is no fix that I know of. Go into the gamedata/configs/weapons/w_fn2000 and change the line scope_zoom_factor = 50 to scope_zoom_factor = 15 . The formula for magnification is magnification = 60/scope_zoom_factor so 4=60/15 or 60/4=15 It is a vanilla game problem. The game doesn't seem to read the line when you restart a game. It reads all the rest though.




Amraam

I follow teh Moo!

50 XP

30th April 2008

0 Uploads

749 Posts

0 Threads

#3 10 years ago
eeeeddd37;4754338There is no fix that I know of. Go into the gamedata/configs/weapons/w_fn2000 and change the line scope_zoom_factor = 50 to scope_zoom_factor = 15 . The formula for magnification is magnification = 60/scope_zoom_factor so 4=60/15 or 60/4=15 It is a vanilla game problem. The game doesn't seem to read the line when you restart a game. It reads all the rest though.

Will do mate, thanks. Just started a new game with faction commander so it will be a while yet before I start to get those weapons.