Jump to content

Tricky Damage Formulas - Bullet Damage Loss Over Distance?


GabeGuitarded

Recommended Posts

I'm really curious as to whether this can be done, with or without NVSE. It would add a lot of depth to ballistic weapons in New Vegas, and realism that is noticeably missed when mixing cowboy firearms with high powered rifles. Rounds like the .45-70 in the Brush Gun do a hell of a lot of damage in-game, but retain that huge stat out to infinity, making any other rifle mostly pointless. So the options as I can figure out are either to leave it at its current level (realistic at close range, but too powerful outside of 100 yards), or reduce it (making its close range power understated, and kind of making the brush gun redundant).

 

Seeing as how I really don't know much/anything about scripting in Gamebryo, I was wondering if anybody has any ideas of how it could be implemented in the engine, or if there's some simple method I'm missing. The only idea I can come up with is setting a bullet velocity and somehow calculating damage based on flight time, but this would probably require the script running at impractically high speeds, unless there's some workaround.

 

Interested to hear any ideas!

Link to comment
Share on other sites

Look at: GetCombatTarget, GetDistance, Perk Entry Points, OnHit and OnHitWith.

 

I'm pretty sure it could be done, I'm pretty sure I could do it, and probably you could too. But I'm also pretty sure I'm not interested enough to try too hard to figure it out, but I can certainly point you in the right direction.

Link to comment
Share on other sites

Sounds like I've got a lot of learning to do. The GECK wiki is handy sometimes, but can be on the brief side for noobs. Thanks for those links.

 

Is there a good tutorial to learn the ins and outs of Gamebryo scripting, or at least a more thorough breakdown of available commands and functions? A discussion board/thread that people use would be helpful as well. That's pretty much how I learn/learned powershell scripting, lol.

Link to comment
Share on other sites

Your best bet is to just ask here on the forums if you get confused or stumped. Also, the GECK wiki is brief on some things because the data is more thoroughly covered in the Construction Set Wiki from Oblivion. Check there if you can't find enough info on a function. The new stuff obviously won't be there, but the older functions are, as well as quite a few of what are now NVSE, and then OBSE, functions.

 

To do it correctly you would most likely need quite a bit of NVSE, as you would need to set the weapon to do no damage so you could then calculate the appropriate damage. This would work OK for the player, but I'm sure it would NOT stand up to use by NPCs, if nothing else the processing impact alone would be pretty heavy.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...