Go Back   Project Reality Forums > Project Reality Mod Forums > PR Community Modding
PR Community Modding : Discussion on PR community mod projects.

Welcome to the Project Reality Forums! Join the Project Reality forums! Contact Us


Reply
 
LinkBack Thread Tools Display Modes
Old 03-11-2008, 09:03 PM   #41
PR Coder Team

[R-DEV]Mosquill's Avatar
Quote:
Originally Posted by Jonny View Post
ObjectTemplate.Drag CRD_NONE/1/0/0
Are you sure? That doesn't sound right.
Quote:
Originally Posted by Jonny View Post
The constants are calculated from the assumption that at 300m the L85A2s bullet has half as much kinetic energy, so about 71% of its original velocity. I could calculate each constant for each gun, but that assume that I could find the data. So I am basically assuming that the BC is the same because there is not really any other way to do it without the data. I suppose it could be related to the diameter of the round or its cross-sectional area, but for the values so far it is the same for each bullet to make it simple.
Are you saying that you're using same bullet for every gun, and the only difference is velocity? That can't be good. I say we should get more info on bullets and calculate BC, I have a very good BC calculator (uses G1 and G7 bullet models).
[R-DEV]Mosquill is offline Reply With Quote
Old 03-11-2008, 11:31 PM   #42

zangoo's Avatar
hey guys i have been thinking about how we should test drag, so this is what i have been thinking what if we uesd python to get the position of a bullet at a set distance. we could use

physicalObject.getPosition()
physicalObject.getRotation()

to get the postion after set amount of time then wait about 0.03 sec and get the position once more. it would tell us the speed of the projectile at any distance we want. now i have very very little python knowledge so this could never work but just a idea. it could also tell us the distance a projectile has traveled in a set amount of time.
zangoo is offline Reply With Quote
Old 03-11-2008, 11:41 PM   #43
PR Coder Team

[R-DEV]Mosquill's Avatar
Yeah that would be great. Wish I knew how to code in python.
[R-DEV]Mosquill is offline Reply With Quote
Old 03-12-2008, 02:09 AM   #44
PR Developer
Supporting Member

[R-DEV]OkitaMakoto's Avatar
Send a message via AIM to [R-DEV]OkitaMakoto
Keep it up guys Im loving it.

Oh, and just to toss this in after the fact, I realized that Bullet Drop in the suggestions thread is NOT colored Red to mean hardcoded. A bit late in bringing it in, but just to let ya know that whoever wrote that at least didnt think so. [just saying this as the discussion in the previous thread was on people saying things like this were hardcoded]

Haha, like I said, this is looking/sounding AWESOME! Keep up the amazing number crunching work!



In Japan until July 2009, read the blog!
http://okitamakoto.livejournal.com/
[R-DEV]OkitaMakoto is offline Reply With Quote
Old 03-12-2008, 02:34 AM   #45
PR Coder Team

[R-DEV]Mosquill's Avatar
Quote:
Originally Posted by [R-CON]OkitaMakoto View Post
Keep it up guys Im loving it.

Oh, and just to toss this in after the fact, I realized that Bullet Drop in the suggestions thread is NOT colored Red to mean hardcoded. A bit late in bringing it in, but just to let ya know that whoever wrote that at least didnt think so. [just saying this as the discussion in the previous thread was on people saying things like this were hardcoded]

Haha, like I said, this is looking/sounding AWESOME! Keep up the amazing number crunching work!
Yeah it's not red in the suggestions thread, but still, some DEV(s) did say that it's not possible.

Also: GL sights and Head bobbing are red. And those are not even close to hardcoded . But no, I don't blame Devs, I bet they were just too annoyed of ppl asking for head bobbing and stuff like that, so they made it red in ASS thread.
[R-DEV]Mosquill is offline Reply With Quote
Sponsored Links
Old 03-12-2008, 03:35 AM   #46
PR Contributor

