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 / Script for enemys appear dead from the beginning.

Author
Message
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 9th Sep 2005 18:11
Hi

(I use FPSC V1, this is just to ensure that the script is for V1 and not for EA if the scripts have any changes)

I wanna have enemys that apear dead in the start of the level.
I have tried searching this board for it and i also found one. But i couldn't get that to work. Then i tried scripting my own way around, but of course i didn't had any luck in that eaither
So can anyone in here script something like that?

Thanks


Regards

The Nerd

Visit PanzerGames here
Mad Scientist
18
Years of Service
User Offline
Joined: 30th May 2005
Location: Fort Lauderdale, FL
Posted: 9th Sep 2005 18:14
Is it that you want them to appear dead and be dead or appear dead but "come to life" when the player is near (or some such thing)?

Relax or I'll hit you with the whip again.
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 9th Sep 2005 18:16
Sorry that i wasn't very descriptive
I want them to appear dead and stay dead

PanzerGameshere
Free Particle Engine For dbpro :
here
LostSoul54
20
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 9th Sep 2005 23:30
I am working on what Mad Scientist talked about above. I am making several enemies appear dead, then attack when the player approaches. At the moment I am working on the animations for them getting up. Since I have to make them appear dead first, I will let you know what I can come up with, unless somebody beats me to it, which would be good for me as well

It's easy not to get lost when you have no idea where you are going
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 10th Sep 2005 00:31
Ok, thanks!

PanzerGameshere
Free Particle Engine For dbpro :
here
Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 10th Sep 2005 00:45
This is posted here some where... I also host the script.

Merranvo, taking over the net, one forum at a time.

"ye oft de adopte early shalt move mountains, and be gods among men"
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 10th Sep 2005 10:03
If you mean the script on fpsc universe, i can't get that to work. I tried that before posting this thread.

PanzerGameshere
Free Particle Engine For dbpro :
here
Mad Scientist
18
Years of Service
User Offline
Joined: 30th May 2005
Location: Fort Lauderdale, FL
Posted: 10th Sep 2005 20:38
This seems to work:



I used as the main script for an unarmed Colonel X

Relax or I'll hit you with the whip again.
Evil stick
19
Years of Service
User Offline
Joined: 27th Mar 2005
Location:
Posted: 11th Sep 2005 15:55
just set health to 0.
Deadwords
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Canada
Posted: 11th Sep 2005 17:24
Evil sitck, haha good idea. i'm testing now the Mad Scientist's code.

=-{SKaleX}-= Current Projects: -Insane Killer-=-Chaos Zone-
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 11th Sep 2005 18:37
Quote: " just set health to 0"


ummmmmm.... I already know that this will make them unvincible
The scritp i tried was exacly like Mad Scientist script. I i couldn't get that one to work.

PanzerGameshere
Free Particle Engine For dbpro :
here
Mad Scientist
18
Years of Service
User Offline
Joined: 30th May 2005
Location: Fort Lauderdale, FL
Posted: 11th Sep 2005 20:44
@The Nerd

Was it exactly like the one you tried? Anyway, I tested with V1 and found a Colonel X laying face down on the ground.

Relax or I'll hit you with the whip again.
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 12th Sep 2005 15:15
Yes it was exacly like that script.

PanzerGameshere
Free Particle Engine For dbpro :
here
Mad Scientist
18
Years of Service
User Offline
Joined: 30th May 2005
Location: Fort Lauderdale, FL
Posted: 12th Sep 2005 17:07
So what do you see when you apply the script and test the map?

Relax or I'll hit you with the whip again.
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 12th Sep 2005 17:07
He just stand there.... Doing nothing

PanzerGameshere
Free Particle Engine For dbpro :
here
Mad Scientist
18
Years of Service
User Offline
Joined: 30th May 2005
Location: Fort Lauderdale, FL
Posted: 12th Sep 2005 21:44
Try this fpm and script I've attached.

Copy the fpm to mapbank and copy the script to scriptbank\user

Let me know what happens.

Eat a small child. (sorry =P )

Relax or I'll hit you with the whip again.

Attachments

Login to view attachments
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 12th Sep 2005 21:55 Edited at: 12th Sep 2005 21:55
Now the enemy is actually laying down!
But there were some problems. First of all the collisions we're on like if the enemy we're standing up So when i tried to walk over him i just walked into an invicible man . So i tried editing the script and putting in the "coloff" command in the end of the line. When i tried again, the man was gone . Also the mans face we're laying down into the ground. I would like hes head to point up instead.

But thanks for the help!



-The Nerd

PanzerGameshere
Free Particle Engine For dbpro :
here
Mad Scientist
18
Years of Service
User Offline
Joined: 30th May 2005
Location: Fort Lauderdale, FL
Posted: 12th Sep 2005 22:03
Yeah I don't know why when you use "suspend" or "coloff" that he disappears. As for making him face up you just need to use a different animation frame in the call to "setframe". What the frame is I don't know presently.

Relax or I'll hit you with the whip again.
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 12th Sep 2005 22:05
hmmmm.... How can i find out what frame it is? Because guessing seems like a big task.

PanzerGameshere
Free Particle Engine For dbpro :
here
PureEvil
18
Years of Service
User Offline
Joined: 14th Oct 2005
Location: Top secret lab somewhere in Nevada
Posted: 16th Oct 2005 06:39
is it possible to makea script wherethey come to life?

Post the unposted...
Expect the unexpected...
But don't play the unplayed!!! ( If they're really bad, that is, which they probably are.)

Login to post a reply

Server time is: 2024-03-29 01:00:59
Your offset time is: 2024-03-29 01:00:59