|
Author
|
Topic: Bullet holes for all planes
|
Raider Pilot
|
posted 08-20- 09:13 PM
This is the result of a collection of thoughts from Bjorn and I. It is so simple, I can't believe we didn't do this before.I made a bullet hole object. Copied it over and over on a wing. Hid them all. Then in the properties for the wing, I added this to obDamage. onDmg 1(obUnhide 'Hit1 obUnhide 'Hit2 obUnhide 'Hit3 obUnhide 'Hit4) onDmg 2(obUnhide 'Hit5 obUnhide 'Hit6 obUnhide 'Hit7 obUnhide 'Hit8) and so on. I looks really good, and shows up immediately, not like a switchin. Best of all, you do not have to load a damage texture for the whole plane. You can paint the bullet hole to look however you want. I used the bullet hole texture from Tailslide's site (I hope it's ok TS) and you can resize it etc. This can be added to any plane with little trouble. If you don't want to wait for the next beta, send me an email, and I will send you a copy of the BulletHit.sm and what I have done so far. I am really excited about this, for all planes. ------------------ Raider 33rd~GS Raiders Site
[This message has been edited by Raider (edited 08-20-2000).] IP: Logged |
ArgonV Pilot
|
posted 08-20- 09:24 PM
You know what........... You are a friggin genius. My God thats soooo simple! WTF? Why didnt anyone think of this before? This is so simple its boggels my mind. Only one small problem... You have to position the bullet holes EXACTLY in the right place or it will look stupid (bullet holes above the wing for instance)IP: Logged |
Raider Pilot
|
posted 08-20- 09:42 PM
Thanks ArgonV, (as head swells) I found it very easy to position them, I could rotate them to the exact shape of the parts I was working on. Once I had it over the part, I would lower it until I could not see it and then move it up just enough to make it visible. I looked at it from several angles in the game and if looks like part of the object.It is time consuming, but very fun.
------------------ Raider 33rd~GS Raiders Site
IP: Logged |
Loco Pilot
|
posted 08-20- 09:47 PM
Great Raider,Good Idea and nice visual. Thanks. IP: Logged |
Spanky the Mad Dog Pilot
|
posted 08-20- 11:03 PM
Spanky here.. I had thought of this before. I just figured there was a problem with it or we would have been doing it way earlier In fact I can't belive it wasn't done with the release of the game. K if this is possible couldn't we do a couple instead of just the one texture? LIke some larger ones. Some ones for rips and fire damage? Maybe some on the glass? hmm? spiderweb the glass after its been hit? Holes with oil and fuel streaks? Raider can you explain how to use it to a layman? and the Sm/Sms to me? IP: Logged |
Tailslide Pilot
|
posted 08-20- 11:14 PM
Very very very very nice! I don't mind at all.  IP: Logged |
Raider Pilot
|
posted 08-21- 01:04 AM
Spanky, I am emailing you a copy of the BulletHit.sm, 1.When you open it up in OPS, just click on "Hit" (The name of the main object) and copy it 2. Now open a plane you want to place them on 3. Click on the part of the plane you want to show the hits 4. Paste, and position where you want it to show up. (just barly above the surface of the object - so you can see it) 5. Now click on the plane part again and paste again, Note - everytime you paste the name will increase in number Ex. Hit3 the next will be Hit4 6. Once you have placed them where you want, go back and hide them 7. In the onDamage for that part, just add "onDmg 1(obUnhide 'Hit1 obUnhide 'Hit2 obUnhide 'Hit3 obUnhide 'Hit4)" You can do this for several damage levels, and yes, you could make some bigger for cannon hits, (You just have to keep the size small enough so it fits on small flat surfaces) BTW, Thanks for the mention in your article over at Combatsim.com Great job on that. It seems SDOE is the sim that just won't die.
------------------ Raider 33rd~GS Raiders Site
IP: Logged |
wakeup tailgunner Pilot
|
posted 08-21- 03:14 AM
Gotta stick a few of these on the B17. A couple of larger holes for the fuse, with ribs showing.Excellent and so simple. If you put a variety of holes, you could use obProb to vary it a little. This could even let me do the nose damage I wanted on the '17...... endless possibilities IP: Logged |
Nat Pilot
|
posted 08-21- 05:40 AM
Raider... I could use your pretty lil bullet holes to nice idea Bro, looks very cool naturiich@aol.comIP: Logged |
Sv Pilot
|
posted 08-21- 08:06 AM
You can even add black smears on the wing like other typical DM skins have, just use an alpha texture for the bullet sm file and make the bullet mesh match the mesh of the wing exactly. Nuum and I experimented with this and it worked, but like you mentioned, it is allot of work.One problem is that, when the plane hits the ground or another plane, you get bullet holes! But this happens with the damage skins as well. Wouldn't it be nice if we had an 'onBulletHitsLevel property?  It does add allot Raider, and it must save a ton of precious texture memory - sweet! ------------------ -Sv =FC= WWI in SDOE!
IP: Logged |
Spanky the Mad Dog Pilot
|
posted 08-21- 08:18 AM
Spanky here... No prob man.  Yeah too bad about that crash landing damage stuff. Boy just wait till we get into the code of this game. We will be doing all kinds of crazy things then.
IP: Logged |
Tailslide Pilot
|
posted 08-21- 02:02 PM
Alot of alpha textures all over may be a FPS hit.. hows the FPS in D3D with a bunch of bullet holes visible all over it? TS
IP: Logged |
charmstar Pilot
|
posted 08-21- 03:02 PM
What would be interesting is if you could somehow use obProb in the position matrix to make the hole appear in different spots on the wing at different times. Even better would be if there was some random function you could use to vary the position matrix. Maybe in the next version of openplane? :-)charm IP: Logged |
Raider Pilot
|
posted 08-21- 03:51 PM
TS, these are not alpha textures. You would have to use alpha for the cockpit though.These are just 6 verts with one surface and normal texture. Shouldn't hurt FR too bad. I set them to a view distance of 10000, so other planes have to be close to see them. obProb should work, I found that I can unhide a whole string in one command onDmg 1 (obUnhide 'Hit, 'Hit1, 'Hit2, 'Hit3, 'Hit4) ------------------ Raider 33rd~GS Raiders Site
IP: Logged |
bjorn Pilot
|
posted 08-21- 05:18 PM
Raider, you beat me to it. I've spent the last 2 weeks spraying the P47 with bullet holes. Like you, I've used hexagons with non-alpha bullet textures (16x16.) Unlike you I've created spray-objects, consisting of several bullet holes. obProb's will be used for chosing which spray to show.The whole thing is unbelievably time consuming, though. Just unbelievable. Does anyone have a trick for the rotation of the hexagon so it's flat against the surface it's on? I and the rotaion tool in OPS don't usually agree with each other, so the result is not satisfactory to me. _ /Bjorn.
IP: Logged |
Raider Pilot
|
posted 08-21- 05:45 PM
bjorn, I didn't mean to steal your thunder. I should have known To rotate, once you get it close just; hold down the "Ctrl" key while moving/rotating with the Cursor keys & "Home" & "End", This will give you micro movements. Use the Shift key with the cursor keys will give you big movements. Yes very very time consuming. Can't wait to see this in action. ------------------ Raider 33rd~GS Raiders Site
IP: Logged |
Tailslide Pilot
|
posted 08-21- 06:49 PM
Cool ! You've got me sold! Could you add an obFunc to the bullet.sm to randomly unhide different patterns of bullet holes so they're not exactly the same every time? TS IP: Logged |
Pete Hawk Pilot
|
posted 08-21- 06:54 PM
This is so cool! Great work! Oh man, do I feel like an idiot. I never knew about the Home and End keys in OPS until right now! I've been struggling like mad to get things positioned perfectly. Wow, that'll help bigtime. 
IP: Logged |
Pete Hawk Pilot
|
posted 08-21- 07:15 PM
I was just thinking of a way to do this. If someone has the time, it'd be really cool to come up with a Bullit pack that has a few various size rounds' holes, some larger holes that include shredded looking metal and are maybe shaped like a triangle with a corner ripped up, and this kinda thing.For the B-17 (and all planes really) can you imagine flying home with your nose blown off? It is possible, now that this bullet idea is working, everything is possible. Wow. IP: Logged |
jedi Pilot
|
posted 08-21- 09:00 PM
Pretty freekin brilliant!  If you wanted to create several "bullet pattern" objects "custom fit" to a wing or fuselage, this might work... 1) Make a duplicate wing in OPS. Move it to the exact position of the "real" wing. 2) Open your duplicate wing in AC3D or whatever. Position your bullet holes using the zoom-in so that the holes are just "above" the surface of your wing. 3) Merge the wing and holes into a single object. Now you have a fake wing with "perfectly" aligned holes. 4) Delete all the surfaces of the fake wing. Now you have "holes in space" that are perfectly lined up with the wing, and prepositioned to line up perfectly in OPS (I think). So no movement in OPS should be required. 5) Save the "holes" as the fake wing object. Now how do I get some of these holes? We ought to be able to do oil leaks, scorch marks, "rips" with structure visible underneath, etc. You guys are a lot smarter than you look  ------------------ --jedi-- IP: Logged |
Razer Pilot
|
posted 08-22- 09:54 AM
Could we have a few with alpha's and put them on the cockpit?------------------ Tony "Razer" Martin "Making SDOE a dangerous Place, One plane at a time!" FS Hangar IP: Logged |
bjorn Pilot
|
posted 08-22- 12:03 PM
Raider, don't worry. Your thunder came before mine, but mine will be louder than yours  Seriously, though, could you post that BulletHit.sm somewhere? I don't think I'll use it now on the P47, since it's already a potential swiss cheese, but at least I can use the same bitmap as you do and save a few bits of texture ram (besides, yours look better than mine.) _ /Bjorn.
IP: Logged |
Spanky the Mad Dog Pilot
|
posted 08-22- 04:54 PM
Spanky here... We need a couple for glass. And some more for oil steaks For glass we need full holes and spiderwebs for armored glass. maybe with some bullets still lodged in the glass.
IP: Logged |
Tailslide Pilot
|
posted 08-22- 05:15 PM
Great idea.. a whole set of them.. some with the skin ripped back and showing the spars would be great too. TS
IP: Logged |
Jerry Pilot
|
posted 08-22- 05:17 PM
In the close-up they look like exit holes. Are you sure this is the tif you want to use?IP: Logged |
Raider Pilot
|
posted 08-22- 10:30 PM
bjorn, funny, You suggested using individual bullet holes, I suggested using bullet strings, then You use strings and I used individual holes. Until just the other day, I was thinking that we would have to use a hit box to unhide the bullet lods, then I finally figured out to just use the obDamage model of the part they are applied too. I will upload the BulletHit.sm and the texture tonight and post it in the download section. (Hope to have final beta of the P-51D minus the FM work this week) Jerry, you are right, that is an exit hole. I am more of a DM guy than an artist. I tried to do a textrue myself and it looked like crap, so to get things started I just used the best bullet hole I could find. It will not be long before some of the art guys come up with some really good stuff. ------------------ Raider 33rd~GS Raiders Site
IP: Logged |
Bryan Russell Pilot
|
posted 08-23- 12:18 AM
Here's a stupid idea, why not plaster the entire wing and aircraft with these things, and then have the bullet holes detect hits. That way you would end up with bullet holes where the bullet actually hit. I'm not sure what the impact of heaps of hidden models would be on performance, but it would sure look cool have a ripple of bullet holes appear as it took hits.Told you it was stupid. IP: Logged |
Raider Pilot
|
posted 08-23- 01:49 AM
I will Upload the BulletHit.sm on Wednesday morning, with a readme of some things I have tried. One trick I figured out is to Paste one hit on a part, Then paste the other hits to the first one. That way you only have to Hide and UnHide the first one. I figured this out only after having almost covered the whole P-51 with these little holes. Bryan, all the guns in SDOE only fire a real round every other shot. (Here is my guess why) I think is was a trade-off for online use. Maybe the hits could not be sent fast enough, so they only made every-other round fired have impact, then doubled the damage it did. (End of guess) Most of the time a wing may be hit by only one round, maybe two. You would not get the rippled effect of bullet holes you want. Also it would obstruct some of the damage passed on to the wing. This could still be useful. You could say if you Hit12, unhide Hit13, Hit14, Hit15, if you Hit13, unhide Hit16, Hit18 and Hit22, etc. That would give it some randomness ------------------ Raider 33rd~GS Raiders Site
IP: Logged |
Bryan Russell Pilot
|
posted 08-23- 03:46 AM
The hit point and damage a bullet does is calculated on the firing persons PC, the bullets you see as the victim are just a response from a network message that says that a particular aircraft is firing, which is why sometimes you get hits from someone that appears to be firing way above you. The main reason is probably that even offline the engine will have to calculate hit detection and ballistics modelling for alot of objects if alot of guns fired at full rate. one Hurri or Spit 1a is going to pump out 160 rounds per second,which are going to hang around for a few seconds, so you could easily get a huge amount of bullets that need tracking and hit detection. Anyway, I don't think I want to spend three weeks lining up hundreds of little bullet holes. Ultimatly no one is going to know where a bullet hit anyway, so a randomised set of bullet holes would be just as effective. Is there anyway to put a delay in the obUnhides to simulate the ripple? IP: Logged |
Nat Pilot
|
posted 08-23- 07:00 AM
what percentage damage does this take away from the part hit then? Since the bullet/sm is hit fist, and only a percentage of the damage is passed to the wing, how much damage are we loosing along with the damage bug? (doen't wanna put cold water on this I like it)IP: Logged |
Raider Pilot
|
posted 08-23- 08:52 AM
Nat, I added a obNoCollide to the Hits so they do not detect the hits and the wing gets the full damage.Thanks Bryan, that makes sense about the tracking of all those rounds. BTW this all started as a stupid idea. so if that is your version of a stupid idea, Keep um coming. ------------------ Raider 33rd~GS Raiders Site [This message has been edited by Raider (edited 08-23-2000).] IP: Logged |
Raider Pilot
|
posted 08-23- 09:37 AM
Here is the BulletHit.sm download. It is very small, just 7K, You can unzip to your Fighter Squadron directory, it will place the following files:BulletHit.sm - Fighter Squadron/Media/effects directory BulletHit.tif - Fighter Squadron/Media/effects/textures directory Be sure to check the readme.txt BulletHit.sm Download
------------------ Raider 33rd~GS Raiders Site
IP: Logged |
bjorn Pilot
|
posted 08-23- 09:38 AM
Raider, on sprays versus individual holes, I've compromised (hopefully getting the benefits of both, and not the disadvantages.) The object structure looks like this:LWTip lwtipspray1 lwtipspray1bullet1 lwtipspray1bullet2 lwtipspray1bullet3 lwtipspray2 lwtipspray2bullet1 lwtipspray2bullet2 lwtipspray2bullet3 The the obUnhide property is sent to the sprays, which will unhide their children, i.e. the bullet holes. The spray objects have no LODs, they just own the holes and set the properties. Thanks for reminding me to set obNoCollide properties to the bullets, I completely forgot about that. _ /Bjorn. [This message has been edited by bjorn (edited 08-23-2000).] IP: Logged |
Condor Pilot
|
posted 08-23- 09:39 AM
Do you guys really understand just HOW BIG THIS IS? To me, this elevates SDOE to a hole new sim if you could include this for all planes with pp5.4. You guys are just incredible!!!!!!!!!!!!!I posted a message 5 months ago requesting bullet holes to help let the pilot know approximately how bad the plane has been damaged and now it may come true. I hope this idea is truely used on all planes and soon. Thanks for the continued improvement to sdoe. Mike Harrison should really have you guys working for him. Think how good sdoe could have been from the start if you were part of the development team.  Did I mention this is REALLY HUGE? Condor out ------------------
IP: Logged |
Raider Pilot
|
posted 08-23- 10:13 AM
bjorn, Great idea about using a parent object with no lod. I think that is the way to go. I'm really looking forward to that new Jug.Condor, ask and you shall receive I have always wanted a fighter sim with a good feel, moving control surfaces and damage that you could see. You should be able to look at the gauges and look around to tell how bad you are damaged. ------------------ Raider 33rd~GS Raiders Site
IP: Logged |
Condor Pilot
|
posted 08-23- 11:19 AM
I know I am asking the world again... but what do think are the chances this could be realeased for all planes and put into pp5.4?Thanks, Condor out ------------------
IP: Logged |
bjorn Pilot
|
posted 08-23- 11:35 AM
Condor, I'd say don't hold your breath. Maybe I'm slow, but I think I'm averaging more than 5 mins per bullet hole, and to make it worse, it's not really fun work either so there are many many breaks. _ /Bjorn.
IP: Logged |
Hawk JAG
|
posted 08-23- 12:11 PM
Thanks bjorn, really a cool feature!------------------ Hawk http://rcwarbirds.com/ IP: Logged |