[R-CON]nedlands1's Avatar
Quote:
Originally Posted by Mosquill View Post
Also: GL sights and Head bobbing are red. And those are not even close to hardcoded .
Proper GL sights(leaf sights and quadrant sights) are hardcoded. That is unless you happen to know a way to unlock more item-indexes, change the camera for each potential sight setting or know how to map another control axis to change the rotation of a weapon about the forward post on top of the conventional elevation/depression that we have now.

That being said, you shouldn't worry. A bastardised solution has discovered and implemented on a very small scale (on my local server).


[R-CON]nedlands1 is offline Reply With Quote
Old 03-12-2008, 06:06 AM   #47
PR Coder Team

[R-DEV]Mosquill's Avatar
Oh, you mean fully functional sights. Well of course it's hardcoded. But ASS thread says "Assault Greande Launcher (GL) Sights", nothing about changing GL's zeroing range. And right now, in PR, we only have a silly corsshair left from vanilla. Why can't we have a normal GL sights set at 100m for example?

And what about Head bobbing? Or is "Head Bouncing/bobbing/shake/wobble/wobbling" in ASS also means something different?
[R-DEV]Mosquill is offline Reply With Quote
Old 03-12-2008, 08:04 AM   #48
PR Contributor

[R-CON]nedlands1's Avatar
Quote:
Originally Posted by Mosquill View Post
Oh, you mean fully functional sights. Well of course it's hardcoded. But ASS thread says "Assault Greande Launcher (GL) Sights", nothing about changing GL's zeroing range. And right now, in PR, we only have a silly corsshair left from vanilla. Why can't we have a normal GL sights set at 100m for example?
I'm pretty sure "Assault Grenade Launcher Sights" is a made up term. All the UGL's in PR use leaf sights. To aim with the leaf sight you need to line up the front post with the right "rung" for the range you want to shoot at. Once that is done you line that up with the target and fire.

Quote:
Originally Posted by Mosquill View Post
And what about Head bobbing? Or is "Head Bouncing/bobbing/shake/wobble/wobbling" in ASS also means something different?
I think it must mean sight sway. In BF2142 it is just a matter of putting a few lines of code in to do. Not the case in BF2. That being said, FH2 has sway with the sniper rifles which I believe is done with animations. IIRC, FH2 has some head-bobbing effects too.


[R-CON]nedlands1 is offline Reply With Quote
Old 03-12-2008, 01:45 PM   #49

M.0.D's Avatar
Quote:
Originally Posted by BloodBane611 View Post
Pistols should be zeroed at a max of 25 feet. At 25 meters a pistol is next to useless, and anyone armed with a rifle is going to find cover and reload/fix their malfunction rather than transition to a pistol. I agree with Nedlands about the optics zeroing, sights that are meant to be zeroed at a certain range should be, especially since that means that the sights will work as they are meant to.
About Pistols .. i KNOW that the german pistol P8 is zeroed to 50 meters, and it is far away from useless at 25 meters, it is nearly useless at 50 meters, unless you have a lot of practice shooting


This message has been made of environment-friendly recycled letters and words from deleted mails and is fully digital-degradable.
M.0.D is offline Reply With Quote
Old 03-12-2008, 02:15 PM   #50
Gameserver Moderator

Jonny's Avatar
GL sights are NOT hardcoded, we can use a series of animations to go through the possible angles.

Drag is NOT an issue, zangoo, it has been tested and demonstrated already.

It ABSOLUTELY MUST BE INCLUDED when zeroing the rifles, Mosquill. ALL of my values have been calculated for it and will not work without it. I could not get the drag value to change anything during initial testing, the only way to change it was by changing mass. It is also pointless re writing the model to include it as it is NEVER found on its own, it is always divided by the mass.

Drag is to be included. Period.

Different BC would be difficult to add, but possible if you have a better model or the values for each and every bullet used in PR.

Ballistics + Zeroing
!!!Nedlands1 for [R-CON]!!! (Done)
!!!Nedlands1 for [R-DEV]!!!
Jonny is offline Reply With Quote
Sponsored Links
Reply


Bookmarks

Tags
balistics or zeroing, boombastic ballistics, coding, confusing df, confusion pandomoneum, jonny going mad, rico being confusing, wip
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:31 AM.


Powered by: vBulletin. ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2008, Project Reality.