FSIC Messageboard
  Tech Talk
  Bullet Detection

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Bullet Detection
FarmerJoe
Pilot
posted 06-28- 09:14 AM     Click Here to See the Profile for FarmerJoe   Click Here to Email FarmerJoe     Edit/Delete Message   Reply w/Quote
I made a part on a plane...Now I put damage properties on it...Now how come when I shoot it, it doesn't register a hit on it? The bullets just go right threw it. I have an obProto property that is empty. I have an Smkcolor green property in it onDmg 10 on an obHit val of 50. So what the hell over?

Subaltern FarmerJoe Axis West
Three Amigo

IP: Logged

Laika 801
Pilot
posted 06-28- 01:57 PM     Click Here to See the Profile for Laika 801     Edit/Delete Message   Reply w/Quote
You need some things :

- the object needs a "weight" --> anything like phyBoxInertia or so

- you need the right poly-flags in the lod file --> refer to the OpenPlaneSpecification; --->

* when the last 3 bits/numbers (PolyStyle) are anything else than 0 0 0 the poly is not solid filled and will not receive hits

* the PrimaryAxis should be right (especially for planar polys on cubes or 100% flat polys), i.e. 1 0 for the Z-axis

* i.e. 0 00 10 000 is the polyflag binary, transform it to hexadecimal format (=10) and add this in the right position (in the .lod file)

- check the material and textures/polycolours, i.e. when a polygone has no texture and 7f0f as PolygonColour than it is transparent (and transparent polys did not detect hits, also polys with transparent-texture-flags like 802243) and magenta ( Transparency BlueGreenRed ).

for more details make a search, somewhere out here are some topics wich cover this...


GOOD LUCK !

LK

IP: Logged

FarmerJoe
Pilot
posted 06-28- 09:27 PM     Click Here to See the Profile for FarmerJoe   Click Here to Email FarmerJoe     Edit/Delete Message   Reply w/Quote
I figured out what all was wrong with it...The lod file didn't have it's normals defined and I added phyLBS property to it and then it started accepting collisions and assessing damage. Thank you for your help!


Subaltern FarmerJoe Axis West
Three Amigo

IP: Logged

Tailslide
Pilot
posted 12-20- 11:48 AM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote
bump

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c