Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Adding and tracking corpses
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Adding and tracking corpses (Read 830 times)
0 Members and 1 Guest are viewing this topic.
Torak
Guest
Adding and tracking corpses
«
on:
13 Oct 2003, 18:20:48 »
Is there any way of adding corpses to a mission? For instance, if I want to show a massacre in the intro, can I have the corpses tracked and added in the same places in the mission proper? In fact, is there any way of adding corpses and gore in general?
Logged
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
Re:Adding and tracking corpses
«
Reply #1 on:
13 Oct 2003, 18:55:29 »
You can make your own corpses by placing a unit and typing in his init field
this setdammage 1
To make many corpses just place many units and above them at trigger covering the area they're at and using
activation: anybody present
condition: this
on activation: "_x setdammage 1" foreach units thislist
To set them to the same places in intro and in mission, I'd suggest nothing more complicated than copy/paste from intro's side to the mission's side.
Logged
Not all is lost.
Torak
Guest
Re:Adding and tracking corpses
«
Reply #2 on:
13 Oct 2003, 19:07:50 »
Great.... and is that "damage" or is it really "dammage" with two Ms?
Can I set it to kill a whole group at once? Possibly killing a few dozen civvies over a period of perhaps four seconds or so?
Logged
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
Re:Adding and tracking corpses
«
Reply #3 on:
13 Oct 2003, 19:57:16 »
It's really dammage. Go figure.
You should get a copy of the official command reference from:
http://www.ofpec.com/editors/browse.php?category=1_5&start=25
Logged
Not all is lost.
Torak
Guest
Re:Adding and tracking corpses
«
Reply #4 on:
13 Oct 2003, 21:12:26 »
Ah well, BIS' infamous spelling....
I've got the command ref, but I can't find anything to have the "extended massacre" effect. Any pointers where to look?
Logged
Torak
Guest
Re:Adding and tracking corpses
«
Reply #5 on:
13 Oct 2003, 21:27:30 »
Ah well, BIS' infamous spelling....
I've got the command ref, but I can't find anything to have the "extended massacre" effect. Any pointers where to look?
Logged
m21man
Guest
Re:Adding and tracking corpses
«
Reply #6 on:
13 Oct 2003, 21:42:33 »
What do you mean by "anything for the extended massacre effect"? Artak's solution will work fine, as long as you don't want anyone to live inside the trigger. If you want survivors, you'll have to make arrays or groups of the people you want dead.
«
Last Edit: 13 Oct 2003, 21:43:36 by m21man
»
Logged
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
Re:Adding and tracking corpses
«
Reply #7 on:
13 Oct 2003, 21:46:05 »
Explore the
http://www.ofpec.com/addons/index.php?category=6&page=1
OFPEC blood addon to go with your massacre.
Like I said above, making multiple corpses at ease can be done best using the foreach command in a trigger.
All you have to do is place your civilians in the editor and then place a trigger coveging the area. If you want only civilians being killed from the area but have some troopers in as well, just set the activation of the trigger to 'civilian present'.
Set the condition to 'this' and type in the 'on activation line' something like this:
"_x setdammage 1" foreach units thislist
syntax might not be 100% correct but give it a go.
Logged
Not all is lost.
Torak
Guest
Re:Adding and tracking corpses
«
Reply #8 on:
14 Oct 2003, 01:01:43 »
That's great, it works well, thanks!
Any way of spreading it out over a few seconds? Basically, I'm wanting it to look like troops gunning down civilians in swathes, but I'm a bit of a beginner at all this.
Logged
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
Re:Adding and tracking corpses
«
Reply #9 on:
14 Oct 2003, 17:04:38 »
For that you'd have to write a script, with delays.
Logged
Not all is lost.
Torak
Guest
Re:Adding and tracking corpses
«
Reply #10 on:
14 Oct 2003, 17:15:52 »
OK, thanks. I'll try that, and post the results...
If the script works well, should I post it in the scripts depot?
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Adding and tracking corpses
Top of page