Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Calling Bond1 (or anyone who is good at scripting)

Author
Message
Lunarwolf
18
Years of Service
User Offline
Joined: 14th Aug 2006
Location:
Posted: 23rd Aug 2006 12:44
Hi all. I have been attempting to put a "corpse" in FSPC, a static object which just lays there and...well....plays dead.

Its not working. I've followed lots of people's good advice, and the best I have been able to achieve is one of FPSC's packaged chars laying face down in the dirt, but it sits there and twitches.

I'm new to FSPC and dont know anything about scripting or how the physics work, I'm just a fella with loads of ideas who (somewhat stupidly) bought FPSC thinking I could just "point-and-click" create, not realising this sort of thing would need sorting.

I recently downloaded Bond1's HL2 Zombie out of curiousity and love it to pieces (http://forum.thegamecreators.com/?m=forum_view&b=24&t=66889&p=0) (thanks Bond1 - nice work!) and it suddenly occured that the "hl2zombiedead.fpi" script did EXACTLY what I needed, except that I dont need the part where the zombie gets up and attacks.

In essence, what I am asking for is:

Could either Bond1 - or another helpful person with scripting knowledge - alter the "hl2zombiedead.fpi" script for me so I could use it with a simple "dead corpse" please?

If anyone could attempt this, I would be very grateful!
Thanks in advance..

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 23rd Aug 2006 14:30
The problem with using the HL2zombie script with a regualar zombie or any other entity for that matter is that Bond gave that character special animations or,simply put,he made the model and animated it differently than the usual FPSC model.
For another model to use the HL2zombie script properly it would have to be animated like the HL2zombie.
Animating characters is a pain in the butt.


Lunarwolf
18
Years of Service
User Offline
Joined: 14th Aug 2006
Location:
Posted: 23rd Aug 2006 14:46
oh monkey-balls.

Ah well, cheers for letting me know...

its just a shame that the "corpse" entity that comes with FPSC is so limited.

thanks anyway
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 23rd Aug 2006 20:36
make the main script for the character you want to be dead:

destroy\leavecorpse.fpi

then it'll run the death animation, and leave the character in the level. no twitching.

Lunarwolf
18
Years of Service
User Offline
Joined: 14th Aug 2006
Location:
Posted: 24th Aug 2006 01:05 Edited at: 24th Aug 2006 01:17
Thanks Butters.

I've tried that in the past, but alas - as you can see from the Screenie (attached) - the game seems determined to submerge them in the ground rather than actually make them dead :S

ps: Much Kudos on that avatar; I know it is one of the choosable ones, but the only thing cooler than silent bob is animated silent bob!
Lunarwolf
18
Years of Service
User Offline
Joined: 14th Aug 2006
Location:
Posted: 26th Aug 2006 12:30
...so does nobody have any idea how I can put a "dead body" in the game that isnt half submerged in the floor as depicted in the previous post?
Paul112
18
Years of Service
User Offline
Joined: 1st Jan 2006
Location: UK
Posted: 26th Aug 2006 12:40
Have you made the model static? It needs to be dynamic to use scripts.
Paul

Sleep is no real substitute for Coffee...
Lunarwolf
18
Years of Service
User Offline
Joined: 14th Aug 2006
Location:
Posted: 26th Aug 2006 12:52
I've done both in the past...

Dynamic + "default.fpi" in main script = image above.

Static + "default.fpi" in main script = character does not appear in the game.

Dynamic + "leavecorpse.fpi" in main script = character does not appear in the game.

Static + "leavecorpse.fpi" in main script = character does not appear in the game.

I have to admit, I'm stumped.
Lunarwolf
18
Years of Service
User Offline
Joined: 14th Aug 2006
Location:
Posted: 28th Aug 2006 12:18
Could I ask a favour please?

If anyone has static corpses in their games which works fine every time, could they please copy and past the code snippet here please? I'm really not having much luck with this...

...its a shame I am no good at model-making and texturing, or I would make a set of corpses with the set / some custom texture skins and release it to the community....

...actually, thats a thought - any kind model-designers out there willing to do that? not just for me you understand, I bet everyone would love some decent corpses to leave lying around their levels...

(that last bit was in jest - unless anyone actually could do that, which would be amazing)

Login to post a reply

Server time is: 2024-11-22 20:10:57
Your offset time is: 2024-11-22 20:10:57