Scripts / Character dead from start

Author
Message
Emrys
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 7th May 2014 15:17
Is there anyway to kill a character as soon as the level starts? I want the character laying on the floor dead from the start.



As character animations are hard coded at the moment I've tried messing about the character setting but with no luck.



Any help gratefully received.



PC - Windows 7 64bit, Intel i5, 12Gb Ram, 1TB WD Black, Evga Gefore 760gtx 3GB

Laptop - Windows 7 32Bit, Intel Core 2 Quad Q9000, 4GB Ram, 500Gb WD, ATI Mobility Radeon HD 4850
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 7th May 2014 19:31
there is no death animation yet, even if you die in the game normally you simply respawn.

life's one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Emrys
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 7th May 2014 22:13
Sorry smallg I didn't explain it very well, I don't mean the player, I meant the NPC characters



PC - Windows 7 64bit, Intel i5, 12Gb Ram, 1TB WD Black, Evga Gefore 760gtx 3GB

Laptop - Windows 7 32Bit, Intel Core 2 Quad Q9000, 4GB Ram, 500Gb WD, ATI Mobility Radeon HD 4850
PM
pianodavy
11
Years of Service
User Offline
Joined: 5th Nov 2013
Location: United States
Posted: 8th May 2014 12:51
I believe character animations, as with all animated objects, run in numerical sequences according to the frame numbers assigned to them. So perhaps frames 0-300 would be, for example, an idle animation, that is, standing still and prepared for an action to come. Then maybe 301-900 might be a walking sequence, 901-1500 a running sequence, 1501-2000 an attack sequence and so forth and so on. I am not sure exactly how each sequence would be scripted to trigger the action, but if you ever put the stock enemy characters in a program such as fragmotion, you can see for yourself how these animations are sequenced as they would play in that program one following the next. Use the examples in the FPSCR folders to the best of your ability and I would encourage you to keep inquiring some of the fine modelers here of their techniques - I'm confident that you will easily accomplish your task!

All you need is love....so let me have your burger.
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 8th May 2014 19:32
haha sorry, so you want corpses?

no it doesnt work yet but you can see the list of animations in the entity bank\characters\animations.txt

i believe right now they use gen_whatever



so in 1.007 if you add a script with
it should be a dead guy

life's one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Emrys
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 9th May 2014 10:04
As simple as that ! thanks Smallg



PC - Windows 7 64bit, Intel i5, 12Gb Ram, 1TB WD Black, Evga Gefore 760gtx 3GB

Laptop - Windows 7 32Bit, Intel Core 2 Quad Q9000, 4GB Ram, 500Gb WD, ATI Mobility Radeon HD 4850
PM

Login to post a reply

Server time is: 2024-12-22 01:33:34
Your offset time is: 2024-12-22 01:33:34