Definitely still need it.JimTheDinosaur said:By the way, do you need a sfall script to change all the existing ammo values to the ones you need for your mod, or do you already have that covered?
Thanks for asking!
Definitely still need it.JimTheDinosaur said:By the way, do you need a sfall script to change all the existing ammo values to the ones you need for your mod, or do you already have that covered?
Sorry no list of values currently, I'm at work so I will not be able to get you a list till later, but if you can use the html/javascript file then it's all right there.JimTheDinosaur said:Then I'll get on it
Do you have a list of values lying around or do I have to use the javascript?
[FIX]
223_FMJDRM=-5
223_FMJX=2
223_FMJY=1
10MM_APDRM=-0
10MM_APX=1
10MM_APY=2
10MM_JHPDRM=-0
10MM_JHPX=2
10MM_JHPY=1
5MM_JHPDRM=-15
5MM_JHPX=2
5MM_JHPY=1
5MM_APDRM=-15
5MM_APX=1
5MM_APY=2
44_MAGNUM_JHPDRM=-10
44_MAGNUM_JHPX=2
44_MAGNUM_JHPY=1
44_FMJ_MAGNUMDRM=-10
44_FMJ_MAGNUMX=2
44_FMJ_MAGNUMY=2
45_CALIBER_AMMODRM=-5
45_CALIBER_AMMOX=2
45_CALIBER_AMMOY=1
2MM_EC_AMMODRM=-20
2MM_EC_AMMOX=1
2MM_EC_AMMOY=3
4_7MM_CASELESSDRM=-40
4_7MM_CASELESSX=1
4_7MM_CASELESSY=2
7_62MM_AMMODRM=-20
7_62MM_AMMOX=2
7_62MM_AMMOY=2
9MM_AMMODRM=-0
9MM_AMMOX=2
9MM_AMMOY=1
9MM_BALLDRM=-0
9MM_BALLX=1
9MM_BALLY=1
14MM_APDRM=-25
14MM_APX=1
14MM_APY=2
SHOTGUN_SHELLSDRM=-0
SHOTGUN_SHELLSX=3
SHOTGUN_SHELLSY=1
FLAMETHROWER_FUELDRM=-0
FLAMETHROWER_FUELX=1
FLAMETHROWER_FUELY=1
FLAMETHROWER_FUEL_MK_IIDRM=-15
FLAMETHROWER_FUEL_MK_IIX=1
FLAMETHROWER_FUEL_MK_IIY=1
HN_AP_NEEDLER_CARTRIDGEDRM=-5
HN_AP_NEEDLER_CARTRIDGEX=1
HN_AP_NEEDLER_CARTRIDGEY=2
HN_NEEDLER_CARTRIDGEDRM=-5
HN_NEEDLER_CARTRIDGEX=1
HN_NEEDLER_CARTRIDGEY=1
MICRO_FUSION_CELLDRM=-0
MICRO_FUSION_CELLX=2
MICRO_FUSION_CELLY=1
SMALL_ENERGY_CELLDRM=-0
SMALL_ENERGY_CELLX=2
SMALL_ENERGY_CELLY=1
EXPLOSIVE_ROCKETDRM=-0
EXPLOSIVE_ROCKETX=1
EXPLOSIVE_ROCKETY=1
ROCKET_APDRM=-0
ROCKET_APX=1
ROCKET_APY=2
BBSDRM=-0
BBSX=1
BBSY=1
ROBO_ROCKET_AMMODRM=-0
ROBO_ROCKET_AMMOX=1
ROBO_ROCKET_AMMOY=1
procedure start;
#include "C:\Program Files (x86)\GOG.com\Fallout 2 Mapper\scripts\HEADERS\sfall.h"
#include "C:\Program Files (x86)\GOG.com\Fallout 2 Mapper\scripts\HEADERS\define.h"
procedure start begin
if game_loaded then begin
set_global_script_type(0);
set_global_script_repeat(100);
end else begin
if get_proto_data(PID_223_FMJ, 44) != -16 then begin
set_proto_data(PID_223_FMJ, 44, -16);
set_proto_data(PID_223_FMJ, 48, get_ini_setting("GlovzFix.ini|FIX|223_FMJDRM"));
set_proto_data(PID_223_FMJ, 52, get_ini_setting("GlovzFix.ini|FIX|223_FMJX"));
set_proto_data(PID_223_FMJ, 56, get_ini_setting("GlovzFix.ini|FIX|223_FMJY"));
set_proto_data(PID_10MM_AP, 48, get_ini_setting("GlovzFix.ini|FIX|10MM_APDRM"));
set_proto_data(PID_10MM_AP, 52, get_ini_setting("GlovzFix.ini|FIX|10MM_APX"));
set_proto_data(PID_10MM_AP, 56, get_ini_setting("GlovzFix.ini|FIX|10MM_APY"));
set_proto_data(PID_10MM_JHP, 48, get_ini_setting("GlovzFix.ini|FIX|10MM_JHPDRM"));
set_proto_data(PID_10MM_JHP, 52, get_ini_setting("GlovzFix.ini|FIX|10MM_JHPX"));
set_proto_data(PID_10MM_JHP, 56, get_ini_setting("GlovzFix.ini|FIX|10MM_JHPY"));
set_proto_data(PID_5MM_JHP, 48, get_ini_setting("GlovzFix.ini|FIX|5MM_JHPDRM"));
set_proto_data(PID_5MM_JHP, 52, get_ini_setting("GlovzFix.ini|FIX|5MM_JHPX"));
set_proto_data(PID_5MM_JHP, 56, get_ini_setting("GlovzFix.ini|FIX|5MM_JHPY"));
set_proto_data(PID_5MM_AP, 48, get_ini_setting("GlovzFix.ini|FIX|5MM_APDRM"));
set_proto_data(PID_5MM_AP, 52, get_ini_setting("GlovzFix.ini|FIX|5MM_APX"));
set_proto_data(PID_5MM_AP, 56, get_ini_setting("GlovzFix.ini|FIX|5MM_APY"));
set_proto_data(PID_44_MAGNUM_JHP, 48, get_ini_setting("GlovzFix.ini|FIX|44_MAGNUM_JHPDRM"));
set_proto_data(PID_44_MAGNUM_JHP, 52, get_ini_setting("GlovzFix.ini|FIX|44_MAGNUM_JHPX"));
set_proto_data(PID_44_MAGNUM_JHP, 56, get_ini_setting("GlovzFix.ini|FIX|44_MAGNUM_JHPY"));
set_proto_data(PID_44_FMJ_MAGNUM, 48, get_ini_setting("GlovzFix.ini|FIX|44_FMJ_MAGNUMDRM"));
set_proto_data(PID_44_FMJ_MAGNUM, 52, get_ini_setting("GlovzFix.ini|FIX|44_FMJ_MAGNUMX"));
set_proto_data(PID_44_FMJ_MAGNUM, 56, get_ini_setting("GlovzFix.ini|FIX|44_FMJ_MAGNUMY"));
set_proto_data(PID_45_CALIBER_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|45_CALIBER_AMMODRM"));
set_proto_data(PID_45_CALIBER_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|45_CALIBER_AMMOX"));
set_proto_data(PID_45_CALIBER_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|45_CALIBER_AMMOY"));
set_proto_data(PID_2MM_EC_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|2MM_EC_AMMODRM"));
set_proto_data(PID_2MM_EC_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|2MM_EC_AMMOX"));
set_proto_data(PID_2MM_EC_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|2MM_EC_AMMOY"));
set_proto_data(PID_4_7MM_CASELESS, 48, get_ini_setting("GlovzFix.ini|FIX|4_7MM_CASELESSDRM"));
set_proto_data(PID_4_7MM_CASELESS, 52, get_ini_setting("GlovzFix.ini|FIX|4_7MM_CASELESSX"));
set_proto_data(PID_4_7MM_CASELESS, 56, get_ini_setting("GlovzFix.ini|FIX|4_7MM_CASELESSY"));
set_proto_data(PID_7_62MM_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|7_62MM_AMMODRM"));
set_proto_data(PID_7_62MM_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|7_62MM_AMMOX"));
set_proto_data(PID_7_62MM_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|7_62MM_AMMOY"));
set_proto_data(PID_9MM_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|9MM_AMMODRM"));
set_proto_data(PID_9MM_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|9MM_AMMOX"));
set_proto_data(PID_9MM_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|9MM_AMMOY"));
set_proto_data(PID_9MM_BALL, 48, get_ini_setting("GlovzFix.ini|FIX|9MM_BALLDRM"));
set_proto_data(PID_9MM_BALL, 52, get_ini_setting("GlovzFix.ini|FIX|9MM_BALLX"));
set_proto_data(PID_9MM_BALL, 56, get_ini_setting("GlovzFix.ini|FIX|9MM_BALLY"));
set_proto_data(PID_14MM_AP, 48, get_ini_setting("GlovzFix.ini|FIX|14MM_APDRM"));
set_proto_data(PID_14MM_AP, 52, get_ini_setting("GlovzFix.ini|FIX|14MM_APX"));
set_proto_data(PID_14MM_AP, 56, get_ini_setting("GlovzFix.ini|FIX|14MM_APY"));
set_proto_data(PID_SHOTGUN_SHELLS, 48, get_ini_setting("GlovzFix.ini|FIX|SHOTGUN_SHELLSDRM"));
set_proto_data(PID_SHOTGUN_SHELLS, 52, get_ini_setting("GlovzFix.ini|FIX|SHOTGUN_SHELLSX"));
set_proto_data(PID_SHOTGUN_SHELLS, 56, get_ini_setting("GlovzFix.ini|FIX|SHOTGUN_SHELLSY"));
set_proto_data(PID_FLAMETHROWER_FUEL, 48, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUELDRM"));
set_proto_data(PID_FLAMETHROWER_FUEL, 52, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUELX"));
set_proto_data(PID_FLAMETHROWER_FUEL, 56, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUELY"));
set_proto_data(PID_FLAMETHROWER_FUEL_MK_II, 48, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUEL_MK_IIDRM"));
set_proto_data(PID_FLAMETHROWER_FUEL_MK_II, 52, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUEL_MK_IIX"));
set_proto_data(PID_FLAMETHROWER_FUEL_MK_II, 56, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUEL_MK_IIY"));
set_proto_data(PID_HN_AP_NEEDLER_CARTRIDGE, 48, get_ini_setting("GlovzFix.ini|FIX|HN_AP_NEEDLER_CARTRIDGEDRM"));
set_proto_data(PID_HN_AP_NEEDLER_CARTRIDGE, 52, get_ini_setting("GlovzFix.ini|FIX|HN_AP_NEEDLER_CARTRIDGEX"));
set_proto_data(PID_HN_AP_NEEDLER_CARTRIDGE, 56, get_ini_setting("GlovzFix.ini|FIX|HN_AP_NEEDLER_CARTRIDGEY"));
set_proto_data(PID_HN_NEEDLER_CARTRIDGE, 48, get_ini_setting("GlovzFix.ini|FIX|HN_NEEDLER_CARTRIDGEDRM"));
set_proto_data(PID_HN_NEEDLER_CARTRIDGE, 52, get_ini_setting("GlovzFix.ini|FIX|HN_NEEDLER_CARTRIDGEX"));
set_proto_data(PID_HN_NEEDLER_CARTRIDGE, 56, get_ini_setting("GlovzFix.ini|FIX|HN_NEEDLER_CARTRIDGEY"));
set_proto_data(PID_MICRO_FUSION_CELL, 48, get_ini_setting("GlovzFix.ini|FIX|MICRO_FUSION_CELLDRM"));
set_proto_data(PID_MICRO_FUSION_CELL, 52, get_ini_setting("GlovzFix.ini|FIX|MICRO_FUSION_CELLX"));
set_proto_data(PID_MICRO_FUSION_CELL, 56, get_ini_setting("GlovzFix.ini|FIX|MICRO_FUSION_CELLY"));
set_proto_data(PID_SMALL_ENERGY_CELL, 48, get_ini_setting("GlovzFix.ini|FIX|SMALL_ENERGY_CELLDRM"));
set_proto_data(PID_SMALL_ENERGY_CELL, 52, get_ini_setting("GlovzFix.ini|FIX|SMALL_ENERGY_CELLX"));
set_proto_data(PID_SMALL_ENERGY_CELL, 56, get_ini_setting("GlovzFix.ini|FIX|SMALL_ENERGY_CELLY"));
set_proto_data(PID_EXPLOSIVE_ROCKET, 48, get_ini_setting("GlovzFix.ini|FIX|EXPLOSIVE_ROCKETDRM"));
set_proto_data(PID_EXPLOSIVE_ROCKET, 52, get_ini_setting("GlovzFix.ini|FIX|EXPLOSIVE_ROCKETX"));
set_proto_data(PID_EXPLOSIVE_ROCKET, 56, get_ini_setting("GlovzFix.ini|FIX|EXPLOSIVE_ROCKETY"));
set_proto_data(PID_ROCKET_AP, 48, get_ini_setting("GlovzFix.ini|FIX|ROCKET_APDRM"));
set_proto_data(PID_ROCKET_AP, 52, get_ini_setting("GlovzFix.ini|FIX|ROCKET_APX"));
set_proto_data(PID_ROCKET_AP, 56, get_ini_setting("GlovzFix.ini|FIX|ROCKET_APY"));
set_proto_data(PID_BBS, 48, get_ini_setting("GlovzFix.ini|FIX|BBSDRM"));
set_proto_data(PID_BBS, 52, get_ini_setting("GlovzFix.ini|FIX|BBSX"));
set_proto_data(PID_BBS, 56, get_ini_setting("GlovzFix.ini|FIX|BBSY"));
set_proto_data(PID_ROBO_ROCKET_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|ROBO_ROCKET_AMMODRM"));
set_proto_data(PID_ROBO_ROCKET_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|ROBO_ROCKET_AMMOX"));
set_proto_data(PID_ROBO_ROCKET_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|ROBO_ROCKET_AMMOY"));
//display_msg("thing");
end
end
end
JimTheDinosaur said:Here's your script Glovz: click. I made all the values customizable through an .ini and entered the values you listed as the default ones. Here's a view of the ini:
Code:[FIX] 223_FMJDRM=-5 223_FMJX=2 223_FMJY=1 10MM_APDRM=-0 10MM_APX=1 10MM_APY=2 10MM_JHPDRM=-0 10MM_JHPX=2 10MM_JHPY=1 5MM_JHPDRM=-15 5MM_JHPX=2 5MM_JHPY=1 5MM_APDRM=-15 5MM_APX=1 5MM_APY=2 44_MAGNUM_JHPDRM=-10 44_MAGNUM_JHPX=2 44_MAGNUM_JHPY=1 44_FMJ_MAGNUMDRM=-10 44_FMJ_MAGNUMX=2 44_FMJ_MAGNUMY=2 45_CALIBER_AMMODRM=-5 45_CALIBER_AMMOX=2 45_CALIBER_AMMOY=1 2MM_EC_AMMODRM=-20 2MM_EC_AMMOX=1 2MM_EC_AMMOY=3 4_7MM_CASELESSDRM=-40 4_7MM_CASELESSX=1 4_7MM_CASELESSY=2 7_62MM_AMMODRM=-20 7_62MM_AMMOX=2 7_62MM_AMMOY=2 9MM_AMMODRM=-0 9MM_AMMOX=2 9MM_AMMOY=1 9MM_BALLDRM=-0 9MM_BALLX=1 9MM_BALLY=1 14MM_APDRM=-25 14MM_APX=1 14MM_APY=2 SHOTGUN_SHELLSDRM=-0 SHOTGUN_SHELLSX=3 SHOTGUN_SHELLSY=1 FLAMETHROWER_FUELDRM=-0 FLAMETHROWER_FUELX=1 FLAMETHROWER_FUELY=1 FLAMETHROWER_FUEL_MK_IIDRM=-15 FLAMETHROWER_FUEL_MK_IIX=1 FLAMETHROWER_FUEL_MK_IIY=1 HN_AP_NEEDLER_CARTRIDGEDRM=-5 HN_AP_NEEDLER_CARTRIDGEX=1 HN_AP_NEEDLER_CARTRIDGEY=2 HN_NEEDLER_CARTRIDGEDRM=-5 HN_NEEDLER_CARTRIDGEX=1 HN_NEEDLER_CARTRIDGEY=1 MICRO_FUSION_CELLDRM=-0 MICRO_FUSION_CELLX=2 MICRO_FUSION_CELLY=1 SMALL_ENERGY_CELLDRM=-0 SMALL_ENERGY_CELLX=2 SMALL_ENERGY_CELLY=1 EXPLOSIVE_ROCKETDRM=-0 EXPLOSIVE_ROCKETX=1 EXPLOSIVE_ROCKETY=1 ROCKET_APDRM=-0 ROCKET_APX=1 ROCKET_APY=2 BBSDRM=-0 BBSX=1 BBSY=1 ROBO_ROCKET_AMMODRM=-0 ROBO_ROCKET_AMMOX=1 ROBO_ROCKET_AMMOY=1
In case you're wondering, this is how the script looks:
[spoiler:53f9f82200][/spoiler:53f9f82200]Code:procedure start; #include "C:\Program Files (x86)\GOG.com\Fallout 2 Mapper\scripts\HEADERS\sfall.h" #include "C:\Program Files (x86)\GOG.com\Fallout 2 Mapper\scripts\HEADERS\define.h" procedure start begin if game_loaded then begin set_global_script_type(0); set_global_script_repeat(100); end else begin if get_proto_data(PID_223_FMJ, 44) != -16 then begin set_proto_data(PID_223_FMJ, 44, -16); set_proto_data(PID_223_FMJ, 48, get_ini_setting("GlovzFix.ini|FIX|223_FMJDRM")); set_proto_data(PID_223_FMJ, 52, get_ini_setting("GlovzFix.ini|FIX|223_FMJX")); set_proto_data(PID_223_FMJ, 56, get_ini_setting("GlovzFix.ini|FIX|223_FMJY")); set_proto_data(PID_10MM_AP, 48, get_ini_setting("GlovzFix.ini|FIX|10MM_APDRM")); set_proto_data(PID_10MM_AP, 52, get_ini_setting("GlovzFix.ini|FIX|10MM_APX")); set_proto_data(PID_10MM_AP, 56, get_ini_setting("GlovzFix.ini|FIX|10MM_APY")); set_proto_data(PID_10MM_JHP, 48, get_ini_setting("GlovzFix.ini|FIX|10MM_JHPDRM")); set_proto_data(PID_10MM_JHP, 52, get_ini_setting("GlovzFix.ini|FIX|10MM_JHPX")); set_proto_data(PID_10MM_JHP, 56, get_ini_setting("GlovzFix.ini|FIX|10MM_JHPY")); set_proto_data(PID_5MM_JHP, 48, get_ini_setting("GlovzFix.ini|FIX|5MM_JHPDRM")); set_proto_data(PID_5MM_JHP, 52, get_ini_setting("GlovzFix.ini|FIX|5MM_JHPX")); set_proto_data(PID_5MM_JHP, 56, get_ini_setting("GlovzFix.ini|FIX|5MM_JHPY")); set_proto_data(PID_5MM_AP, 48, get_ini_setting("GlovzFix.ini|FIX|5MM_APDRM")); set_proto_data(PID_5MM_AP, 52, get_ini_setting("GlovzFix.ini|FIX|5MM_APX")); set_proto_data(PID_5MM_AP, 56, get_ini_setting("GlovzFix.ini|FIX|5MM_APY")); set_proto_data(PID_44_MAGNUM_JHP, 48, get_ini_setting("GlovzFix.ini|FIX|44_MAGNUM_JHPDRM")); set_proto_data(PID_44_MAGNUM_JHP, 52, get_ini_setting("GlovzFix.ini|FIX|44_MAGNUM_JHPX")); set_proto_data(PID_44_MAGNUM_JHP, 56, get_ini_setting("GlovzFix.ini|FIX|44_MAGNUM_JHPY")); set_proto_data(PID_44_FMJ_MAGNUM, 48, get_ini_setting("GlovzFix.ini|FIX|44_FMJ_MAGNUMDRM")); set_proto_data(PID_44_FMJ_MAGNUM, 52, get_ini_setting("GlovzFix.ini|FIX|44_FMJ_MAGNUMX")); set_proto_data(PID_44_FMJ_MAGNUM, 56, get_ini_setting("GlovzFix.ini|FIX|44_FMJ_MAGNUMY")); set_proto_data(PID_45_CALIBER_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|45_CALIBER_AMMODRM")); set_proto_data(PID_45_CALIBER_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|45_CALIBER_AMMOX")); set_proto_data(PID_45_CALIBER_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|45_CALIBER_AMMOY")); set_proto_data(PID_2MM_EC_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|2MM_EC_AMMODRM")); set_proto_data(PID_2MM_EC_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|2MM_EC_AMMOX")); set_proto_data(PID_2MM_EC_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|2MM_EC_AMMOY")); set_proto_data(PID_4_7MM_CASELESS, 48, get_ini_setting("GlovzFix.ini|FIX|4_7MM_CASELESSDRM")); set_proto_data(PID_4_7MM_CASELESS, 52, get_ini_setting("GlovzFix.ini|FIX|4_7MM_CASELESSX")); set_proto_data(PID_4_7MM_CASELESS, 56, get_ini_setting("GlovzFix.ini|FIX|4_7MM_CASELESSY")); set_proto_data(PID_7_62MM_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|7_62MM_AMMODRM")); set_proto_data(PID_7_62MM_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|7_62MM_AMMOX")); set_proto_data(PID_7_62MM_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|7_62MM_AMMOY")); set_proto_data(PID_9MM_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|9MM_AMMODRM")); set_proto_data(PID_9MM_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|9MM_AMMOX")); set_proto_data(PID_9MM_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|9MM_AMMOY")); set_proto_data(PID_9MM_BALL, 48, get_ini_setting("GlovzFix.ini|FIX|9MM_BALLDRM")); set_proto_data(PID_9MM_BALL, 52, get_ini_setting("GlovzFix.ini|FIX|9MM_BALLX")); set_proto_data(PID_9MM_BALL, 56, get_ini_setting("GlovzFix.ini|FIX|9MM_BALLY")); set_proto_data(PID_14MM_AP, 48, get_ini_setting("GlovzFix.ini|FIX|14MM_APDRM")); set_proto_data(PID_14MM_AP, 52, get_ini_setting("GlovzFix.ini|FIX|14MM_APX")); set_proto_data(PID_14MM_AP, 56, get_ini_setting("GlovzFix.ini|FIX|14MM_APY")); set_proto_data(PID_SHOTGUN_SHELLS, 48, get_ini_setting("GlovzFix.ini|FIX|SHOTGUN_SHELLSDRM")); set_proto_data(PID_SHOTGUN_SHELLS, 52, get_ini_setting("GlovzFix.ini|FIX|SHOTGUN_SHELLSX")); set_proto_data(PID_SHOTGUN_SHELLS, 56, get_ini_setting("GlovzFix.ini|FIX|SHOTGUN_SHELLSY")); set_proto_data(PID_FLAMETHROWER_FUEL, 48, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUELDRM")); set_proto_data(PID_FLAMETHROWER_FUEL, 52, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUELX")); set_proto_data(PID_FLAMETHROWER_FUEL, 56, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUELY")); set_proto_data(PID_FLAMETHROWER_FUEL_MK_II, 48, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUEL_MK_IIDRM")); set_proto_data(PID_FLAMETHROWER_FUEL_MK_II, 52, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUEL_MK_IIX")); set_proto_data(PID_FLAMETHROWER_FUEL_MK_II, 56, get_ini_setting("GlovzFix.ini|FIX|FLAMETHROWER_FUEL_MK_IIY")); set_proto_data(PID_HN_AP_NEEDLER_CARTRIDGE, 48, get_ini_setting("GlovzFix.ini|FIX|HN_AP_NEEDLER_CARTRIDGEDRM")); set_proto_data(PID_HN_AP_NEEDLER_CARTRIDGE, 52, get_ini_setting("GlovzFix.ini|FIX|HN_AP_NEEDLER_CARTRIDGEX")); set_proto_data(PID_HN_AP_NEEDLER_CARTRIDGE, 56, get_ini_setting("GlovzFix.ini|FIX|HN_AP_NEEDLER_CARTRIDGEY")); set_proto_data(PID_HN_NEEDLER_CARTRIDGE, 48, get_ini_setting("GlovzFix.ini|FIX|HN_NEEDLER_CARTRIDGEDRM")); set_proto_data(PID_HN_NEEDLER_CARTRIDGE, 52, get_ini_setting("GlovzFix.ini|FIX|HN_NEEDLER_CARTRIDGEX")); set_proto_data(PID_HN_NEEDLER_CARTRIDGE, 56, get_ini_setting("GlovzFix.ini|FIX|HN_NEEDLER_CARTRIDGEY")); set_proto_data(PID_MICRO_FUSION_CELL, 48, get_ini_setting("GlovzFix.ini|FIX|MICRO_FUSION_CELLDRM")); set_proto_data(PID_MICRO_FUSION_CELL, 52, get_ini_setting("GlovzFix.ini|FIX|MICRO_FUSION_CELLX")); set_proto_data(PID_MICRO_FUSION_CELL, 56, get_ini_setting("GlovzFix.ini|FIX|MICRO_FUSION_CELLY")); set_proto_data(PID_SMALL_ENERGY_CELL, 48, get_ini_setting("GlovzFix.ini|FIX|SMALL_ENERGY_CELLDRM")); set_proto_data(PID_SMALL_ENERGY_CELL, 52, get_ini_setting("GlovzFix.ini|FIX|SMALL_ENERGY_CELLX")); set_proto_data(PID_SMALL_ENERGY_CELL, 56, get_ini_setting("GlovzFix.ini|FIX|SMALL_ENERGY_CELLY")); set_proto_data(PID_EXPLOSIVE_ROCKET, 48, get_ini_setting("GlovzFix.ini|FIX|EXPLOSIVE_ROCKETDRM")); set_proto_data(PID_EXPLOSIVE_ROCKET, 52, get_ini_setting("GlovzFix.ini|FIX|EXPLOSIVE_ROCKETX")); set_proto_data(PID_EXPLOSIVE_ROCKET, 56, get_ini_setting("GlovzFix.ini|FIX|EXPLOSIVE_ROCKETY")); set_proto_data(PID_ROCKET_AP, 48, get_ini_setting("GlovzFix.ini|FIX|ROCKET_APDRM")); set_proto_data(PID_ROCKET_AP, 52, get_ini_setting("GlovzFix.ini|FIX|ROCKET_APX")); set_proto_data(PID_ROCKET_AP, 56, get_ini_setting("GlovzFix.ini|FIX|ROCKET_APY")); set_proto_data(PID_BBS, 48, get_ini_setting("GlovzFix.ini|FIX|BBSDRM")); set_proto_data(PID_BBS, 52, get_ini_setting("GlovzFix.ini|FIX|BBSX")); set_proto_data(PID_BBS, 56, get_ini_setting("GlovzFix.ini|FIX|BBSY")); set_proto_data(PID_ROBO_ROCKET_AMMO, 48, get_ini_setting("GlovzFix.ini|FIX|ROBO_ROCKET_AMMODRM")); set_proto_data(PID_ROBO_ROCKET_AMMO, 52, get_ini_setting("GlovzFix.ini|FIX|ROBO_ROCKET_AMMOX")); set_proto_data(PID_ROBO_ROCKET_AMMO, 56, get_ini_setting("GlovzFix.ini|FIX|ROBO_ROCKET_AMMOY")); //display_msg("thing"); end end end
edit: by the way, I tagged you in the codex thread yo.
Is it can run in your Jim's Mods Version 1.25?
In the current version both X & Y are limited to maximum 9. I think they should be enough because dividing DT/DR by 9 reduces all armors in game to leather armor level at best (Frank Horrigan got 20 DT & 70% DR). Unless you're looking to be compatible with other existing ammo proto edits (but even in F2WR there's no X or Y greater than 9), e.g. if I modifed X/Y for my AP ammo to 19/20 (dam x0.95, like in New Vegas) for vanilla formula. But still, any X or Y higher than 9 could mean armor nearly completely penetrated in your fix.I also think I may have a method to allow for X and Y values to be any value greater than 0, but if you download and modify the calculator then you'll see as the X and Y values go up the less meaningful they become. I may have a new version of the mod/fix again in a week or two.
I'm still against modifying how CM works in internal code level. If someone wants to lower/customize CM in critical hit tiers, using CriticalOverrides.ini from sfall should be enough, but I have to double check how it works with your fix.Also, I've been thinking about CM and that maybe the multiplied damage is still too big. Right now ND is multiplied by CM and divided by 2, possible CM values from the critical hit tables are 3, 4, 5, 6, and 8. Which means ND can become up to 4 times (400%) greater with the right critical hit. Is it just me or does that seem like too much?
I was thinking of adding a second version of my mod/fix which possibly used CM as a multiplier to a standard percentage. Example: assert that a base level critical hit is worth 25% of ND [total ND=ND+(25% of ND)], so if CM were 3 then it would be 25% multiplied by 3 making the critical hit worth 75% of ND. This would keep a critical hit to a max of 200%.
Does anyone want this?
2- The critical multiplier is applied too early in my opinion; how does one score a critical hit if it's unknown whether the hit got through the target's armor damage threshold or got past the target's armor damage resistance yet?
3- The ammo multiplier is applied incorrectly in my opinion; first, multiplying the damage value directly implies that the ammo itself somehow increases the min.-max. damage potential of the weapon (I disagree with this)
and second, how is damage multiplied if it's unknown whether the hit got through the target's armor damage threshold or got past the target's armor damage resistance yet?
4- The ammo divisor is applied incorrectly in my opinion; dividing the damage by the ammo divisor only reduces the damage, why would anything about ammo be designed to reduce damage?
5- The difficulty setting is applied too early in my opinion; again, how do you apply something that is to either make the damage more or less if it's unknown whether you got by the target's armor yet?
2- The critical multiplier (CM) is only applied after it is determined that the hit got through the target's armor
--- how else can a hit be considered critical unless it got past armor to hurt a supposedly sensitive spot on the target
3- The ammo multiplier (X) to me seemed out of place, so I compared all the ammo in the game
--- it seemed that JHP ammo was the one (for the most part) which had an X value greater than 1
--- so knowing JHP, was not designed to penetrate armor but rather when it did to fragment and cause more damage, I chose to use X to reduce the target's armor damage resistance
4- The ammo divisor (Y) to me seemed again out of place, so again I compared all the ammo in the game
--- it semed that AP ammo was the one (for the most part) which had a Y value greater than 1
--- so knowing AP, was designed to penetrate armor but not fragment, I chose to use Y to reduce the target's armor damage threshold
5- The combat difficulty setting (CD) felt wrong to apply like CM, if Easy or Hard were selected
--- so I looked at treating it as a decrease or increase to the target's armor damage resistence value, -20 for Easy and +20 for Hard
--- I tested a similiar decrease or increase to the target's armor damage threshold, and it had no meaningful affect
Some consequences and realizations to my approach:
1- Some ammo which has X greater than 1 and Y greater than 1, gets both advantages (currently only 2mm EC and 4.7mm caseless)
--- the 9mm ammo is bugged, it was not intended to be AP ammo (X=1 and Y=2), it should have been JHP ammo (X=2 and Y=1)
--- the HN AP needler cartridge ammo is bugged, it was not intended to be JHP ammo (X=2 and Y=1), it should have been AP ammo (X=1 and Y=2)
--- the Cell ammo (both kinds) is bugged, it does nothing to modify the target's armor values, it should have been like JHP ammo in values (X=2 and Y=1)
--- other ammo that might be considered bugged following the same case as Cell ammo are: .45 Caliber, 9mm ball, 12 gauge shotgun shells, HN Needler cartridge
4- All weapons that use an ammo with X and Y values of 1 and an ammoDRM of 0 have no advantage whatsoever against the target's armor damage threshold and damage resistance (in the original calculation and mine)
--- this is why Laser weapons don't do much damage, its not the weapon, it's the ammo and the fact that most armor in the game have high laser damage resistance
5- I may be close to what the original devs had intended
--- ammo was always meant to affect how the target's armor reacted to a hit, not how it might increase the min.-max. of a weapon's damage potential
6- Ammo values are the biggest factor in whether a weapon is good or not, second is the weapon's min.-max.
7- Ammo, weapons, and armor values need tweaking; to my previous point, ammo more so than anything else
Nope, they do the same damage as you do. If you can use M60 to kill a power-armored target with a burst, they can use M60 killing you in the power armor in the same way.So that enemies could use the same guns as you do but don't do as much damage as you do as they're all not ment to win any fights, while you were ment to win every one you're properly equipped for?
Nope, they do the same damage as you do. If you can use M60 to kill a power-armored target with a burst, they can use M60 killing you in the power armor in the same way.So that enemies could use the same guns as you do but don't do as much damage as you do as they're all not ment to win any fights, while you were ment to win every one you're properly equipped for?
It's fun to watch Horrigan got mowed down by bunch of turrets loaded with .223 miniguns, but it's a nightmare if turrets are targeting you and your party members.