FSIC Messageboard
  SDOE General
  Killable Pilots for Contest Planes

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:   Killable Pilots for Contest Planes
Tailslide
Pilot
posted 03-10- 05:16 AM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

I was just about to start on making a killable pilot but I was wondering if anyone has already done it?

If not I'll see if I can get it working and post one for anyone who needs it.

TS

IP: Logged

STef
Pilot
posted 03-10- 05:23 AM     Click Here to See the Profile for STef   Click Here to Email STef     Edit/Delete Message   Reply w/Quote
Would be cool to have suffering from injuries as in A10 Attack! and A10 Cuba serie.

Or is it already implemented and I missed it?

------------------
P/O STef
Editor
http://stephan.bondier.free.fr/gazette.html


IP: Logged

Sv
Pilot
posted 03-10- 06:11 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Try my Albatros/SE5a. Pilots are killable. Set up a B17 next to an Albatros. Shoot one bullet at the right place and the pilot dies, screen goes red if you take control, etc. Also the pilot will groan for the rest of the game.

I have killed the pilot in a dogfight once, it was cool to watch the plane slowly curve off to the ground with no control input from the AI...

Here is what I did, the syntax may not be exact:

On the top level pilot part:
CrewRadius 3
obDamage (obHits 1)

That is it. Nothing else.

I have added it to the Fokker DVIII and it works there as well. I think the crewRadius default is 3 anyway, I just put that in as a place-holder so I can tweak it.

After much testing it is my guess that all pilot damage comes from hits in the fuselage area near the pilot passing damage to the pilot via CrewRadius.

Also engine fire now kill the pilot very quickly. I placed the fire just infront of the cockoit, behind the engine.

I did need to make the fuselage obFireResistant, otherwise it would go to Dmg of 10 as soon as fire is started, this caused my fuselage to explode.


------------------
-Sv =FC=

WWI in SDOE!


IP: Logged

Snickers
Pilot
posted 03-10- 08:37 AM     Click Here to See the Profile for Snickers   Click Here to Email Snickers     Edit/Delete Message   Reply w/Quote
Killable pilots? I was flying the Mossie, was banking to line up on my bombing run, someone strafed me and killed the pilot. I could not do anything with the plane or eject. I let everyone else know and we watched the Mossie go around 3 times untill it banked itself into the ground. I have also killed a pilot in a straffing run (I think he was in a 109.

In other words, either we already have them, ot theres a bug out there....


------------------
Snickers
=FC=

[This message has been edited by Snickers (edited 03-10-2000).]

IP: Logged

Tailslide
Pilot
posted 03-10- 10:15 AM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

I mean one where you can actually shoot the pilot not just the things around him..

TS

IP: Logged

charmstar
Pilot
posted 03-10- 02:48 PM     Click Here to See the Profile for charmstar   Click Here to Email charmstar     Edit/Delete Message   Reply w/Quote
tailslide-
All you have to do to make the pilot register hits is give him a level 1 LOD of some type. I found the best method for me was to just take the level 2 LOD for the pilot, and cut his head off. The weird thing (but kinda cool) is that when you look to the sides you can see your shoulders. Of course, if you try to look straight down, you end up looking through your body :-) I don't know what happened to the pilot I made, but it will be easy for you to do it yourself (and a great addition to WWI planes IMHO).

charm

IP: Logged

Tailslide
Pilot
posted 03-10- 02:58 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

I was thinking a more FPS friendly solution might be to make a bounding box for the pilot similar to the engine. No faces visible inwards just outwards. I could shape the object so it stuck out the plane in the areas I wanted to register as pilot hits (canopy where the head is, side panels, back of canopy if no armour)

TS

IP: Logged

Sv
Pilot
posted 03-10- 03:29 PM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Tailslide,

That should work. You can use a switchin distance of like 1. Also make it obHidden. obHidden objects do take hits.

So the only problem is the pilot disapears if you get within one foot - and that never happens generally.

I find that CrewRadius as a pretty darn good solution most of the time. How much better would the DM really be if you try to get as accurate as you suggest? It is intersting though...

-Sv

IP: Logged

Tailslide
Pilot
posted 03-10- 04:12 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

I tried increasing crew radius even up to 5 and I found it was really really hard to kill the pilot even when I set the canopy to no collide. Maybe this only works on WW1 planes

I just tried making the collision box for the pilot and it works great!

Can't make it obhidden though that would make the pilot invisible.. unless I made a dummy parent object of the pilot that passed damage down or something.

Anyways this works great for me.

TS

IP: Logged

Raider
Pilot
posted 03-10- 05:32 PM     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote
Tailslide, As you will soon see I did just that in the DVII. Zoycite made a box about the same size as the pilot. I put it over the pilot and hid it. Then I used obExec/Func to pass obProb to the pilot. If you shoot the box one time you have a 25% chance of killdelay for 5 sec, 30 sec, 3 min or 999 sec. If you shoot the box a second time it will detach the pilot. Once a obkilldelay is activated it will carryout. You can not make one hit = 3 minutes and 2 hits = 30 sec. But the second hit detach trick works.

This works great execpt the pilot will detach at the end of kill delay. But He is dead (no chute). I have not checked how this is scored. As a kill or bail out. Let me know if I can help you.

Raider 33rd~GS

IP: Logged

charmstar
Pilot
posted 03-10- 06:42 PM     Click Here to See the Profile for charmstar   Click Here to Email charmstar     Edit/Delete Message   Reply w/Quote
tailslide, that's a great idea! I wish I had thought of the bounding box. I'm such an idiot, please excuse me while I batter my head against a wall as punishment.

WHACK!

Hi again. Anyhow, what I want to know is does the pilot die more often now? Have you tried it out in a "customer scenario" (like in a big dogfight for instance?) If it works, I think this should be added to all planes.

charm

IP: Logged

Nat
Pilot
posted 03-10- 07:03 PM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
hhhmmm... does this mean that we can make a pilot take damage rather just kill him with one shot.. might be fun to shoot the guys head or arm off and wtch it rattle round the cockpit LOL, sorry gotta laugh about the thought of that one

IP: Logged

Tailslide
Pilot
posted 03-10- 07:31 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

The way I did it actually activates the in-game 'pilot damage routines' instead of detaching the pilot. The screen goes red and he grunts when wounded, enough wounds and he dies but stays in the plane.

I'll test it when I do my online yak beta testing let you know if it works online.

TS


------------------
________________________
TS Aircombat

IP: Logged

Sv
Pilot
posted 03-10- 07:37 PM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
TS, Raider,

Wow! This sounds cool! Did you add obDmg to the pilot TS? How many hits did you give him?

I like the bounding box idea, but can you see this box TS? Don't you see a cube in the plane?

You're right TS, I forgot about the fact that you can not obHide just one LOD - I was thinking of hiding only the lowest detail LOD, oops

-Sv

IP: Logged

Raider
Pilot
posted 03-10- 09:53 PM     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote
Wow TS, did you make the Func/obDmg 5 or obHits 4 or something like that? Please tell us how you did it.

You do not have to make it one shot. You can set it just like any other damage. I thought that if he got shot with one bullet it should be up to chance if he lives a few seconds or for the rest of the mission.

Raider 33rd~GS

[This message has been edited by Raider (edited 03-10-2000).]

IP: Logged

Tailslide
Pilot
posted 03-11- 05:28 AM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

SV, you can't see the box because I just made the faces face outwards (they're one-sided faces). Sometimes the collisions arent detected sometimes they are does the material I make the box out of (metal etc) determine if bullets go through it?

We played a few games online and didn't get a pilot kill but we didn't have all that many kills total.

TS

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