F3 revive scripts

Workshop for all Mission Engineer Comrades. Home of the FA Mission Making Template.

F3 revive scripts

Postby Pooter » Tue Nov 03, 2015 5:41 am

So I was poking around the revive scripts and I noticed an oddity. A little experimentation confirmed it. We actually go down from a single leg shot while AI will take 2-3 to die.

A player has components, and any damage will trigger a damage handler for every component (sometimes twice). The components are: Head, neck, pelvis, spine1, spine2, spine3, body, hands, legs, "?" and blank.
Blank is the special component that represents your total bodily damage.
When you get hit we receive an event for every component, always in the same order
The f3 revive scripts do not pay attention to damage to the head, the hands, you cannot be revived from hits to those.

We go down if any component damage + our bodily damage > 1.

The odd thing here is that for some reason some of the body parts will easily go to 5 damage, even though it's supposed to be on a scale of 0-1.

I think that I can make the system do pretty much whatever we want by using the event handlers to collect data and then executing our own code immediately afterwards.

That being said we might just be happy with the way it works currently. We already have a pretty large advantage over the AI simply because the arma 3 AI isn't the brightest.
Pooter
Host
 
Posts: 116
Joined: Tue Jul 28, 2015 2:26 am

Re: F3 revive scripts

Postby AmishStrikeForce » Wed Nov 11, 2015 5:35 pm

I would suggest that FA consider fixing this. I have noticed in FA missions that folks do seem to be a tad fragile.
Also known as Spanks Masterson
AmishStrikeForce
 
Posts: 56
Joined: Sat Oct 31, 2015 4:30 pm

Re: F3 revive scripts

Postby wolfenswan » Wed Nov 11, 2015 8:05 pm

AmishStrikeForce wrote:I would suggest that FA consider fixing this. I have noticed in FA missions that folks do seem to be a tad fragile.


You obviously weren't around before we had SWS :P
User avatar
wolfenswan
 
Posts: 1208
Joined: Wed May 25, 2011 4:59 pm

Re: F3 revive scripts

Postby AmishStrikeForce » Wed Nov 11, 2015 8:49 pm

wolfenswan wrote:
AmishStrikeForce wrote:I would suggest that FA consider fixing this. I have noticed in FA missions that folks do seem to be a tad fragile.


You obviously weren't around before we had SWS :P


I meant "emotionally fragile." I am agent from Morale Division. We grow weary of sissy soldiers taking 5 minutes to plan out how they will attack an overwhelming enemy force, when the field manual is quite clear that planning should take no longer than the time it takes a crippled gazelle to flop half a meter. WE PUT OUT THESE GUIDELINES FOR A REASON.
Also known as Spanks Masterson
AmishStrikeForce
 
Posts: 56
Joined: Sat Oct 31, 2015 4:30 pm


Return to ArmA 3: Mission Making & F3 Development

Who is online

Users browsing this forum: No registered users and 1 guest