1
The X-Com Files / Re: Real weapons overhaul discussion
« on: May 09, 2021, 03:51:48 am »
Shorter M4A1, and another with my attempt at putting a red dot on it. Also, the sprites I use for the AP ammo.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Well, maybe... But it'll hrow the current model into disarray, since 5.56 is already AP, while 7.62 is not (but is stronger). So this distinction already exists.Depends on what you think is the "standard" bullet. The discussion about 7.62 vs 5.56 (standard bullets) is that both are somewhat similar in armor penetration, but 7.62 inflicts bigger wounds. Translating this relationship into gameplay values means the standard 5.56 has to have some armor penetration (or more than 7.62).
All right, but then we'd need an overhaul of all buyable items; or at least a review of them to see if they make sense in comparison.Yep, that is what I am working on right now.
Also, while I don't have much experience with this, I believe that your code won't work - according to the ruleset reference, you can't specify amounts on everyItemList, only on everyMultiItemList. But that's just a tip, doesn't really matter for the discussion.I tested the event, it seems to do what I want. The numbers in 'weightedItemList:' are weights, not amounts. The regular difficulty event gives you two guns, the low difficulty event gives you four guns. That's why I thought 100% chance is not too much, it's just two guns that you get.
extraStrings:
- type: en-US
strings:
STR_WEAPON_DELIVERY_DESCRIPTION: "Greetings, Comm'der! Your Military Envoy here. About them guns you've been asking me for...{NEWLINE}The council does not trust you enough to give you access to the military hardware dealers. However, I did manage to get us a small shipment of military assault rifles and ammo. Don't get excited, this is just them politicians covering their asses. In case this whole cult business is bigger than expected, they don't want the records to say they ignored my requests. It's not much, but at least we don't have to pay for it."
STR_WEAPON_DELIVERY_NATO: "Weapon Delivery"
STR_WEAPON_DELIVERY_WARZAW1: "Weapon Delivery"
STR_WEAPON_DELIVERY_WARZAW2: "Weapon Delivery"
STR_WEAPON_DELIVERY_NATO_LOTS: "Weapon Delivery"
STR_WEAPON_DELIVERY_WARZAW1_LOTS: "Weapon Delivery"
STR_WEAPON_DELIVERY_WARZAW2_LOTS: "Weapon Delivery"
eventScripts:
- type: STR_WEAPON_DELIVERY_SCRIPT
eventWeights:
0:
STR_WEAPON_DELIVERY_NATO: 50
STR_WEAPON_DELIVERY_WARZAW1: 25
STR_WEAPON_DELIVERY_WARZAW2: 25
firstMonth: 0
executionOdds: 100
researchTriggers:
STR_MILITARY_ENVOY_CONTACT: true
STR_MILESTONE_2_SUMMARY: false
minDifficulty: 2
- type: STR_WEAPON_DELIVERY_SCRIPT_EXTRA
eventWeights:
0:
STR_WEAPON_DELIVERY_NATO: 50
STR_WEAPON_DELIVERY_WARZAW1: 25
STR_WEAPON_DELIVERY_WARZAW2: 25
firstMonth: 0
executionOdds: 33
researchTriggers:
STR_MILITARY_ENVOY_CONTACT: true
STR_MILESTONE_2_SUMMARY: false
minDifficulty: 2
- type: STR_WEAPON_DELIVERY_SCRIPT_LOTS
eventWeights:
0:
STR_WEAPON_DELIVERY_NATO_LOTS: 50
STR_WEAPON_DELIVERY_WARZAW1_LOTS: 25
STR_WEAPON_DELIVERY_WARZAW2_LOTS: 25
firstMonth: 0
executionOdds: 100
researchTriggers:
STR_MILITARY_ENVOY_CONTACT: true
STR_MILESTONE_2_SUMMARY: false
maxDifficulty: 1
- type: STR_WEAPON_DELIVERY_SCRIPT_LOTS_EXTRA
eventWeights:
0:
STR_WEAPON_DELIVERY_NATO_LOTS: 50
STR_WEAPON_DELIVERY_WARZAW1_LOTS: 25
STR_WEAPON_DELIVERY_WARZAW2_LOTS: 25
firstMonth: 0
executionOdds: 33
researchTriggers:
STR_MILITARY_ENVOY_CONTACT: true
STR_MILESTONE_2_SUMMARY: false
maxDifficulty: 1
events:
- name: STR_WEAPON_DELIVERY_NATO
description: STR_WEAPON_DELIVERY_DESCRIPTION
background: BACK13.SCR
randomItemList: [STR_RIFLE_M16, STR_RIFLE_L85, STR_FAMAS]
weightedItemList:
STR_RIFLE_M16: 2
STR_FAMAS: 2
STR_RIFLE_L85: 2
STR_COLT_COMMANDO: 1
STR_STEYR_AUG: 1
STR_G36: 1
everyMultiItemList:
STR_RIFLE_M16_CLIP: 10
timer: 20
timerRandom: 43500
- name: STR_WEAPON_DELIVERY_WARZAW1
description: STR_WEAPON_DELIVERY_DESCRIPTION
background: BACK13.SCR
randomItemList: [STR_AK47, STR_AKM]
weightedItemList:
STR_AK47: 3
STR_AKM: 3
STR_GROZA: 2
everyMultiItemList:
STR_WP_7_62_CLIP: 10
timer: 20
timerRandom: 43500
- name: STR_WEAPON_DELIVERY_WARZAW2
description: STR_WEAPON_DELIVERY_DESCRIPTION
background: BACK13.SCR
everyItemList: [STR_AKSU74]
randomItemList: [STR_AK47, STR_AKM]
everyMultiItemList:
STR_WP_7_62_CLIP: 5
STR_WP_5_45_CLIP: 5
timer: 20
timerRandom: 43500
- name: STR_WEAPON_DELIVERY_NATO_LOTS
description: STR_WEAPON_DELIVERY_DESCRIPTION
background: BACK13.SCR
randomItemList: [STR_RIFLE_M16, STR_RIFLE_L85, STR_FAMAS]
randomItemList: [STR_RIFLE_M16, STR_RIFLE_L85, STR_FAMAS]
weightedItemList:
STR_RIFLE_M16: 2
STR_FAMAS: 2
STR_RIFLE_L85: 2
STR_COLT_COMMANDO: 1
STR_STEYR_AUG: 1
STR_G36: 1
weightedItemList:
STR_RIFLE_M16: 2
STR_FAMAS: 2
STR_RIFLE_L85: 2
STR_COLT_COMMANDO: 1
STR_STEYR_AUG: 1
STR_G36: 1
everyMultiItemList:
STR_RIFLE_M16_CLIP: 40
timer: 20
timerRandom: 43500
- name: STR_WEAPON_DELIVERY_WARZAW1_LOTS
description: STR_WEAPON_DELIVERY_DESCRIPTION
background: BACK13.SCR
randomItemList: [STR_AK47, STR_AKM]
randomItemList: [STR_AK47, STR_AKM]
weightedItemList:
STR_AK47: 3
STR_AKM: 3
STR_GROZA: 2
weightedItemList:
STR_AK47: 3
STR_AKM: 3
STR_GROZA: 2
everyMultiItemList:
STR_WP_7_62_CLIP: 40
timer: 20
timerRandom: 43500
- name: STR_WEAPON_DELIVERY_WARZAW2_LOTS
description: STR_WEAPON_DELIVERY_DESCRIPTION
background: BACK13.SCR
everyItemList: [STR_AKSU74]
everyItemList: [STR_AKSU74]
randomItemList: [STR_AK47, STR_AKM]
randomItemList: [STR_AK47, STR_AKM]
everyMultiItemList:
STR_WP_7_62_CLIP: 20
STR_WP_5_45_CLIP: 20
timer: 20
timerRandom: 43500
X-Com prices have little in common with real market prices anyway. You'd need to adjust all prices in the game, and I doubt it would even work well.The thing is, when I googled the prices some X-Files prices were already remarkably close to what I found. For example the AUG is 2200$ and the m16 is 3000$. These are really close to current real world prices. Of course, these are civilian prices. No idea what government organizations pay.
Thanks, but to be honest, I'd need the entire 5.56 family together. Without it, I can't even say much. do you have something like this?Of course I have. Neatly sorted in a spreadsheet. This will take some explaining though, I will add that in the next post.
- type: STR_RIFLE_M16
accuracyAuto: 55 #45
accuracySnap: 80 #75
accuracyAimed: 120 #115
tuAuto: 34 #36
tuSnap: 23 #25
tuAimed: 55
snapRange: 18 #16
autoRange: 14 #11
- type: STR_RIFLE_L85
accuracyAuto: 55 #50
accuracySnap: 75
accuracyAimed: 110 #100
tuAuto: 31 #35
tuSnap: 21 #22
tuAimed: 51 #55
tuLoad: 20
autoRange: 12 #11
snapRange: 19 #16
- type: STR_FAMAS
accuracyAuto: 50 #40
accuracySnap: 70
accuracyAimed: 105
tuAuto: 28 #35
tuSnap: 19 #20
tuAimed: 51 #55
tuLoad: 20
autoRange: 12 #11
snapRange: 17 #16
- type: STR_COLT_COMMANDO
accuracyAuto: 45 #50
accuracySnap: 65 #70
accuracyAimed: 95 #90
tuAuto: 31 #33
tuSnap: 24
tuAimed: 48 #46
autoRange: 11
snapRange: 13 #15
aimRange: 30 #25
confSnap:
shots: 2 #1
autoShots: 4 #3
- type: STR_STEYR_AUG
accuracyAuto: 60 #40
accuracySnap: 80 #75
accuracyAimed: 115 #105
tuAuto: 31 #35
tuSnap: 21 #24
tuAimed: 51 #60
snapRange: 20
autoRange: 13 #11
- type: STR_G36
accuracyAuto: 60 #45
accuracySnap: 85 #75
accuracyAimed: 125 #115
tuAuto: 35
tuSnap: 23 #25
tuAimed: 55 #60
snapRange: 22 #20
autoRange: 15 #11
- type: STR_RIFLE_M16
accuracyAuto: 55 #45
accuracySnap: 80 #75
accuracyAimed: 120 #115
tuAuto: 34 #36
tuSnap: 23 #25
tuAimed: 55
snapRange: 18 #16
autoRange: 14 #11
- type: STR_COLT_COMMANDO
handSprite: 2096 #Same as m16.
accuracyAuto: 45 #50
accuracySnap: 65 #70
accuracyAimed: 95 #90
tuAuto: 31 #33
tuSnap: 24
tuAimed: 48 #46
autoRange: 11
snapRange: 13 #15
aimRange: 30 #25
confSnap:
shots: 2 #1
autoShots: 4 #3
extraStrings:
- type: en-US
strings:
STR_COLT_COMMANDO: "M4A1"
STR_COLT_COMMANDO_UFOPEDIA: "The number one choice of all U.S. special operation units. Essentially a more compact M16, the M4A1 is better suited for close range combat than a full size assault rifle. This reduces long range performance, but the rifle is still accurate enough that the U.S. Armed Forces consider making it the standard infantary rifle.{NEWLINE}Purchasing this weapon requires Contact: Cult Arms Dealers and EXALT Operations or Promotion II."
- type: STR_MINEBEA_UZI
costBuy: 1200 #600
costSell: 900 #400
accuracySnap: 55
accuracyAuto: 43 #40
accuracyAimed: 65 #60
tuSnap: 26 #30
tuAuto: 32 #40
tuAimed: 22 #45
autoRange: 7 #9
snapRange: 12
aimRange: 20 #25
confSnap:
shots: 3
twoHanded: true #false
oneHandedPenalty: 90
invWidth: 2 #1
invHeight: 2
autoShots: 6
- type: STR_UZI_CLIP
costBuy: 180 #100
costSell: 135 #50
power: 22 #20
extraStrings:
- type: en-US
strings:
STR_MINEBEA_UZI_UFOPEDIA: "This modified micro-Uzi is equipped with a foregrip and a flash suppressor. Used by the Japanese Defense Force, it was also employed by the Kiryu-kai as their basic close quarters combat weapon. Intended for two-handed use, one-handed use is slighly less accurate.{NEWLINE}>Concealable"
- type: STR_UZI
costBuy: 1100 #450
costSell: 800 #300
accuracySnap: 50 #55
accuracyAuto: 40
accuracyAimed: 55 #0
tuSnap: 26 #30
tuAuto: 40
tuAimed: 22 #0
autoRange: 7 #9
snapRange: 12
aimRange: 20 #0
confSnap:
shots: 3
twoHanded: false
autoShots: 8 #6
Fine, but it doesn't breing us any closer to "how". Environmental conditions are set by deployment, not race or any other such parameter. So I can't see how I can improve this part.
- type: POLYPH_ARMOR
fieldOfVision: 360 #default 90
- type: POLYPH_ARMOR
omniVision: true #default false