Fissuras / fpscreatorengine

Automatically exported from code.google.com/p/fpscreatorengine
0 stars 0 forks source link

Character VWEAP physics not activating when killed indirectly #124

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download the testfile archive from 
http://dl.dropbox.com/u/8874616/debug_vweap_physics.rar
merge files and open 0_debug_vweapphysics.fpm
You will see three pairs of character AIs
(green light=fadecorpse/red light=leavecorpse/blue light=raagdollcorpse) 
standinf before you.

2. With your gun, kill one of each under green red and blue light.  Observe 
that the character correctly dies and gun drops to the ground.

3. Press and hold Action key (enter) to kill the remaining three characters and 
observe the result.

What is the expected output? What do you see instead?
When killed indirectly (via script) the characters should die as expected and 
their guns fall to the ground BUT instead we see the guns stay floating in the 
air and the leavecorpse characters don't fall down dead but you can collect 
their weapons and pass through them (that may be a separate issue)

What version of the product are you using? On what operating system?
Win7 SP1

Please provide any additional information below.
debug main AI script contains the following...
;Artificial Intelligence Script
;Header
desc          = destroy when action key pressed (debug)
;Triggers
:state=0,plrusingaction=1:addhealth=-1000
;End of Script

I initially noticed this in test levels of DAI vs DAI where sometimes the 
weapon would be floating in the air.  This only seemed to happen when the AI 
died off-screen and I could not readily reproduce the bug.  For initial 
occurrences I do not know if characters replicating the floating weapon bug 
were killed by gunfire or by melee attack.  Upon trying to isolate the problem 
in this test level I expected the guns to drop when killed via script if they 
died in view of the player and expected the bug to happen only when players 
back is turned but it is reproducible when it happens in view here.  I was also 
not expecting the leavecorpse character to die "on their feet" like they are.

Test file archive uploaded to- 
http://dl.dropbox.com/u/8874616/debug_vweap_physics.rar

Original issue reported on code.google.com by cotton.j...@gmail.com on 3 Dec 2011 at 9:45

GoogleCodeExporter commented 8 years ago
forgot to mention this is in V1.19 beta3

Original comment by cotton.j...@gmail.com on 3 Dec 2011 at 9:49

GoogleCodeExporter commented 8 years ago
Confirmed with sample FPM. 

Original comment by TheScene...@gmail.com on 3 Dec 2011 at 10:35

GoogleCodeExporter commented 8 years ago
Death by subtraction - confirmed!

Original comment by LeeBamberTGC@gmail.com on 8 Dec 2011 at 2:29