ascottk on 23/6/2005 at 16:40
What I miss about the original games was the display tht told whether or not the body you carried was dead or unconscious so I made two scripts & two text files:
I. Text AI_CorpseDisplay.sch & AI_UnconsciousDisplay.sch - Each file with "Corpse" or "Unconscious"
II. Scripts - AI_CorpseState & AI_UnconsciousState
CONDITIONS:
-When I am frobbed by player
-While the AI is in the behavior state [STATE_DEAD]
ACTIONS:
-Flash non-blocking, formatted text from file [AI_CorpseDisplay] and fade out after [2.00]
-Reset script conditions and actions
CONDITIONS:
-When I am frobbed by player
-While the AI is in the behavior state [STATE_UNCONSCIOUS]
ACTIONS:
-Flash non-blocking, formatted text from file [AI_UnconsciousDisplay] and fade out after [2.00]
-Reset script conditions and actions
III. Attach the scripts to Pawn>AIPawn>T3AIPawnHuman
Now you'll know if the body you picked up is either dead or unconscious.
(
http://www.ttlg.com/wiki/wikka.php?wakka=AIStateDisplay) wiki
GlasWolf on 23/6/2005 at 19:17
One for the Minimalist Project I think. :)
bukary on 23/6/2005 at 20:01
Quote Posted by ascottk
Now you'll know if the body you picked up is either dead or unconscious.
Great! :thumb:
New Horizon, you'll like it! ;)
Bumbleson on 23/6/2005 at 22:26
Good one! :thumb:
Doc_Brown on 24/6/2005 at 01:09
Which raises a question I've long wondered about: when an NPC slips on oil and slams into something, they spill blood. In these instances, is the NPC dead or unconcious?
New Horizon on 24/6/2005 at 01:56
Ahhh, quite interesting indeed. A nice little retro touch. :) I'll slip it in.
Komag on 24/6/2005 at 04:49
AI spill blood when damaged, such as a heavy enough crate or barrel falling on them, etc. It doesn't necessarily mean they're dead.
Crispy on 24/6/2005 at 09:05
Very nice!
I'd prefer if the message came up as the name of the junk object, as I remember it happening in T1/T2, but this is great too. :)
Dark Arrow on 25/6/2005 at 17:47
Quote Posted by Doc_Brown
Which raises a question I've long wondered about: when an NPC slips on oil and slams into something, they spill blood. In these instances, is the NPC dead or unconcious?
Try killing it. Hit it with the dagger. If the person yells, it wasn't dead before. :ebil: