OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mizilus on 04 Oct 2005, 21:33:00
-
I have a mission in which I want a west unit to "go rogue" and target pretty much everyone. East, west, civilians, everyone. How do I make this happen?
-
This might be a little tricky. We need more details: for example, where does the player fit into this? Will East and West be present in the same area at the same time? Will there be any cutscenes around?
Making everybody target him is easy:
loon1 addRating -10000
-
Say I have a mission that involves the player and players group, some mercenaries, some police, some east soldiers, civilians, and the "rogue group".
I want the mercenaries to target the players and police.
I want the police to target the mercenaries and any other "east" units they encounter as well as the rogues.
The east soldiers will target the players group, the police, and the rogue group.
the civilians will get in the way.
The rogue group will shoot anything that moves.
Hope that makes sense. For the most part the mercs and rogues are the ones I think may give me trouble.
-
Well that's easy then. Set Resistance friendly to nobody.
West
player
police
East
mercenaries
east
Resistance
Rogue
If any unit is not naturally on the correct side, group it under a group leader of the appropriate side, with the group leader's probability of presence slider set to zero.
Make civilians belong to whichever side they are likely to encouter. They won't get shot at by the local military because they are on the same side, but the Rogues will shoot at them.
-
Ok. I understand most of that but how do I make resistance friendly to nobody and how to I make a naturally west unit "resistance"?
-
how do I make resistance friendly to nobody
At the top right hand corner of the Mission Editor is a picture of a sun and a cloud. Click on it. It's called the Intel Box. Here you write the name of the mission, set the weather and the attitude of the Resistance. (Click on what you want.)
how to I make a naturally west unit "resistance"?
group it under a group leader of the appropriate side, with the group leader's probability of presence slider set to zero.
-
In the same window that you set time and date there is a bit at the bottom where you can set Resistance to be friendly with nobody.
As for the making a West guy a Resistance guy you place a Resistance soldier, and in his init field you put,
deletevehicle this
Then you place your West guy and group him to the Resistance soldier. Do this by selecting the groups tag and dragging a line from the West guy to the Resistance guy. There should now be a blue line between them.
What it does is delete the Res guy at the beginning of the mission thus making the next guy the leader. He's West but he's Resistance.
-
Damn it. :P
-
;D
Love the sig line btw. ;D ;D ;D
-
You think I should credit the author?
-
Excellent. This will help a lot for more than just this mission.
Thanks guys.
-
@Archie - Nah, I know who it is and he's too lazy to deserve it. :moon:
@Mizilus - :thumbsup:
-
Oh, real quick, in this mission I also want to have vehicles with low fuel. How is that done?
Sorry for the rookie questions.
-
Hmmm.....set the fuel slider to low perhaps?
Planck
-
;D
Love the sig line btw. ;D ;D ;D
mac! offtopic?!? now i've seen everything
:o :wow: :o :wow: :o :wow: :o :wow: :o :wow: :o :wow: :o :wow: :o
-
No you haven't, I posted on the wrong board last night as well. :wow:
These Nurofen Plus must be stronger than I thought.
@Mizilus, please post as many rookie questions as you like. :) All we ask is that you do your research first - read the tutes in the Editors Depot, and search the forum and the FAQ first.
-
yeah I usually search the forum for a few days. Then I'll google it. This of course is after just trying stuff.
Some day, when I get my band buddy to break out his recording gear for voices and I figure out how to make cinematic sequences, I'll have a mission or two (the cream of the crop for me) to share.
-
Hmmm.....set the fuel slider to low perhaps?
Planck
(slaps forehead)
Never noticed that before. Thank you.
-
You can also use the setfuel command.
UnitName SetFuel 1
Number go from 1 (full) to 0 Empty. You'd need a number of about 0.2 maybe.