|
Author
|
Topic: hidden objects and damage
|
Nat Pilot
|
posted 12-01- 09:53 AM
Hey guys, ok, I have added a load of hidden objects for kind of new DM feature I'm adding to the IL2, I need them to take damage and thought it would be a simple thing, so I add the damage lines etc that I needed to the hidden objects, add a little smoke so I can see it happening and go into a mission, with the IL2 sat on the runway I jumped into slew mode and started blowing the crap out of the areas I have the hidden objects.. no smoke.. no other effects, nothing.. am I missin something here, I thought hidden objects take damage.. is there something I need to add other than the usual obdamage/obhits ondmg etc?Help is as always very appreciated ~Nat~ ------------------ 7./JG3 "Naturlich" "SDOE... What and where would you like to fly today?" http://members.nbci.com/naturlich/index.htm </B> IP: Logged |
Condor Pilot
|
posted 12-01- 10:15 AM
Hi Nat,If you want send me the sm file and I will see if I can find anything. No promises though, but while I have it I can add the latest engine damage to it and send it back to you. ------------------ Condor out IP: Logged |
Nat Pilot
|
posted 12-01- 10:20 AM
ok, that sound good to me, it'll be there in a few mins, Thanks Condor  ~Nat~ IP: Logged |
ArgonV Pilot
|
posted 12-01- 12:02 PM
As far as I know, hidden objects cant take damage. They are "disabled" so to speak. Can the landing gear of planes take damage in SDOE when they are up? (In most planes they are hidden when up) If so I dont believe Ive seen this.P.S. You could make the object you are trying to get damage with have a REALLY low switch out LOD (Like 1 or something) and then I believe it could take damage. [This message has been edited by ArgonV (edited 12-01-2000).] IP: Logged |
Zurawski Pilot
|
posted 12-01- 12:15 PM
In my testing for a hidden object to take damage, it cannot reside within the poly-area of it's parent or co-planar object.If you look at either my F-86 or PZL and view it's base, you'll see that the "object" polygons for the engine, fuel-tanks extend outside the fusalage "object" ... IP: Logged |
Sv Pilot
|
posted 12-01- 12:15 PM
Hidden objects do indeed take damage as normal. I think the landing grear is "disabled" when the DOF finishes running, so it is an exception - but us WWI guys are not very good with landing grear issues  ------------------ -Sv =FC= WWI in SDOE!
IP: Logged |
Sv Pilot
|
posted 12-01- 01:22 PM
Good point Zur! Make sure your hidden object is not "protected" by other polys. This is why some of the WWI planes have obNoCollide on the inner wing sections, so that bullets have a better chance of hitting the pilot.IP: Logged |
Raider Pilot
|
posted 12-01- 03:39 PM
Zur and SV are correct. The DVII has several hidden parts, Damagable radiator, Oilpan and Fuel tank to name a few.I suggest you test it before hiding them to be sure they work. I have even raised them above the plane to be sure I get a good shot on them, them lower them into position and hide them when done. Also as I understand it the poly flags have something to do with it. If the flag is wrong bullets will just pass right through them, hidden or not. Let us know if you get it worked out. IP: Logged |
Nat Pilot
|
posted 12-01- 04:31 PM
Raider, I'll try unhiding them on one wing and retest, I should have done that beofre posting really.. lol, but other than that they aren't inside another object, ie, they are placed on the surface so they can take direct damage, I'll test shortly again with unhidden and see whats going on though, thanks for the responses guys, I'll let you know how it goes on  ~Nat~ IP: Logged |
Nat Pilot
|
posted 12-01- 07:24 PM
well, I unhid the objects and they still don't seem to be taking damage, I'm a little baffled but maybe I just missed something, I'll see if Condor finds what I've missed but I really need this to work, reckon I must be in a stupid moment cause this shouldn't be a problem.IP: Logged |
Snickers Pilot
|
posted 12-02- 02:08 AM
I like Argons suggestion. Set the switchin value to 1 and you will never see it..... (Well I can't say that too loud. If there is a crew member close enough and you took over that staion you might see it....) [This message has been edited by Snickers (edited 12-02-2000).] IP: Logged |
Nat Pilot
|
posted 12-02- 04:56 AM
thanks for all the help and suggestions guys, I flew a test mission last night, sent them through loads of flak, and low and behold the armour started smoking i.e. taking damage, so it's working fine hidden or otherwise all it means is that I need to add more armour cause mg/cannon fire was getting through the gaps I left far to easily, so.. now I have an armoured IL2, with neat lil smoke trails as the plates get damaged, then small explosions as they get destroyed leaving the wing unprotected  IP: Logged |
wakeup tailgunner Pilot
|
posted 12-02- 05:24 PM
Hey Nat,how about throwing some damage LOD's in with bullet holes! THen the holes really would be where the shots hit! Unhide the damage LOD when the plate goes bang. Could look very good indeed! IP: Logged |
jedi Pilot
|
posted 12-02- 09:59 PM
Make sure your hidden objects have phyLBS and phyCG properties, and they may need to get obBodyPts when they unHide.The "damaged gear" on the Spitfire Vc and VIII would actually support the airplane while still invisible until I changed some of the DOF and spring properties. The fuel tank on the Corsair is hidden, and it can take damage. ------------------ --jedi-- IP: Logged |
Tailslide Pilot
|
posted 12-03- 02:21 AM
Also look up laika's old post on the collision flag.. there is a flag which determines which "direction" a polygon checks for collisions in. If you don't have this flag right bullets will pass right through. Unfortunately the only way of setting it is by editing the .lod file  I bet laika set the flags properly on the objects he uses to detect fuel tank hits. Also there is a hidden object on the stock plane that goes around the outside of the fuselage to detect hits on the engine, take a close look at the engine LOD (although i remember laika said some of the stock planes have the collision flags set wrong). TS ------------------ www.airsims.com [This message has been edited by Tailslide (edited 12-03-2000).] IP: Logged |