[Coding] Balistics/zeroing [WIP]

Making or wanting help making your own asset? Check in here
Post Reply
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

c7a2

m193, 55gr, bc=0.243, not 100% sure about muzzle velocity, i think it is 925m/sec

c9a2

m193, 55gr, bc=0.243, not sure about muzzle velocity, i think it would be the same as the c7a2 cus it fires the same ammo and has the same barrel.
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

i was just thinking about the damage for guns. should all the damage be based off the l86a2? i think we should think about what would be realistic and if it really comes to it what would be best for gameplay. if we make the 5.56mm do around 36 damage and the 7.62mm do around 50, i am sure most people using snipers will be like wtf, i hit him but he didnt go down. so i guess the real question i am asking is, should it really take 2 hits to kill someone with a 7.62mm round?
GR34
Posts: 471
Joined: 2007-04-07 03:08

Post by GR34 »

zangoo wrote:c7a2

m193, 55gr, bc=0.243, not 100% sure about muzzle velocity, i think it is 925m/sec

c9a2

m193, 55gr, bc=0.243, not sure about muzzle velocity, i think it would be the same as the c7a2 cus it fires the same ammo and has the same barrel.
so the c7's bullet is slower then M16? I think the M16 is somthing like 3000fp/s so ruffly 1000m/s
In game name Joshey
Image
Image
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

no they are very close the m16a2 shoots at 930m/sec, about 3050 feet/sec
Mosquill
Retired PR Developer
Posts: 857
Joined: 2007-08-12 10:13

Post by Mosquill »

Hey, why doesn't PR have random damages? Like damage = crd-normal/36/20/0 in the projectile's code.
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

would it be possible to edit the collision model for soldiers. then we could have a outer shell, this would be a penitrable meterial. then some simple boxes inside the shell to simulate vital organs, could also have a tube to simulate the spine. this would allow for more realitic game play. would also be cool to see a bullet pass right through some guy.
motherdear
Retired PR Developer
Posts: 2637
Joined: 2007-03-20 14:09

Post by motherdear »

zangoo wrote:would it be possible to edit the collision model for soldiers. then we could have a outer shell, this would be a penitrable meterial. then some simple boxes inside the shell to simulate vital organs, could also have a tube to simulate the spine. this would allow for more realitic game play. would also be cool to see a bullet pass right through some guy.

