Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
However, I'm not sure what the {range 95 100} string actually modifies in the game. I increased the AK-74M rifle's values from {range 95 100} to {range 50 500} thinking it would increase the maximum range of the rifle in the game, but all it did was make it so that the infantry units equipped with that rifle always switched to their sidearm pistol and refused to use the AK-74M rifle in combat.
So, I think the {range XX XX} string in the config files for small arms actually modifies the soldier's AI logic for deciding which weapon to equip and use for the engagement distance values specified by the string (i.e. the distance between the soldier and his target). I'm pretty confused by this string and simply want to increase the maximum range that small arms can fire and hit targets at, but modifying that string seems to not affect that parameter. If anyone knows, I'd be very grateful if they explained it in this thread. :)
Soooo, 50 500 means your guys would only start shooting on their own within 50m, but they did in fact shoot 500m. Did you go into Direct control to confirm the gun could shoot 500m?
I always make guns aim ranges the same as the gun range. It makes no sense to have a gun that they wont shoot at max range with.
Im guessing they swapped to the pistols cuz the pistols shot further than the rifles after you modded it.
{projectileDamageTable {50 10} {250 0}}
Does the above code modify the damage of the bullet from that weapon at two different distances/ranges from the firing weapon? So, would the above code mean that rifle does "10" damage at "50 meters" distance, and does "0" damage at "250 meters" distance? It doesn't seem to make sense as there's already a differently scaled projectile damage string earlier in the config files for each small arms weapon and it uses a much larger number for the damage value, e.g. "853" damage points. So, that's why I'm confused about it. Any more help is greatly appreciated! :)
That I believe is 50m range it does 10 dmg, 250m range it does 0. Its either damage or its penetration.....it could be penetration, because 10 dmg? I doubt it.
As for that 853 dmg, yeah, I looked at that and it makes no sense to me either.
The file says like 853 dmg, but in game, weapon damage is 18-47, depending on range. Soooo, idk, maybe they mean something else entirely.
Thanks for your input, hopefully a developer will see this thread and provide some clarification!
;Missile type S-8D
{from "pattern fg"
{tag "rocket"}
{inventory
{size 5 1}
}
{mass 18.2}
("fg" args 3.75)
{entity "shell_s-8"}
}
the one that explote have this code:
{inventory
{weight 25}
{size 2 2}
{block 5}
}
{mass 44.55}
{entity "shell_ap_25"}
{trace
{view "/texture/fx/trace_zenite1.mtl"
{ScaleY 0.125}
{Light 1}
}
{length 6}
}
{damage blastwave
{energy 87.75}
{area 1 60}
}
}
you can paste the code betewn shells jus copy under inventory. you can see that the blasteway energy and area are edited to huge damage
smal arms are diferent. I only ad a 0 to each of those number, and increase the range.
Tip: for automatic wepons a larger recoveryTime number increase the rate of fire.
my 50cal ammo
;// 12.7x99mm
{bullet
{tag "bullet big hmgun stackable pierce"}
{inventory
{weight 25}
{size 2 2}
{block 5}
}
{mass 4.55}
{entity "shell_ap_25"}
{trace
{view "/texture/fx/trace_zenite1.mtl"
{ScaleY 0.125}
{Light 1}
}
{length 6}
}
{damage blastwave
{energy 5.75}
{area 1 17}
}
}
for the 25mm of the bradley:
gun 25m242
{from "pattern gun"
{filling "bullet25" 40000}
{fireSound "gun/autocannon_medium/"}
{reloadSound "gun_small/"}
{rechargeTime 1}
("range_zenite_long")
("speed" s(1100))
("caliber_zenite")
("recoveryTime" r(5000))
{projectileDamage 55}
("minimumDamageModifier" m(25))
("damage_autocannon" a(100))
{AimingTolerance 3}
{Automatic}
{burst
{min 1}
{short 2.5 1}
{long 7 2}
}
{RelaxationTime 0}
("accuracy_zenite_high")
("healthDamage" h(100))
{crosshair "crosshair5"}
{crosshairReloading "crosshair5_reload"}
{toplayerVignette "/texture/common/environment/lens_effects/zoom_vignette_vehicle_bradley_crosshair"}
}
then end the 25mm shell:
{inventory
{weight 25}
{size 2 2}
{block 5}
}
{mass 4.55}
{entity "shell_ap_25"}
{trace
{view "/texture/fx/trace_zenite1.mtl"
{ScaleY 0.125}
{Light 1}
}
{length 6}
}
{damage blastwave
{energy 17.75}
{area 1 17}
}
}
Thanks for sharing that information about how the projectiles can have an explosive blast effect added to them in the weapon config files in the .pak files! That's incredibly useful! :)
\common\Call to Arms\resource\entity
my abrams tank shoot and 3 blocks get destroy, ideal for the invasion mission, the bradley with 70.000 amo and like 300 ammo rate per second plus explosion is fun.
I can give you the files, jus add me as friend.
The most important thing is that you can make non explosive rounds explosive and edit the amount of blast and area of the blast.
Also in the vehicles you can edit velocity , turret speed, thermal camera time etc.
also dont put 300k of ammo becouse the game will crash use my parameters, will put the tanks config too
{game_entity
(include "/properties/tank.ext")
(include "/properties/selection/vehicle.inc" scale(1.2))
{collider "tank.heavy"}
{props "heavy" "turret_rotator" "vision_vehicle_high" "muzzle_zenite"}
{targetclass "armoredcar" "atgm zenite bullet"}
{extender "enumerator"
{digit_folder "black"}
}
;volume, component/tag
("make_component" args "body1" "body")
("make_component" args "body2" "body")
("make_component" args "body3" "body")
("make_component" args "gun2" "gun")
("armor_heavy" turret(50 30 30 25) body(50 30 30 25))
("armor_engine" t(25 25 25 25))
("shield" args 8)
{extender "shield"
{on}
}
{component "shieldl1" {tags "shield"}}
{component "shieldl2" {tags "shield"}}
{component "shieldl3" {tags "shield"}}
{component "shieldl4" {tags "shield"}}
{component "shieldl5" {tags "shield"}}
{component "shieldl6" {tags "shield"}}
{component "shieldl8" {tags "shield"}}
{component "shieldl9" {tags "shield"}}
{component "shieldl7" {tags "shield"}}
{component "shieldr1" {tags "shield"}}
{component "shieldr2" {tags "shield"}}
{component "shieldr3" {tags "shield"}}
{component "shieldr4" {tags "shield"}}
{component "shieldr5" {tags "shield"}}
{component "shieldr6" {tags "shield"}}
{component "shieldr7" {tags "shield"}}
{component "shieldr8" {tags "shield"}}
{component "shieldr9" {tags "shield"}}
("crew_3_invisible")
("crew_invisible" place(charger) door(emit1) door2(emit2) animation(anim_board_tank) animation2(anim_board_tank) group(crew))
("seat_6_visible")
{placer
{place "driver" {visor "driver"}}
{place "gunner" {visor "main"}}
}
{extender "smokescreen"
{cooldown 120}
}
{extender "vision_mode"
{timer_object
{tag "thermal"}
{active_time 300}
{recharge_rate 0.5}
{type "recharge"}
}
}
{extender "inventory"
{box
{item "ammo bullet25 ap" 7000}
{item "ammo bullet25 fg" 2000}
{item "ammo bullet152 atgm" 7}
{item "ammo 7x51" 2200}
{item "grenade decoy" 1}
}
}
{Weaponry
("restore_ik_time")
{place "gun"
{RestoreIKAfterAim}
{weapon "25mm_m242" filled}
("abm_zenite")
}
{place "gun2" ;atgm
{weapon "152mm_bgm-71_x2" filled}
{Barrels 2}
{charger "gunner"}
("abm_low")
{basic}
}
{place "mgun2" ;coax
{weapon "m240_v1" filled}
{foresight "foresight5"}
("abm_mgun")
{basic}
}
}
{mass 27600}
{Chassis
("tank_trace" fx("tracks_big") step(0.47) len(0.8))
{Locomotion ("locomotion")
("Speed" s(96))
}
{FuelBag
{volume 746}
("rate" r(1.54))
{remain 746}
}
}
{Extension "m2_bradley.mdl"}
{bone "turret"
{speed 0.125}
}
}
First the Gun 120mm_m256a1:
{from "pattern gun"
{filling "bullet120"}
{fireSound "gun/cannon_4/"}
{reloadSound "gun/"}
{rechargeTime 1}
("range_long")
("speed" s(3000))
("caliber_large")
{projectileDamage 3400}
("minimumDamageModifier_gun" m(120))
("damage_gun" a(3400))
{parameters "heat"
("damage_cumulative_heat" a(1400))
("minimumDamageModifier_heat" m(120))
}
("accuracy_high")
{crosshair "crosshair3"}
{crosshairReloading "crosshair3_reload"}
{toplayerVignette "/texture/common/environment/lens_effects/zoom_vignette_vehicle_abrams_crosshair"}
}
then the Shells, ap,heat,fg:
;APFSDS type M829A3
{from "pattern ap"
{tag "big" "shell_big" "pierce"}
{inventory
{weight 25}
{size 2 2}
{block 5}
}
{mass 44.55}
{entity "shell_ap_25"}
{trace
{view "/texture/fx/trace_zenite1.mtl"
{ScaleY 0.125}
{Light 1}
}
{length 6}
}
{damage blastwave
{energy 87.75}
{area 1 60}
}
}
Then the tank:
{game_entity
(include "/properties/tank.ext")
(include "/properties/selection/vehicle.inc" scale(1.3))
{collider "tank.heavy"}
{props "heavy" "turret_rotator" "vision_vehicle_high" "muzzle_large"}
{targetclass "tank" "ap fg bullet"}
{extender "enumerator"
{digit_folder "black"}
}
;volume, component/tag
("make_component" args "body1" "body")
("make_component" args "body2" "body")
("make_component" args "engine2" "engine")
{Volume "turret_shield"
{thickness 10}
}
("armor_heavy" turret(600 600 600 300) body(600 500 500 200))
("armor_mantlet" t(800))
("armor_engine" t(100 100 100 100))
("shield" args 8)
{extender "shield"
{on}
}
{component "shieldl1" {tags "shield"}}
{component "shieldl2" {tags "shield"}}
{component "shieldl3" {tags "shield"}}
{component "shieldl4" {tags "shield"}}
{component "shieldl5" {tags "shield"}}
{component "shieldl6" {tags "shield"}}
{component "shieldl7" {tags "shield"}}
{component "shieldr1" {tags "shield"}}
{component "shieldr2" {tags "shield"}}
{component "shieldr3" {tags "shield"}}
{component "shieldr4" {tags "shield"}}
{component "shieldr5" {tags "shield"}}
{component "shieldr6" {tags "shield"}}
{component "shieldr7" {tags "shield"}}
("crew_4_invisible_opengun")
("seat_4_visible_armor")
{placer
{place "driver" {visor "driver"}}
{place "gunner" {visor "main"}}
{place "charger" {visor "mgun"}}
{place "commander" {visor "mgun2"}{sealable}}
}
{sensor
{visor "mgun2"
{vision "human"}
{bone "turret_mgun2"}
}
}
{extender "smokescreen"
{cooldown 120}
}
{extender "vision_mode"
{timer_object
{tag "thermal"}
{active_time 300}
{recharge_rate 0.5}
{type "recharge"}
}
}
{extender "inventory"
{weapon "mgun1"
{mask "weapon mgun1"}
}
{box
{item "ammo bullet120 ap" 400}
{item "ammo bullet120 fg" 400}
{item "ammo bullet120 heat" 400}
{item "m240_v1" filled {user "mgun1"}}
{item "ammo 7x51" 10400}
{item "ammo 12x99" 9000}
{item "grenade decoy" 1}
}
}
{Weaponry
("restore_ik_time")
{place "gun"
{RestoreIKAfterAim}
{weapon "120mm_m256a1" filling "ammo bullet120 ap" 1}
("abm_high")
}
{place "mgun" ;aa
{weapon "m2hb_v2" filled}
{gunner "charger"}
{charger "charger"}
{LinkBone "mgun_m2"}
{LinkAnimation "off"}
("abm_mgun")
{basic}
}
{place "mgun1" ;aa
{gunner "commander"}
{charger "commander"}
{LinkBone "mgun_rot2"}
{LinkAnimation "off"}
("abm_mgun")
{basic}
{ai_in_manual}
}
{place "mgun2" ;coax
{weapon "m240_v1" filled}
{foresight "foresight5"}
("abm_mgun")
{basic}
}
}
{mass 63000}
{Chassis
("tank_trace" fx("tracks_big") step(0.47) len(0.8))
{Locomotion ("locomotion")
("Speed" s(97))
}
{FuelBag
{volume 1900}
("rate" r(4.46))
{remain 1900}
}
}
{Extension "m1a2_tusk.mdl"}
{bone "turret"
{speed 0.10}
}
{bone "turret_mgun"
{speed 0.25}
{terminator}
}
{bone "turret_mgun2"
{speed 0.25}
}
}