Home   Help Search Login Register  

Author Topic: Realistic bullet holes  (Read 1639 times)

0 Members and 2 Guests are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Realistic bullet holes
« on: 19 Apr 2005, 06:06:25 »
could sombody make a particle that looks like a hole in a human made from a bullet, and then when sombody fires a gun a script finds the exact place the bullet stoped and pastes the particle there. it should be a 2d particle that shows you the same side always. that would make more realic wounds

thanks

Offline Blanco

  • Former Staff
  • ****
Re:Realistic bullet holes
« Reply #1 on: 19 Apr 2005, 08:14:12 »
Hmm, that particle have to follow the unit, doesn't this require a fast loop?
Search or search or search before you ask.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Realistic bullet holes
« Reply #2 on: 19 Apr 2005, 15:09:48 »
Way too laggy, and won't look good either. Better to have hidden sections in the models instead.

:beat: *Gets Shot* :beat:

DBR_ONIX

  • Guest
Re:Realistic bullet holes
« Reply #3 on: 19 Apr 2005, 16:55:27 »
If you have someting like...
Inside guy/What you see when hit > |   Normal body    > |
                                                           | hiddenSelection > |

Then, when hit, you hide the normal body bit
- Ben

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:Realistic bullet holes
« Reply #4 on: 19 Apr 2005, 18:48:33 »
2D wound on units would look very lame, For when you walk around him OFTEN the wound would partitally go in the unit, thus making him look cured almost.

I would suggest OFPEC_Blood addon, it looks much better then a 2D wound, although It wont add textures on units.
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:Realistic bullet holes
« Reply #5 on: 21 Apr 2005, 03:35:57 »
well that just makes blood squirt, i wanted a bullet hole

Offline Nemesis6

  • Members
  • *
Re:Realistic bullet holes
« Reply #6 on: 21 Apr 2005, 12:50:43 »
Which, unfortunatly, is impossible in OFP.
I am actually flying into a star... this is incredible!

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Realistic bullet holes
« Reply #7 on: 21 Apr 2005, 22:25:35 »
2D wound on units would look very lame, For when you walk around him OFTEN the wound would partitally go in the unit, thus making him look cured almost.

I would suggest OFPEC_Blood addon, it looks much better then a 2D wound, although It wont add textures on units.
Dude, the official wounds are 2D. ::)

It could be very much possible in an addon. Very CPU demanding though.

Offline Roni

  • Members
  • *
  • Play the Game !
Re:Realistic bullet holes
« Reply #8 on: 26 Apr 2005, 01:46:37 »
Hi There

I'm now teaching myself particle drops after years of avoiding them.  I don't know all of the variables in that massive array but there is ONE that might fit the bill - the last one.  It's called "Object" and according to the comref it's the "Object to bind this particle to".  Any guesses what this means ?

I just finished making a pretty cool (if I do say so myself) fire effect for a downed aircraft.  I'm using 3D particles (natch !) but I found that 3D particles can create a pretty nifty 2D effect.  If you place it right in the middle of the object and make it just big enough then the bits that stick out look kind of like a decal - there's your 2D effect (maybe).

Alternatively, I'm sure that there must be some way of accessing all of those wound BMP's in the master config.  This is beyond my knowledge (for now !) but it might solve your problem . . .

Cheers



roni

bdfy1

  • Guest
Re:Realistic bullet holes
« Reply #9 on: 27 Apr 2005, 18:47:28 »
There are some sections in original config.cpp ver >1.91 that you should look at.
Quote
class CraterOnVehicle
{
model="";
simulation="CraterOnVehicle";
If you add model it will be placed on every vehicle or man when hit.
Quote
class Crater
{
model="";
simulation="Crater";
};
This option create crater on objects or house walls.
This info was first posted here ( russian ) not by me

I heard that there some realistic effects in 2k3 mod. i.e realistic wounds, shooting off body parts  etc . Is that true ? Mod  is too big for me to download :(
« Last Edit: 27 Apr 2005, 18:48:51 by bdfy1 »

Offline Roni

  • Members
  • *
  • Play the Game !
Re:Realistic bullet holes
« Reply #10 on: 28 Apr 2005, 00:10:20 »
That looks like it.

But what did you mean when you said "If you add model . . ." ?  How do you use this in game without having to create a special addon ?


bdfy1

  • Guest
Re:Realistic bullet holes
« Reply #11 on: 28 Apr 2005, 00:48:05 »
model="<path to any model you like>";
you can insert any model there. Try nabojnice (it's shell ;)) just for example.
And search for names of standart BIS models
It's easy to create custom bullet wound plave it in addon and use  model="<\addon_name\modelname>
But note : it' cause both(!) vehicles and people :( there will be the same crater :(

And I didn't use it yet ;)
I just post info from russian site here
« Last Edit: 28 Apr 2005, 00:49:28 by bdfy1 »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Realistic bullet holes
« Reply #12 on: 28 Apr 2005, 00:54:00 »
Those are part of the cfgNonAIVehicles section of the game config.

I think it defines the crater effects.....for an example try:

cr = "Crater" createvehicle getpos [someposition]

or

cr = "CraterOnVehicle" createvehicle getpos [someposition]


Planck
I know a little about a lot, and a lot about a little.

Offline Roni

  • Members
  • *
  • Play the Game !
Re:Realistic bullet holes
« Reply #13 on: 28 Apr 2005, 01:14:49 »
Ah, so it is an addon - I thought so.  No big deal, you just have to remember that you have the addon running in your version of the game.

I realised years ago that you could do all sorts of wierd things with addons.  For instance, since an addon can be just a config, and since a config can run scripts, you could make an addon that took away everyone's weapons at the start of the mission.

This might not be very useful   :P  but you could do useful stuff instead, such as replace in game soundeffects, change all recoils etc.
It's all good !



roni



Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:Realistic bullet holes
« Reply #14 on: 30 Apr 2005, 01:26:49 »
roni, do you think you could make just a 2d particle thats just red andscript it so it pastes it in the place where the bullet hits.

the particle should be easy but i think the script might be harder

thanks