the way i understand this from the modders, that this could be done but they would need totally new models instead of the Dice ones to customize the hitboxes (plus it would be a lot of work and i don't know if the hitboxes could cause lag)
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

motherdear wrote:the way i understand this from the modders, that this could be done but they would need totally new models instead of the Dice ones to customize the hitboxes (plus it would be a lot of work and i don't know if the hitboxes could cause lag)
yha me and mosquill were talking about this, my argument was, we wouldnt be adding much too it. we would add a few boxes, max 10. we also talked about making real body armour, using materials that would stop some bullets depending on their material, it could also add deviation and alot of other things to the projectile as it goes through a material.
VipersGhost
Posts: 1171
Joined: 2007-03-27 18:34

Post by VipersGhost »

zangoo wrote:yha me and mosquill were talking about this, my argument was, we wouldnt be adding much too it. we would add a few boxes, max 10. we also talked about making real body armour, using materials that would stop some bullets depending on their material, it could also add deviation and alot of other things to the projectile as it goes through a material.
Wow, that still sounds like some big changes. I'm just hoping the ballistics make it into .8, any chances of that happening or are their development still to far out?
All you twats starting said threads "WTFBBQSAUCE 0.7 BLOWS" - R-Dev Jaymz
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

right now me and mosquill are getting the info for all the guns and checking if they are good, if you would like to help get on xfire and i will start a chat room and we can try to finish this today. right now i have got about 40% done.
Mosquill
Retired PR Developer
Posts: 857
Joined: 2007-08-12 10:13

Post by Mosquill »

Jonny wrote:Not gonna make v0.8, I dont know what happened to Mosquill but I have not had the first rifles in this series yet, I think he is still looking for information.

It does not have to be 100% correct Mosquill, just close enough. The addition of real ballistics is a big enough change to allow them to be perfected over a few releases.
Nothing happend to me. I'm here :)
The ballistics should be done before next monday.
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

could someone look for some kind of converter so we can convert the g1 bc into g5. this would help a great deal.


ok so we almost have all the guns

we need the bc, bullet weight, bullet speed for each gun, these are the guns we need for the main factions.

us
---
M9
P226N

gb
---
L115A1
L119A1
P226N
L9

pla
---
QSZ92

mec
---
MP5A3
MR444

Militia
---
Bizon
Skorpion
Last edited by zangoo on 2008-04-12 01:50, edited 1 time in total.
nedlands1
Posts: 1467
Joined: 2006-05-28 09:50

Post by nedlands1 »

Mosquill wrote:Hey, why doesn't PR have random damages? Like damage = crd-normal/36/20/0 in the projectile's code.
I tried that with "ObjectTemplate.detonation.explosionDamage CRD_UNIFORM/49/100/0". What happened was the grenade would go off but no damage would be dealt. I imagine that this was a foreign command to the engine so it just ignored it, hence the zero damage. Also, a very good website on continuous random distributions in BF is: MDT - CRD Argument Type
Image
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

here is what me and mosquill have come up with, if you find something that is diffrent then what we have, please make a post and have a link that shows that are values might be wrong, please dont link to wikipedia. if you can find extra info or info that we got wrong it would help to point it out.

guns with a long string of ---------- next to it means it is not done.

US:
=================================================
M40 (400)
m118lr, 175gr, bc=0.49, 777m/sec

M14 (400)
m118lr, 175gr, bc=0.49, 874m/sec

M16 (200 - 300)Factsheets Database - M16A4 Rifle - Powered by ReviewPost
m855, 62gr, bc=0.304, 948m/sec,

M4 (100 - 300)
m855, 62gr, bc=0.304, 884m/sec

M249 (200)M249
m855, 62gr, bc=0.304, 915m/sec

M9 (25)
9x19mm, 147gr, bc=0.2, 353m/sec

P226N (25
9x19mm, 147, bc=0.2, 390m/sec

GB:
=================================================

L86 DMR (400)
m855, 62gr, bc=0.304, 970m/sec

L115A1 (500)
Lock Base FMJ, 250gr, bc=0.662, 936m/sec

L85A2 (200 - 300)
m855, 62gr, bc=0.304, 940m/sec

Minimi (200)BELLUM - Fabrique Nationale (FN) Minimi
m855, 62gr, bc=0.304, 853m/sec

L119A1 (100)
m855, 62gr, bc=0.304, ???

P226N (25)
9x19mm, 147, bc=0.2, 390m/sec

L9 (25)------------------------------------------------------------------

PLA:
=================================================

QBU88 (400)
5.8x42mm, 63gr, bc=0.309, 895m/s

SV98 (500)
7n1, 151gr, bc=0.43, 830m/sec

QBZ95 (200-300)
DBP87, 63gr, bc=0.309, 930m/sec

QBB95 (200)
6DBP87, 63gr, BC=0.309, 970m/sec

QBZ95B (100)
63gr, BC=0.309, 930m/s

QSZ92 (25)QSZ92 9mm/5.8mm Pistol - SinoDefence.com-------------------------------
480±10m/sec

MEC:
=================================================

Dragunov SVD (400)
7ni, 151gr, bc=0.43, 823±12m/sec

SSG69 (500)BELLUM - Steyr-Mannlicher (Styer-Daimler-Puch) SSG69
m118lr, 175gr, bc=0.49, 860m/sec

G3A3 (200-300)External Ballistics
m80, 149gr, bc=0.195(G7)-0.395(G1), 780m/sec

AK101 (200)THE NEW KALASHNIKOVS OF AK-100 SERIES.
m855, 62gr, bc=0.304, 910m/sec

HK21E (200)Twenty-first Century Small Arms: The ... - Google Book Search
m80, 149gr, bc=0.195(G7)-0.395(G1), 840m/sec

HK53A3 (100)BELLUM - Heckler & Koch 53
m855, 62gr, bc=0.304, 750m/sec

MP5A3 (100)------------------------------------------------------------------

MR444 (25)------------------------------------------------------------------


Militia:
=================================================

Dragunov SVD (400)
7ni, 151gr, bc=0.43, 823±12m/sec

Mosin Nagant (400)Russian 1997 7.62x54r 152 gr. "7N1" Sniper
7ni, 151gr, bc=0.43, 833±5m/sec
SKS (200)
7.62x39, 123gr, BC=0.28, 739±4m/sec

AK47 (200)
7.62x39, 123gr, BC=0.28, 696±5m/sec

AK101 (200)THE NEW KALASHNIKOVS OF AK-100 SERIES.
m855, 62gr, bc=0.304, 910m/sec

PKM (300)Ïàòðîí ËÏÑ, êàëèáðà 7,62 x 54R
lps, 148gr, bc=0.42, 825±25m/sec

Bizon (100)------------------------------------------------------------------

PPsH41 (100)Ïèñòîëåò-ïóëåì¸ò ñèñòåìû Øïàãèíà (ÏÏØ)
7.62x25,86gr, bc=0.115, 500m/sec

Skorpion (25)------------------------------------------------------------------

INS:
=================================================

Dragunov SVD (400)
7ni, 151gr, bc=0.43, 823±12m/sec

Mosin Nagant (400)Russian 1997 7.62x54r 152 gr. "7N1" Sniper
7ni, 151gr, bc=0.43, 833±5m/sec

SKS (200)
7.62x39, 123gr, BC=0.28, 739±4m/sec

AK47 (200)
7.62x39, 123gr, BC=0.28, 696±5m/sec

PKM (200)Ïàòðîí ËÏÑ, êàëèáðà 7,62 x 54R
lps, 148gr, bc=0.42, 825±25m/sec

RUS:
=================================================

Dragunov SVD (400)
7n14, 151gr, bc=0.45, 830m/sec
SV98 (500)
7n14, 151gr, bc=0.45, 830m/sec

PKM (200)Ïàòðîí ËÏÑ, êàëèáðà 7,62 x 54R
lps, 148gr, bc=0.42, 825±25m/sec

AK74M (300)------------------------------------------------------------------
5.56x39mm, 52gr, bc=0.282, 922±10m/sec

AKS74 (300)------------------------------------------------------------------
MR443 (25)------------------------------------------------------------------

NL:
=================================================
HK 417 (400)------------------------------------------------------------------
AWM (500)------------------------------------------------------------------
C7A2 (200 - 300)------------------------------------------------------------------
Minimi (200)------------------------------------------------------------------
P90 (50)------------------------------------------------------------------
Glock 17 (25)------------------------------------------------------------------

AUS:
=================================================
Minimi (300)------------------------------------------------------------------
SR-98 (500)------------------------------------------------------------------
F88S-A1 (300-400)------------------------------------------------------------------
F88 (200)------------------------------------------------------------------
M4A1 (100)------------------------------------------------------------------
Browning HP/L9 (25)------------------------------------------------------------------
H&K USP (25)------------------------------------------------------------------

CAN:
=================================================
C3A1 (500)Sniper Rifle C3A1 7.62mm------------------
c21, 149gr, bc=???, 840m/sec

C8CT (400)------------------------------------------------------------------
C7A2 (200 - 300)The Maryland AR15 Shooters Site--------------------------
m855, 62gr, bc=0.304, ????m/sec

C9 (200)BELLUM - Fabrique Nationale (FN) Minimi---------------------------
m855, 62gr, bc=0.304, ????m/sec

C8 SFW (100)------------------------------------------------------------------
L9 (25)------------------------------------------------------------------
P226N (25)------------------------------------------------------------------

GER:
=================================================
L115A1 (500)------------------------------------------------------------------
G3SG1 (400)------------------------------------------------------------------
G36K (100)------------------------------------------------------------------
G36 (200-300)------------------------------------------------------------------
MG3(200)------------------------------------------------------------------
MG4 (200)------------------------------------------------------------------
G36C (100)------------------------------------------------------------------
MP7 (100)------------------------------------------------------------------
P226N (25)------------------------------------------------------------------

POL:
=================================================
Dragunov SWD (400)------------------------------------------------------------------
TRG 22 (500)------------------------------------------------------------------
PK (200)------------------------------------------------------------------
Wist-94 (25)------------------------------------------------------------------
wz.96/04 Beryl (300?)------------------------------------------------------------------
wz.96/05 Beryl (200?)------------------------------------------------------------------
wz.96/06 Beryl (100?)------------------------------------------------------------------

IDF:
=================================================
SR99 Galil (400)------------------------------------------------------------------
M24 (500)------------------------------------------------------------------
CTAR (300)------------------------------------------------------------------
TAR (200)------------------------------------------------------------------
Micro Galil (100)------------------------------------------------------------------
Negev (300)------------------------------------------------------------------
M16A1 (50)------------------------------------------------------------------
Last edited by zangoo on 2008-04-14 23:19, edited 15 times in total.
Mosquill
Retired PR Developer
Posts: 857
Joined: 2007-08-12 10:13

Post by Mosquill »

zangoo wrote:QBU88 (400)
128gr, bc=0.309, 895m/s

QBZ95 (200-300)
128gr, bc=0.309, 895m/sec

QBB95 (200)
63gr, BC=0.309, 930m/s

QBZ95B (100)
63gr, BC=0.309, 930m/s
Looks like this data is incorrect.

Small update:
Mosin Nagant(M91 Russian): 7N1, BC=0.43, v=833±5, m=9.8g
source: Russian 1997 7.62x54r 152 gr. "7N1" Sniper
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

Jonny wrote:Check the muzzle velocities for QBZ95 and QBZ95B they dont seem right, bring the G3 zeros down to 200-300 because of the lower muzzle velocity, decide which BC we will use for the G3 and HK21.[/url]

right now the mec uses a m80 ball round for the hk21e and the g3a3. ok thx mosquill, i have updated the table. ok so this is how it currently works for mec. their 5.56mm weapons shoot the m855 ball, their 7.62 guns fire the m80 ball round, now we could use the m59 ball for the mec 7.62 weapons and the m193 for the mec 5.56mm weapons. so the decision is up to you guys.



edit:looking at the canadian guns, isnt someone modeling the c14 sniper? so should we find the bullets for the c3a1 or the c14?
Last edited by zangoo on 2008-04-12 15:50, edited 2 times in total.
Post Reply

Return to “PR:BF2 Community Modding”