a problem with scripted_sequences Created 18 years ago2005-06-26 01:42:21 UTC by Pyroclasm Pyroclasm

Created 18 years ago2005-06-26 01:42:21 UTC by Pyroclasm Pyroclasm

Posted 18 years ago2005-06-26 01:42:21 UTC Post #117160
Hello everybody, you probably don't remember me, which is OK because I haven't posted in a while, I've been working on my mod (yes, people do still mod of HL1).

Anyways, I have a small problem with a scripted sequence, during a cut-scene, I have a scientist who is running away from a grunt, he gets backed into a corner and then the grunt is supposed to shoot him, but he (the grunt) just stands there.

By the way, I'm using a trail of scripted sequences to make both of them move.

Any help would be appreciated. :zonked:
Posted 18 years ago2005-06-26 01:45:39 UTC Post #117161
if its all scripted are you using a scripted sequence to make the grunt fire? Does the grunt have any flags that disable him from firing at you? (mainly prisoner one)
38_98 38_98Lord
Posted 18 years ago2005-06-26 01:51:48 UTC Post #117162
No, and No. He is suppost to follow the scientist, whick he does, and then shoot the scientist, with his shotgun, in the face... thereby killing him. Although I might try that scripted_sequence to make the grunt fire.
Posted 18 years ago2005-06-26 01:59:44 UTC Post #117163
Hmm... well, thats an improvement, atleast he fires his gun now, but he compleetly misses the scientist... ARGH!!!! STUPID GRUNT!!!!!!! :x
Posted 18 years ago2005-06-26 02:36:41 UTC Post #117164
use the little compass on the scripted sequence properties to aim the scricpted sequence at the scientist. That may work
38_98 38_98Lord
Posted 18 years ago2005-06-26 02:45:08 UTC Post #117168
Try making the grunt shoot at that scientist with a script! ;) I know that when you make something attack with a melee attack animation it hurts.(To make him hit,if he can,choose the turn to face.) If it doesn't do a thing then use trigger hurt to simulate the bullet's demage! :nuts:
Posted 18 years ago2005-06-26 02:53:08 UTC Post #117171
and maybe an infodecal to appear when he is hit :P
38_98 38_98Lord
Posted 18 years ago2005-06-26 02:55:37 UTC Post #117172
Yes give an the info decal a name and then it will start off,and when triggered it will apear!
Posted 18 years ago2005-06-26 02:55:59 UTC Post #117173
OK, good ideas, but I do have him facing the scientist, he just fires his gun into the air for some odd reason. Also, I cant seem to make a trigger hurt do any damage to an NPC, but that might be my fault.

I'm going to go try it.
Posted 18 years ago2005-06-26 02:57:28 UTC Post #117174
i think there is a flag that allows you to allow the trigger_hurt to affect monsters only
38_98 38_98Lord
Posted 18 years ago2005-06-26 02:59:25 UTC Post #117175
'Monsters' is the name! And the 'no clients' flag makes that the player won't be affected by the trigger!! ;)
Posted 18 years ago2005-06-26 02:59:55 UTC Post #117176
thats the flag :P
38_98 38_98Lord
Posted 18 years ago2005-06-26 03:05:58 UTC Post #117177
Hmm... there's no "Monsters" flag, only "Target once", "Start off" (which I have checked, because it's triggered), "No Clients", "FireClientOnly", and "TouchClientOnly". Now I'm really confused :confused:
Posted 18 years ago2005-06-26 03:17:30 UTC Post #117178
OK, I sort-of fixed the problem, now the grunt kicks the scientist in the face, causing him to keelover dead, and since your character is represented by the scientist, the screen goes black when he hits the floor. Thanks for all the help, and look for my mod, Half-Life: Retrieval, to come out sometime this year, I hope.
Posted 18 years ago2005-06-26 03:27:23 UTC Post #117179
You can make the a script that makes the scientist play a die animation and tick the 'live corpes' flag so it will look like the grunt killed him with the gun(you can add some flinch animations before he dies to make it look like he is being hit by the bullets :badass: )
Posted 18 years ago2005-06-26 03:28:34 UTC Post #117180
Oopss...it is called the 'Leave corpse' flag!
Posted 18 years ago2005-06-26 06:16:36 UTC Post #117203
Sounds hard...
Habboi HabboiSticky White Love Glue
You must be logged in to post a response.