I am currently working on creating black powder rifles in Enlisted, and I was wondering how to edit the properties of the gun/bullet in order to produce a more visible smoke cloud.
I feel like it has to do with the properties of gun__shells
, but I’m not sure.
If anybody could help me with the issue, that would be geat!
gun shells is only if you want to add new type of ammunition to that weapon.
as it goes for the rifle powder effect… errrrr
honestly, i’m not sure.
but i believe you have to modify the projectile.blk of the weapon you are trying to modify.
tracer{
ignitionTime:r=0.002
smokeColor:c=255, 230, 179, 204
smokeTime:r=0.05
smokeRadius:r=0.01
headColor:c=255, 110, 80, 255
luminosity:r=12.0
burnTime:r=1.8
}
but,
you’d be better off asking @tommyZZM, @schyrikami or @Devenddar ( but he… isn’t responsive ) maybe they know more precisely.
i couldn’t find much. so i think it must be changed in the code it self of the projectile.
1 Like
Example: (Berdan shell)
mass:r=0.0241
cartridgeMass:r=0.037
caliber:r=0.0108
speed:r=410.0
maxDistance:r=1500.0
bulletType:t="ball"
hitPowerMult:r=21.0
effectiveDistance:r=200.0
relativeVelHitShift:p2=300.0, 1000.0
relativeVelArmorShift:p2=200.0, 1000.0
hitpower{
HitPower10m:p2=1.0, 10.0 //First value is penetration (mm), second is at what distance.
HitPower100m:p2=0.63, 100.0
HitPower200m:p2=0.5, 200.0
HitPower300m:p2=0.4, 300.0
HitPower400m:p2=0.33, 400.0
HitPower500m:p2=0.3, 500.0
HitPower1000m:p2=0.1, 1000.0
HitPower1500m:p2=0.03, 1500.0
}
armorpower{
ArmorPower0m:p2=1.0, 10.0 //similar to hitpower, i still haven't made sure which does exactly what
ArmorPower1500m:p2=0.1, 1500.0
}
visual{
range_percent_of_ammo:p2=100.0, 0.0
traceFreq:i=1
tracer:t="7mmYellow"
//maybe this is what you are looking for to modify.
//You can search "trail" in the whole datamine to find most trails.
//Not all trails will work with all tracers.
trail:t="smallTrail"
}
tracer{
ignitionTime:r=0.002
smokeColor:c=255, 230, 179, 204 //R,G,B, Brightness (if last number is 0, black, if 255, then RGB at maximum "brightness")
smokeTime:r=0.9 //either defines visibility time of smoke, or length.
smokeRadius:r=0.05
headColor:c=255, 170, 85, 255
luminosity:r=10.0
burnTime:r=1.8
}
1 Like
ArmorPower is penetration
Hitpower is simply the damage of the shell, so for hitpower, the first value is the damage multiplier of it, so at 100m it’s 21 x 0.63 = 13.23 dmg
2 Likes