FoT Tutorials Links
- OnTheBounce
- TANSTAAFL
- Posts: 2257
- Joined: Thu Apr 18, 2002 8:39 am
- Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
- Contact:
FoT Tutorials Links
Hear ye, hear ye!
The FoT Tutorials Section is up and running.
I encourage people to read these tutorials before posting yet another queston that has been asked and answered countless times in the past. Yes, this means you.
Cheers to JJ86 to passing this along.
Happy Editing, Love, Hugs and Kisses,
OTB
The FoT Tutorials Section is up and running.
I encourage people to read these tutorials before posting yet another queston that has been asked and answered countless times in the past. Yes, this means you.
Cheers to JJ86 to passing this along.
Happy Editing, Love, Hugs and Kisses,
OTB
"On the bounce, you apes! Do you wanna live forever?!"
I liked your tutorials, but aren't there more? Im really interested in making a fallout : BoS mod that takes place in Scandinavia, but i cant find snowtiles anywhere, nor any tutorials on how to make weapon descriptions, how to make those dialouges standard dialouges. You know, like when you're speaking to the village elder in the beginning of the very first mission.
"As your spirit leave its mortal shell, you realise that crapping ones pants uppon death isn't just a trivial urban legend."
- requiem_for_a_starfury
- Hero of the Wastes
- Posts: 1820
- Joined: Tue Oct 29, 2002 11:13 am
The editor readme covers the basics and the tutorials go into more depth on the more complex issues. If anything you want to know is not covered, between them, search through the threads on this forum. Or start a new topic.
If you can bear to hear the truth you've spoken
Twisted by knaves to make a trap for fools,
Twisted by knaves to make a trap for fools,
- Jimmyjay86
- Hero of the Glowing Lands
- Posts: 2102
- Joined: Thu Apr 18, 2002 4:02 am
- Location: Wisconsin
- Contact:
- Jimmyjay86
- Hero of the Glowing Lands
- Posts: 2102
- Joined: Thu Apr 18, 2002 4:02 am
- Location: Wisconsin
- Contact:
<body bgcolor="#C0C0C0"><p><font size="6"><strong>More Tutorials</strong></font></p>
<font size="2">Created 7/27/02</font>
<a href="#1"><font size="4">Extracting Tiles, Entities, Etc.</font></a>
<p><a href="#2"><font size="4">How to Create a New Ammo Type</font></a></p>
<a href="#3"><font size="4">NPC's Conversing With Each Other</font></a>
<a href="#4"><font size="4">Add Text To Debrief Text List Trigger</font></a>
<a href="#5"><font size="4">Red's Level Editor Tips</font></a>
<a href="#6"><font size="4">Creating a New Recruit For Single Player Game</font></a>
<a href="#7"><font size="4">Triggering A Force Speech</font></a>
<a href="#8"><font size="4">Light Entities</font></a>
<a href="#9"><font size="4">Names Descriptions</font></a>
<a href="#10"><font size="4">Lights & Other Turn-Ons</font></a>
<a href="#11"><font size="4">Variables</font></a>
<a href="#12"><font size="4">Turning Off Alarms With a Switch</font></a>
<a href="#13"><font size="4">Enemies Reacting to Alarms</font></a>
<a href="#14"><font size="4">Random Map Terrains</font></a>
<a href="#15"><font size="4">Light Intensity Strings</font></a>
<p><a name="1"><font size="4"><strong>Extracting Tiles, Entities,
etc</strong>.</font></a></p>
<p>For the editors to work they require some resources to be
extracted from the <br>
data files for fallout tactics. <br>
<br>
It is recommended you extract the contents of the following
files:<br>
<br>
tiles_0.bos<br>
entities_0.bos<br>
mis-main_0.bos</p>
<p>If you have the hard drive space you may want to extract all
of the .bos files.<br>
<br>
The easiest way to extract them is to use WinZip:<br>
<br>
1) Launch WinZip<br>
2) Drag-drop the .bos file from explorer into the WinZip window.<br>
3) Do not select any of the files<br>
4) Press the extract button on the toolbar<br>
5) A dialog should appear. Make sure use folder names is checked.
Make sure <br>
the output directory is the core folder inside your tactics
install path.<br>
6) Press extract.<br>
<br>
If you repeat this process for each of the .bos files mentioned
above, you <br>
should now be able to access the tiles and entities and campaign
from the <br>
editors.<br>
</p>
<a name="2"><font size="4"><strong>How To Create A New Ammo Type - </strong>OTB</font></a>
<p>First, head to the files section of the site and DL
&BoSEE&, which is what you'll need. <br>
<br>
Here's what you need to do: <br>
<br>
1) Create ammo and weapon entities that you're going to use
w/your new ammo type. It doesn't matter what you set the ammo to,
since you're going to change it anyway. <br>
<br>
2) You will have to have unpacked the various text files that FoT
reads for non-hard-coded information. The file you're looking for
is called &ammo.txt& and is located at the following
address: <br>
<br>
C:\Program Files\14 Degrees East\Fallout Tactics\core\locale\game<br>
<br>
3) In this file you will see entries like this: <br>
<br>
{name_Needle} = {Needle}<br>
<br>
You will need to come up with something to call your new ammo
type. Since &.45& is used for the standard .45 (i.e.
ACP) in the game, you can simply use: <br>
<br>
{name_.45C} = {.45 Colt}<br>
<br>
4) Open the ammo entities and weapons that you want to set to
this type of ammo with BoSEE and change the ammo field to
whatever is in the &name_& portion of your ammo.txt
file. <br>
<br>
Warning: Once you save the file using BoSEE, you cannot modify it
with the standard entity editor w/o setting the ammo type to
&None&. In other words, if you want to modify the
entity, you will have to make whatever changes you want to make,
then re-modify and re-save the entity using BoSEE. <br>
<br>
BTW, if you're planning on making a mod for distribution, I
recommend using the &-path& option on the run command.
This way you won't force people to copy-'n'-paste all sorts of
files to play your mod. <br>
<br>
Last, but not least, I have to get up on my cartridge
nomenclature soapbox. There is no such cartridge as &.45
Long Colt&. It's actually just &.45 Colt&, but
it's been misused for so long that even Colt brochures list it as
&.45 LC&. (Source: Lyman's Handloading Manual).<br
wp="BR1">
</p>
<p><a name="3"><font size="4"><strong>NPC's Conversing With Each Other</strong> - OTB</font></a></p>
<p>There is a way that you can simulate NPCs chatting w/one
another w/o the headache of scripting the conversations. <br>
<br>
The answer is actually quite simple. Compare the following two
speech nodes: <br>
<br>
D02_WSPR01_A00 = {This wind is getting on my nerves...}<br>
D02_WSPR01_A01 = {This is just *too* boring...}<br>
D02_WSPR01_A02 = {I could go for some more chitlins.}<br>
D02_WSPR01_A03 = {As if anyone would have the nerve to attack
this place...}<br>
D02_WSPR01_A04 = {Better check your weapons.}<br>
D02_WSPR01_A05 = {::belch:: Yep, those chitlins were good...}<br>
<br>
D02_WSPR02_A00 = {It is a bit breezy...}<br>
D02_WSPR02_A01 = {It like it when it's boring...}<br>
D02_WSPR02_A02 = {The mess hall certainly made enough...}<br>
D02_WSPR02_A03 = {You never know...someone could be watching us
right now.}<br>
D02_WSPR02_A04 = {But I just checked my weapons when we came on
shift.}<br>
D02_WSPR02_A05 = {::fans air:: I hate the effect chitlins have on
you...*gag*}<br>
<br>
Basically, each line within a node is related to the identical
line in its sister node. These two nodes are each for one roving
guard, and in practice, they ---- far more often than not ----
will look like they are having a conversation. This is, however,
not foolproof, so you might not want to have lines that sound odd
if they happen to be seen out of context. <br>
</p>
<p><a name="4"><font size="4"><strong>Add Text To Debrief Text List Trigger</strong> - Endocore</font></a></p>
<p>In the past I've always just used a &world text
display& for my debriefings, but due to the nature of the
story in the map I was working on I decided to try to take
advantage of the more flexible/generic way the normal FOT
campaign generated many of its debriefs by use of the &Add
text to Debrief text list& trigger. Anyone wanting to take
advantage of this trigger who has never used it before would
profit by looking at the triggers and speech file for Mission 6
(Quincy) of the regular campaign and exactly following the
implementation MF used there. I initially had placed several of
the &Add text to Debrief text list& triggers in amongst
my other scripts to add relevant lines to the debriefing as the
events that called for them actually happened in scripting terms,
but this turned out to be a big mistake since the game was unable
to &remember& any of these debrief lines being added
and would only display in the debriefing the debrief lines for
the last two or three objectives accomplished, leaving out the
parts that had been triggered earlier on. Needless to say, this
was very bad because in order to experiment with this I had to
keep going all the way through the entire (rather lengthy)
mission and accomplishing all the objectives in various orders to
try to figure out what was happening, and risked introducing new
errors into map because I had to delete so many opponent entities
in order to speed up the tests that once I finally worked out
some scripts for the debriefing that worked, I had to write them
down on a piece of paper and enter them into the &real&
map (always have a backup file) from there since the map used for
experimenting on this stuff was no longer recognizable.<br>
<br>
Use of the &Add text to Debrief text list& trigger
seems to require that all possible lines of text one might want
to use in the debriefing be triggered only after the player has
completed the mission and has all their characters at the exit
grid for the map. Any use of this trigger to add text to the
debriefing before the player has all his characters at the exit
grid runs the risk of having that text forgotten at debriefing
time, apparently overwritten by later texts added to the
debriefing.<br>
<br>
Let's say you had a smallish map where the player had to 1)rescue
some hostages from some gunmen, and 2)defuse a bomb that was
going to blow up a building. There would then be four possible
outcomes of your map that you would want to discuss in the
debriefing, so you would put four appropriate lines in your
mission's speech file:<br>
<br>
hostagessaved = {You saved the hostages. You're an epic hero
who's loved by all women and respected by all men.\n\n}<br>
<br>
hostagesdead = {I wouldn't trust you to make me a cup of coffee,
you pathetic excuse for a soldier. The hostages are dead, and
you're going to be court-martialed.\n\n}<br>
<br>
bombdefused = {Let me present you with a hearty handshake for
defusing the bomb and saving the headquarters of the Acme
Telemarketing Corporation.\n\n}<br>
<br>
bombwentoff = {Due to your inept clumsiness, the headquarters of
the Acme Telemarketing Corporation were destroyed by the bomb.
How will decent citizens ever find the will to live again if
they're not able to enjoy their right to be constantly
interrupted by telephone solicitors?\n\n}<br>
<br>
In order to utilize these lines of text in your debriefing, they
all need to be tied to a variable that is set only when the
mission is over, the exit grids have been turned on, and the
player has all their remaining characters at the exit grid ready
to leave the map. In the example mission I've set up for this
discussion, then, a minimum of eight lines of script would be
required to make a debriefing that was responsive to what
happened in the mission.<br>
-----------------------------------------------------------<br>
1) Mission Set-Up<br>
<br>
CONDITION:<br>
Always<br>
<br>
ACTION:<br>
Set variable missionover to False<br>
Set variable hostagesrescued to False<br>
Set variable bombingstopped to False<br>
Set variable finallyfinished to False<br>
-----------------------------------------------------------<br>
<br>
You'd then have all your normal scripting to determine what
actually counted as saving the hostages and defusing the bomb,
etc. Once both objectives were either accomplished or flubbed,
the player would be prompted to head for the exit grid since
there was nothing else to do in the mission.<br>
<br>
-----------------------------------------------------------<br>
<br>
2) Almost End of Game<br>
<br>
CONDITION:<br>
Player 1 [the PC's] has all alive at exit grids<br>
<br>
ACTION:<br>
Set variable missionover to True<br>
<br>
-----------------------------------------------------------<br>
<br>
3) Hostage Situation Result 1<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
Variable hostagesrescued is True<br>
<br>
ACTION:<br>
Add text 'hostagessaved' [from your entry in the mission speech
file above] to Debrief text list at position: 0 [this will be the
first thing talked about in the debriefing]<br>
<br>
-----------------------------------------------------------<br>
<br>
4) Hostage Situation Result 2<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
Variable hostagesrescued is False<br>
<br>
ACTION:<br>
Add text 'hostagesdead' to Debrief text list at position: 0 [the
point is that whatever happened to the hostages, it will be
talked about first in the debriefing]<br>
<br>
-----------------------------------------------------------<br>
<br>
5) Bomb Situation Result 1<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
Variable bombingstopped is True<br>
<br>
ACTION:<br>
Add text 'bombdefused' to Debrief text list at position: 1 [after
the hostage situation has been discussed, the debrief will move
on to talk about the bomb situation]<br>
-----------------------------------------------------------<br>
<br>
6) Bomb Situation Result 2<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
Variable bombingstopped is False<br>
<br>
ACTION:<br>
Add text to 'bombwentoff' to Debrief text list at position: 1<br>
-----------------------------------------------------------<br>
<br>
And finally we have the really odd part which makes no sense at
all that seems to allow the whole thing to work properly:<br>
<br>
-----------------------------------------------------------<br>
<br>
7) Are we done yet?<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
<br>
ACTION:<br>
Set variable finallyfinished to True<br>
<br>
-----------------------------------------------------------<br>
<br>
8) Player gets to leave the map<br>
<br>
CONDITION:<br>
Variable finallyfinished is True<br>
<br>
ACTION:<br>
B Display Debrief window and text<br>
B Wait 1 second<br>
B End Mission (Main Menu)<br>
-----------------------------------------------------------<br>
Maybe it's just me, but having to include trigger #7 just doesn't
make any sense since it seems to serve no useful purpose
whatsoever. Nonetheless, that's what I had to do to get my custom
debriefing triggers to work.<br>
<br>
The original way I tried to use the trigger &Add text to
Debrief text list&, which was an absolute failure, and I
want to show only so mappers can know what NOT to do, was along
the lines of what's below. In order to simplify things a little,
we'll say that the first map was too long and we cut it down to
size by only requiring the player to save some hostages. Once
again, this is what NOT to do:<br>
1) Mission Set-up<br>
<br>
CONDITION:<br>
Always<br>
<br>
ACTION:<br>
Set variable objective1done to False<br>
<br>
-----------------------------------------------------------<br>
<br>
1) Hostages saved<br>
<br>
CONDITION:<br>
Bad guys has less than 1 alive at anywhere<br>
Hostages has more than 0 alive at anywhere<br>
<br>
ACTION:<br>
Set variable objective1done to True<br>
Add text 'hostagessaved' to Debrief text list at position: 0<br>
-----------------------------------------------------------<br>
<br>
2) Hostages not saved<br>
<br>
CONDITION:<br>
Hostages has less than 1 alive at anywhere<br>
<br>
ACTION:<br>
Set variable objective1done to True<br>
Add text 'hostagesdead' to Debrief text list at position: 0<br>
-----------------------------------------------------------<br>
<br>
3) Mission complete<br>
<br>
CONDITION: <br>
Variable objective1done is True<br>
<br>
ACTION:<br>
Turn exit grids on<br>
-----------------------------------------------------------<br>
<br>
4) Time to leave<br>
<br>
CONDITION:<br>
Player Human [PC's] has all alive at exit grid<br>
<br>
ACTION:<br>
B Display debrief window and text<br>
B Wait 1 second<br>
B End mission (Main Menu)<br>
</p>
<p><a name="5"><font size="4"><strong>Red's Level Editor Tips</strong></font></a></p>
<p>Tip 1: Drag and drop the fps counter somewhere else.
Underneath is hidden a neat little white box. Click on that to
choose the (another) background color.<br>
<br>
Tip2: You can right click on the &level bar& to disable
(and re-enable) specific levels. This is great when the Roof
Popping and Occlusion just won't do the job.<br>
<br>
Tip3a: You can make tilesets which contain the same tile more
then once.<br>
The only restriction (within the FO:T editor) is that you need to
select an alternate tile to add it to the list. This is great to
create &random& floors for desert. You choose the
normal desert tiles say 80% of the time, and the &feature
tiles& (with small rocks and such) fill up the rest of the
tiles. This REALLY looks MUCH better then doing it manually
and/or not doing it at all (the last of which can make a map
really ugly).<br>
<br>
Tip3b: Instead of making the tilesets within the editor which
doesn't even save them correctly), first make a tileset with all
the tiles you'll plan to use, then save it. Open it in your
favorite text editor (I recommend UltraEdit) fix the quoting
problem (you either need to add them or remove them I don't
remember), and copy-paste the appropriate tiles the number of
times you want it represented in the tileset (say you want 80%
sand, have 20 tiles &with features&, and 8 tiles
&with normal sand&, then copy paste the sand tile list
10 times to get the ratio... you get the idea, I hope .<br>
Load the tileset, and use it.<br>
</p>
<p><a name="6"><font size="4"><strong>Creating A New Recruit For
Single-Player Game</strong> - OTB</font></a></p>
<p>Here's what you'll need to do: <br>
<br>
(I'm assuming that you have unpacked your BOS files for this.)<br>
<br>
- Create an ENT file for the recruit using the Entity editors
that came w/the v1.27 patch. Save it in the &recruits&
folder under &entities&. <br>
<br>
- Open the characters.txt located at: <br>
<br>
C:\Program Files\14 Degrees East\Fallout Tactics\core\locale\game<br>
<br>
Here you will want to add two lines: <br>
<br>
name_[whateverYourCharacter'sDisplayNameIs] = {Character'sName}<br>
desc_[whateverYourCharacter'sDisplayNameIs] =
{Character'sBio/Story}<br>
<br>
- Place that entity in Mission 01 (Brahmin Wood) using the level
editor. Set the &Player Index& to &1& for
your recruit. <br>
<br>
- Open the campaign.txt file located in: <br>
<br>
C:\Program Files\14 Degrees East\Fallout Tactics\core\tables<br>
<br>
Here you will have to add a line under &RECRUIT POOL
DEFINITIONS&. It will have to have the following format: <br>
<br>
{mission00;add;entities/recruits/whateverYouNamedYourENTFile.ent},<br>
<br>
If you want to have your recruits show up later, just change the
numeric portion of the &mission00& entry to the number
of the mission you want them to be available after. <br>
<br>
- Now, using the campaign editor, open the bos.cam file, and go
to the Tools tab and click on &Import Recruits&. Save
the changes to the CAM file. <br>
<br>
Don't worry about backing any of the file you're modifying up. If
you dork something up, you can always go and re-extract that
file. <br>
<br>
Voila! You are now ready to rock and roll w/your new recruit to
serve at your side. <br>
<br>
Incidentally, I will say that Brahmin Wood isn't much of a
challenge w/more than 3 characters. <br>
<br>
<font size="4"><strong></strong></font></p>
<p><a name="7"><font size="4"><strong>Triggering Force Speech</strong>
- Max Violence</font></a></p>
<p>In order for 'Force Speech' to work when triggered by a speech
occurring, one must make sure that either:<br>
<br>
A) There is no 'event' tied to the speech that will be forced,
and/or<br>
<br>
There is a Wait action (B Wait 1 second(s) ) before the Force
Speech action.<br>
<br>
I'm not 100% certain that works 100% of the time (I'd guess
75%-75%), but I am sure that A) works (at least, it did for me
)<br>
<br>
Note: If the above isn't true, than the game will freeze when the
'Speech Occured' event is triggered.<br>
<br>
<font size="4"><strong></strong></font></p>
<p><a name="8"><font size="4"><strong>Light Entities</strong> -
Ed Orman</font></a></p>
<p><strong>Overview</strong><br>
- Light entities are used to light specific points in a mission
map.<br>
- The light emanates from the base of the light entity image, so
if you have a torch half-way up a wall, the light entity should
be at the same height.<br>
- For examples of lights and their settings, open any of the
Single Player tactics maps.<br>
<br>
<strong>Animation Rotation</strong><br>
- This is only useful if the light has an Arc set (see below).<br>
- There are eight steps of rotation, from 0 (facing North, the
top left corner of the screen) to 7.<br>
<br>
<strong>Night Only</strong><br>
- Means the light will only appear during the game's night hours.<br>
- Most outdoor lights should be tagged as night only.<br>
- Useful for campfires and torches which shouldn't be
illuminating anything during the day (this can cause washing out
of the color in tiles).<br>
<br>
[Note: a light with the &Night Only& tag will still
illuminate shadowed areas within its radius during daylight
hours. -OTB]<br>
<br>
<strong>Radius</strong><br>
- The radius (in meters) of the lights total range.<br>
- This includes the fall-off range.<br>
<br>
<strong>Rate of Change</strong><br>
- How quickly the light changes from one intensity setting to
another.<br>
- The speed should never be smaller than 60-100 (it's in
milliseconds).<br>
- Anything smaller, and the rate of change will be so fast that
you'll start slowing the game down (a light can &dirty&
a large chunk of the screen at once, and this chunk has to be
redrawn).<br>
<br>
<strong>Intensity String</strong><br>
- The intensity string allows you to control the brightness of a
light. &a& is the brightest&, &z& is the
darkest.<br>
- By typing in multiple letters (no spaces) like this
&aejejpa&, the light will change through different
levels of brightness.<br>
- Useful for flickering campfires, broken lights, etc.<br>
<br>
<strong>Color</strong><br>
- Use this to set the color of your light.<br>
<br>
<strong>Use Arc</strong><br>
- Tick this box if you want the light to illuminate in a certain
arc.<br>
<br>
<strong>Arc (degrees)</strong><br>
- Specify how large an arc you want the light to illuminate.<br>
- By default, this arc is centered to the North. To change the
direction of the center of the Arc, change the animation Rotation
field at the top of the entity.<br>
<br>
<strong>High Bound</strong><br>
- How high the light will illuminate (in meters).<br>
- If you're having a problem with lights showing through from the
floor below, set this to 1.<br>
<br>
<strong>Low Bound</strong><br>
- How low the light will illuminate (in meters).<br>
- If you're having a problem with lights showing through from the
floor above, set this to 0.1.<br>
<br>
<strong>Use Fog</strong><br>
- This allows a light to become a volumetric fog entity.<br>
- This means that instead of illuminating, the light will obscure
an area.<br>
- Fog can be intensive.<br>
<br>
<strong>Fog Alpha</strong><br>
- The intensity of the fog.<br>
- Very sensitive. A setting of 0.25 is usually adequate.<br>
<br>
<strong>How to turn a light On/Off</strong><br>
- First you need to tag some lights, for example LIGHT_GEN. Then
you need a trigger that executes at the start of your mission:<br>
(Condition: Always) (Action: Set Object Script State, Set Unit:
LIGHT_GEN, Object State: ). Leave the Object State: field blank.
This will initially turn the light off.<br>
- When you want it on, create another trigger with: <br>
(Action: Set Object Script State, Set Unit: LIGHT_GEN, Object
State:TICK).<br>
- This time, the Object State: field is ticked. This will turn
the light on.<br>
</p>
<p><a name="9"><font size="4"><strong>Names & Descriptions</strong>
- OTB</font></a></p>
<p>Enter the entity's name under &Display Name&. Then
you will have to make identical entries in the characters.txt
file prefaced by &name_& and &desc_& for the
name and story for the character (or name and description for an
item, although that goes in the items.txt file). <br>
<br>
For instance, enter &rec_hm01& in that field for a
recruit, then enter the following in the characters.txt: <br>
<br>
name_rec_hm01 = {Max}<br>
desc_rec_hm01 = {Max wanted to be a scribe and spent his
formative years training to maintain vacuum tubes and read punch
cards. Then, later he discovered his lifelong love of explosions,
and added traps to his repertoire.}<br>
<br>
Whatever you enter in &Custom Name& overrides the
&Display Name& field.</p>
<p><br>
<a name="10"><font size="4"><strong>Lights and Other Turn-Ons</strong>
- OTB</font></a></p>
<p>In order to have lights that turn off and on using a switch,
you will have to do the following: <br>
<br>
Set up a new trigger, name it something meaningful, then: <br>
<br>
Condition: <br>
<br>
Object script state of [Tag Name of Switch] (ticked/checked)<br>
<br>
Action: <br>
<br>
Set Object script state of [Tag Name of Light(s)]
(ticked/checked)<br>
<br>
Condition: <br>
<br>
Object script state of [Tag Name of Switch] (unticked/unchecked)<br>
<br>
Action: <br>
<br>
Set Object script state of [Tag Name of Light(s)]
(unticked/unchecked)<br>
<br>
Make sure that both of these triggers have &Preserve&
ticked/checked, otherwise you will only be able to turn the
lights on and off once each. <br>
<br>
Now, for your other problem, its similar to the previous one. <br>
<br>
Trigger 1<br>
<br>
Condition: <br>
<br>
Object script state of [tag name of switch] (ticked/checked)<br>
<br>
Action: <br>
<br>
Set Object script state of [Tag Name of Alarm] (ticked/checked)<br>
Open/Close Door [tag name of door] (ticked/checked)<br>
<br>
Trigger 2<br>
<br>
Condition: <br>
<br>
Object script state of [Tag Name of Alarm] (ticked/checked)<br>
<br>
Action: <br>
<br>
B Center view for Player (WhateverYouNamedPlayerIndex1) on [tag
name of alarm]<br>
<br>
Play alarm.wav centered on [tag name of alarm]<br>
<br>
The &B& in the action indicates that you have
ticked/checked &blocking& which means that the next
action in sequence will not be executed until that one has been. <br>
<br>
From here you should be able to get what you want done, although
you'll have to extrapolate a bit from my examples. <br>
<br>
Note, that you can also set up variables which are tripped when
Object Script States are changed. These variables can in turn be
used to set guards to come investigate by setting them to
Waypoints, change lighting to red emergency lights, etc., etc. <br>
</p>
<p><a name="11"><font size="4"><strong>Variables - </strong>OTB</font></a></p>
<p>Variables are actually pretty simple. Just set up a trigger
that will set up all of your mission variables for you right at
the beginning. Do this by setting up a trigger (I usually call it
something like &Mission Variable Initialization&, but
you could call it &Purple People Eaters R Us& if it
floats your boat) that has the condition &Always& and
then the Action &Set Variable&. <br>
<br>
Now you have to come up with something to call that variable and
decide to set a value. (Usually True or False are used.) Be very
careful when you set up your variables and every time you set up
a trigger that depends on those variables. I say this because
variable names are case sensitive and if they aren't exactly
alike they will not execute. (The other morning I was about to
pull yet more of my hair out after almost an hour of dorking
around...all because I had failed to capitalize one letter...)<br>
<br>
Once you have all of your mission variables set up you can set
triggers up based on them. <br>
<br>
For instance, you could set up a mission variable
&alarmSounded& which has an initial value of
&False&. Then you can set up another trigger that will
change the variable based on if an alarm is sounded. It would
look like this: <br>
<br>
Condition:<br>
<br>
Object Script State of [tag name of alarm] (checked/ticked)<br>
<br>
Action: <br>
<br>
Set mission variable &alarmSounded& to &True&<br>
<br>
Now another trigger could then be set up: <br>
<br>
Condition: <br>
<br>
Mission Variable &alarmSounded& is &True&<br>
<br>
Action: <br>
<br>
Set Object script state of [tag name of red alarm
lights](checked/ticked)<br>
Set Object script state of [tag name of normal lights]
(unchecked/unticked)<br>
Set Player X to Waypoint at &guardInvestigates& (which
could be the tag name of a series of waypoints that lead a couple
of guards into the area)</p>
<p><br>
<a name="12"><font size="4"><strong>Turning Off Alarms With A
Switch - </strong>OTB</font></a></p>
<p>To turn the alarms off when the switch turns off, just do the
same thing w/the alarm-related triggers that you did w/the
lights. That is, you have to check/tick &Preserve& and
have Object Script State settings for both ticked/checked and
unticked/unchecked settings.</p>
<p><br>
<a name="13"><font size="4"><strong>Enemies Reacting To Alarms - </strong>OTB</font></a></p>
<p>I've been screwing around w/having enemies react to alarms and
here are two neat little tricks I've come up with for when you'd
like to have a bunch of sleeping individuals come barreling out
of a building/bunker/whatever when an alarm is sounded: <br>
<br>
1) Set the sleepers to different player indexes.<br>
<br>
a) Have an alarm set to one of the player indexes of the sleepers
and give it a tag name as well. That index will be automatically
awakened by the alarm. <br>
<br>
b) Set up a trigger that depends on the object script state of
the tagged alarm that will trip one tagged alarm for each of the
other player indexes you're using. Hide the other alarms
somewhere out of sight/perception range so that your squealers
don't try to trip them. <br>
<br>
An easier method: <br>
<br>
1) Set all of your sleepers on the same index. Assign them
different tag names based on where you're going to want them to
go. <br>
<br>
a) Set a trigger that depends on the object script state of the
alarm (you'll beed it to have a tag name for this). Have that
trigger set a variable to true or false. <br>
<br>
b) When the variable is changed to true/false, you can have
triggers that have the sleepers change player index according to
where you want them to go. <br>
<br>
c) Set the various player indexes you want to move to various
series of waypoints, mobility and movement priority based on the
situation. <br wp="BR2">
</p>
<p><a name="14"><font size="4"><strong>Random Map Terrains - </strong>JJ86</font></a></p>
<p>I went through the landscape maps and catalogued them for
future reference. It is also handy to use these as generic
starter maps so you don't have to start building from scratch
which is very useful for something complex like cliffs or
canyons.<br>
<br>
Mission Y01 - Rocky Desert<br>
Mission Y02 - Rocky Desert<br>
Mission Y03 - Rocky Desert<br>
Mission Y04 - Rocky Desert<br>
Mission Y05 - Rocky Desert<br>
Mission Y06 - Rocky Desert<br>
Mission Y07 - Rocky Forest<br>
Mission Y08 - Rocky Forest<br>
Mission Y09 - Rocky Forest<br>
Mission Y10 - Rocky Desert Wastes<br>
Mission Y11 - Rocky Desert<br>
Mission Y12 - Rocky Desert Wastes<br>
Mission Y13 - Rocky Forest Wastes<br>
Mission Y14 - Swampy Forest Wastes<br>
Mission Y15 - Rocky Forest Wastes<br>
Mission Y16 - Rocky Swampy Forest<br>
Mission Y17 - Rocky Swampy Forest<br>
Mission Y18 - Rocky Forest<br>
Mission Y19 - Rocky Forest<br>
Mission Y20 - Rocky Forest<br>
Mission Y21 - Rocky Forest Cliffs<br>
Mission Y22 - Rocky Forest Cliffs<br>
Mission Y23 - Tribal Village<br>
Mission Y24 - Tribal Rocky Swampy Forest<br>
Mission Y25 - Raiders Rocky Forest<br>
Mission Y26 - Raiders Rocky Swampy Forest<br>
Mission Y27 - Snowy Rocky Forest Cliffs<br>
Mission Y28 - Snowy Rocky Forest Cliffs<br>
Mission Y29 - Snowy Rocky Forest Cliffs<br>
Mission Y30 - Snowy Rocky Forest Cliffs<br>
Mission Y31 - Rocky Canyon<br>
Mission Y32 - Rocky Canyon<br>
Mission Y33 - Rocky Forest Cliffs<br>
Mission Y34 - Rocky Forest Cliffs<br>
Mission Y35 - Ruined City Streets<br>
Mission Y36 - Ruined City Streets<br>
Mission Y37 - Ruined City Rutted Paths<br>
Mission Y38 - Ruined City Rutted Paths<br>
Mission Y39 - Ruined Industrial Streets<br>
Mission Y40 - Ruined Industrial Streets<br>
Mission Y41 - Ruined City<br>
Mission Y42 - Ruined City Rocky Desert<br>
</p>
<p><a name="15"><font size="4"><strong>Light Intensity Strings</strong>
- Max-Violence</font></a></p>
<p>Insanely pulsating loop: <br>
az <br>
<br>
Fast flicker: <br>
azzzzzzazzzzzza <br>
<br>
Really fast flicker: <br>
azzzazzza <br>
<br>
A flicker, a pause, a flicker, then another flicker: <br>
azzzzzzazzzaza <br>
<br>
Slow loop: <br>
abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba <br>
<br>
Really slow loop: <br>
aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzyyxxwwvvuuttssrrqqppoonnmmllkkjj<br>
iihhggffeeddccbb <br>
<br>
Really, REALLY slow loop: <br>
aaaabbbbcccceeeeffffgggghhhhiiiijjjjkkkkllllmmmmnnnnooooppppqqqqrrrrssssttttuuuuvvvvww<br>
wwxxxyyyyzzzzyyyyxxxxwwwwvvvvuuuuttttssssrrrrqqqqppppoooonnnnmmmmllllkkkkjjjjiiiihh<br>
hhggggffffeeeeddddccccbbbb <br>
<br>
1/2 power flicker: <br>
ooooooozoz <br>
<br>
full power double-flicker: <br>
aaaaaaazaaaaaz <br>
<br>
Fade to 1/2 power, then abruptly go off, then fade back on from
1/2 power: <br>
abcdefghijklmnozzzzzzonmlkjihgfedcba <br>
<br>
Fade to 1/2 power, then abruptly go off, then fade back on from 0
power: <br>
abcdefghijklmnozzzzzzyxwvutsrqponmlkjihgfedcba <br>
<br>
Fade to 1/2 power, abruptly go off (the fade starts quickly, then
slowly gets slower): <br>
abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmm<br>
mmmnnnnnnnnnnnnnnooooooooooooooozzzzzzzzzzzzzzzzzzzz <br>
<br>
Fade to 1/2 power then off. Start slow, speeds up: <br>
aaaaaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccddddddddddddeeeeeeeeeeeffffffffffgggggggggh<br>
hhhhhhhiiiiiiijjjjjjkkkkkllllmmmnnozzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
<br>
<br>
Two double-flickers, the first at around 1/2 power, the second at
around full power: <br>
rsvpzzzzzzzzasapzzzzzzzz <br>
<br>
Expanded standard street light flicker: <br>
aabbccddeeffmzzzmccbbaaaaaabbccmzzzzmbbcczzmbbbcccaaa <br>
<br>
Near-dead light (blinking): <br>
azzzzzzzzzzzzzzzazzzzzzzzzzazzzzzzzzzzzzzzz <br>
<br>
A fading light that can't make up it's mind whether to stay on or
stay off<br>
:aabbccmzzzmbbaaaaaabbmzzzzmbbzzmbbbaaa <br>
<br>
------------------------------------ <br>
<strong>Intensity Strings made by OnTheBounce</strong>: <br>
<br>
Slight twinkling: <br>
fjdekdnfjvudjfnfdjeufhdjsdjkrhvcudhdhej <br>
<br>
1/4 power drone, then a sudden &flicker of life,& then
back to 1/4 power drone: <br>
tttttttttttttttttzmz</p>
</body>
<font size="2">Created 7/27/02</font>
<a href="#1"><font size="4">Extracting Tiles, Entities, Etc.</font></a>
<p><a href="#2"><font size="4">How to Create a New Ammo Type</font></a></p>
<a href="#3"><font size="4">NPC's Conversing With Each Other</font></a>
<a href="#4"><font size="4">Add Text To Debrief Text List Trigger</font></a>
<a href="#5"><font size="4">Red's Level Editor Tips</font></a>
<a href="#6"><font size="4">Creating a New Recruit For Single Player Game</font></a>
<a href="#7"><font size="4">Triggering A Force Speech</font></a>
<a href="#8"><font size="4">Light Entities</font></a>
<a href="#9"><font size="4">Names Descriptions</font></a>
<a href="#10"><font size="4">Lights & Other Turn-Ons</font></a>
<a href="#11"><font size="4">Variables</font></a>
<a href="#12"><font size="4">Turning Off Alarms With a Switch</font></a>
<a href="#13"><font size="4">Enemies Reacting to Alarms</font></a>
<a href="#14"><font size="4">Random Map Terrains</font></a>
<a href="#15"><font size="4">Light Intensity Strings</font></a>
<p><a name="1"><font size="4"><strong>Extracting Tiles, Entities,
etc</strong>.</font></a></p>
<p>For the editors to work they require some resources to be
extracted from the <br>
data files for fallout tactics. <br>
<br>
It is recommended you extract the contents of the following
files:<br>
<br>
tiles_0.bos<br>
entities_0.bos<br>
mis-main_0.bos</p>
<p>If you have the hard drive space you may want to extract all
of the .bos files.<br>
<br>
The easiest way to extract them is to use WinZip:<br>
<br>
1) Launch WinZip<br>
2) Drag-drop the .bos file from explorer into the WinZip window.<br>
3) Do not select any of the files<br>
4) Press the extract button on the toolbar<br>
5) A dialog should appear. Make sure use folder names is checked.
Make sure <br>
the output directory is the core folder inside your tactics
install path.<br>
6) Press extract.<br>
<br>
If you repeat this process for each of the .bos files mentioned
above, you <br>
should now be able to access the tiles and entities and campaign
from the <br>
editors.<br>
</p>
<a name="2"><font size="4"><strong>How To Create A New Ammo Type - </strong>OTB</font></a>
<p>First, head to the files section of the site and DL
&BoSEE&, which is what you'll need. <br>
<br>
Here's what you need to do: <br>
<br>
1) Create ammo and weapon entities that you're going to use
w/your new ammo type. It doesn't matter what you set the ammo to,
since you're going to change it anyway. <br>
<br>
2) You will have to have unpacked the various text files that FoT
reads for non-hard-coded information. The file you're looking for
is called &ammo.txt& and is located at the following
address: <br>
<br>
C:\Program Files\14 Degrees East\Fallout Tactics\core\locale\game<br>
<br>
3) In this file you will see entries like this: <br>
<br>
{name_Needle} = {Needle}<br>
<br>
You will need to come up with something to call your new ammo
type. Since &.45& is used for the standard .45 (i.e.
ACP) in the game, you can simply use: <br>
<br>
{name_.45C} = {.45 Colt}<br>
<br>
4) Open the ammo entities and weapons that you want to set to
this type of ammo with BoSEE and change the ammo field to
whatever is in the &name_& portion of your ammo.txt
file. <br>
<br>
Warning: Once you save the file using BoSEE, you cannot modify it
with the standard entity editor w/o setting the ammo type to
&None&. In other words, if you want to modify the
entity, you will have to make whatever changes you want to make,
then re-modify and re-save the entity using BoSEE. <br>
<br>
BTW, if you're planning on making a mod for distribution, I
recommend using the &-path& option on the run command.
This way you won't force people to copy-'n'-paste all sorts of
files to play your mod. <br>
<br>
Last, but not least, I have to get up on my cartridge
nomenclature soapbox. There is no such cartridge as &.45
Long Colt&. It's actually just &.45 Colt&, but
it's been misused for so long that even Colt brochures list it as
&.45 LC&. (Source: Lyman's Handloading Manual).<br
wp="BR1">
</p>
<p><a name="3"><font size="4"><strong>NPC's Conversing With Each Other</strong> - OTB</font></a></p>
<p>There is a way that you can simulate NPCs chatting w/one
another w/o the headache of scripting the conversations. <br>
<br>
The answer is actually quite simple. Compare the following two
speech nodes: <br>
<br>
D02_WSPR01_A00 = {This wind is getting on my nerves...}<br>
D02_WSPR01_A01 = {This is just *too* boring...}<br>
D02_WSPR01_A02 = {I could go for some more chitlins.}<br>
D02_WSPR01_A03 = {As if anyone would have the nerve to attack
this place...}<br>
D02_WSPR01_A04 = {Better check your weapons.}<br>
D02_WSPR01_A05 = {::belch:: Yep, those chitlins were good...}<br>
<br>
D02_WSPR02_A00 = {It is a bit breezy...}<br>
D02_WSPR02_A01 = {It like it when it's boring...}<br>
D02_WSPR02_A02 = {The mess hall certainly made enough...}<br>
D02_WSPR02_A03 = {You never know...someone could be watching us
right now.}<br>
D02_WSPR02_A04 = {But I just checked my weapons when we came on
shift.}<br>
D02_WSPR02_A05 = {::fans air:: I hate the effect chitlins have on
you...*gag*}<br>
<br>
Basically, each line within a node is related to the identical
line in its sister node. These two nodes are each for one roving
guard, and in practice, they ---- far more often than not ----
will look like they are having a conversation. This is, however,
not foolproof, so you might not want to have lines that sound odd
if they happen to be seen out of context. <br>
</p>
<p><a name="4"><font size="4"><strong>Add Text To Debrief Text List Trigger</strong> - Endocore</font></a></p>
<p>In the past I've always just used a &world text
display& for my debriefings, but due to the nature of the
story in the map I was working on I decided to try to take
advantage of the more flexible/generic way the normal FOT
campaign generated many of its debriefs by use of the &Add
text to Debrief text list& trigger. Anyone wanting to take
advantage of this trigger who has never used it before would
profit by looking at the triggers and speech file for Mission 6
(Quincy) of the regular campaign and exactly following the
implementation MF used there. I initially had placed several of
the &Add text to Debrief text list& triggers in amongst
my other scripts to add relevant lines to the debriefing as the
events that called for them actually happened in scripting terms,
but this turned out to be a big mistake since the game was unable
to &remember& any of these debrief lines being added
and would only display in the debriefing the debrief lines for
the last two or three objectives accomplished, leaving out the
parts that had been triggered earlier on. Needless to say, this
was very bad because in order to experiment with this I had to
keep going all the way through the entire (rather lengthy)
mission and accomplishing all the objectives in various orders to
try to figure out what was happening, and risked introducing new
errors into map because I had to delete so many opponent entities
in order to speed up the tests that once I finally worked out
some scripts for the debriefing that worked, I had to write them
down on a piece of paper and enter them into the &real&
map (always have a backup file) from there since the map used for
experimenting on this stuff was no longer recognizable.<br>
<br>
Use of the &Add text to Debrief text list& trigger
seems to require that all possible lines of text one might want
to use in the debriefing be triggered only after the player has
completed the mission and has all their characters at the exit
grid for the map. Any use of this trigger to add text to the
debriefing before the player has all his characters at the exit
grid runs the risk of having that text forgotten at debriefing
time, apparently overwritten by later texts added to the
debriefing.<br>
<br>
Let's say you had a smallish map where the player had to 1)rescue
some hostages from some gunmen, and 2)defuse a bomb that was
going to blow up a building. There would then be four possible
outcomes of your map that you would want to discuss in the
debriefing, so you would put four appropriate lines in your
mission's speech file:<br>
<br>
hostagessaved = {You saved the hostages. You're an epic hero
who's loved by all women and respected by all men.\n\n}<br>
<br>
hostagesdead = {I wouldn't trust you to make me a cup of coffee,
you pathetic excuse for a soldier. The hostages are dead, and
you're going to be court-martialed.\n\n}<br>
<br>
bombdefused = {Let me present you with a hearty handshake for
defusing the bomb and saving the headquarters of the Acme
Telemarketing Corporation.\n\n}<br>
<br>
bombwentoff = {Due to your inept clumsiness, the headquarters of
the Acme Telemarketing Corporation were destroyed by the bomb.
How will decent citizens ever find the will to live again if
they're not able to enjoy their right to be constantly
interrupted by telephone solicitors?\n\n}<br>
<br>
In order to utilize these lines of text in your debriefing, they
all need to be tied to a variable that is set only when the
mission is over, the exit grids have been turned on, and the
player has all their remaining characters at the exit grid ready
to leave the map. In the example mission I've set up for this
discussion, then, a minimum of eight lines of script would be
required to make a debriefing that was responsive to what
happened in the mission.<br>
-----------------------------------------------------------<br>
1) Mission Set-Up<br>
<br>
CONDITION:<br>
Always<br>
<br>
ACTION:<br>
Set variable missionover to False<br>
Set variable hostagesrescued to False<br>
Set variable bombingstopped to False<br>
Set variable finallyfinished to False<br>
-----------------------------------------------------------<br>
<br>
You'd then have all your normal scripting to determine what
actually counted as saving the hostages and defusing the bomb,
etc. Once both objectives were either accomplished or flubbed,
the player would be prompted to head for the exit grid since
there was nothing else to do in the mission.<br>
<br>
-----------------------------------------------------------<br>
<br>
2) Almost End of Game<br>
<br>
CONDITION:<br>
Player 1 [the PC's] has all alive at exit grids<br>
<br>
ACTION:<br>
Set variable missionover to True<br>
<br>
-----------------------------------------------------------<br>
<br>
3) Hostage Situation Result 1<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
Variable hostagesrescued is True<br>
<br>
ACTION:<br>
Add text 'hostagessaved' [from your entry in the mission speech
file above] to Debrief text list at position: 0 [this will be the
first thing talked about in the debriefing]<br>
<br>
-----------------------------------------------------------<br>
<br>
4) Hostage Situation Result 2<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
Variable hostagesrescued is False<br>
<br>
ACTION:<br>
Add text 'hostagesdead' to Debrief text list at position: 0 [the
point is that whatever happened to the hostages, it will be
talked about first in the debriefing]<br>
<br>
-----------------------------------------------------------<br>
<br>
5) Bomb Situation Result 1<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
Variable bombingstopped is True<br>
<br>
ACTION:<br>
Add text 'bombdefused' to Debrief text list at position: 1 [after
the hostage situation has been discussed, the debrief will move
on to talk about the bomb situation]<br>
-----------------------------------------------------------<br>
<br>
6) Bomb Situation Result 2<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
Variable bombingstopped is False<br>
<br>
ACTION:<br>
Add text to 'bombwentoff' to Debrief text list at position: 1<br>
-----------------------------------------------------------<br>
<br>
And finally we have the really odd part which makes no sense at
all that seems to allow the whole thing to work properly:<br>
<br>
-----------------------------------------------------------<br>
<br>
7) Are we done yet?<br>
<br>
CONDITION:<br>
Variable missionover is True<br>
<br>
ACTION:<br>
Set variable finallyfinished to True<br>
<br>
-----------------------------------------------------------<br>
<br>
8) Player gets to leave the map<br>
<br>
CONDITION:<br>
Variable finallyfinished is True<br>
<br>
ACTION:<br>
B Display Debrief window and text<br>
B Wait 1 second<br>
B End Mission (Main Menu)<br>
-----------------------------------------------------------<br>
Maybe it's just me, but having to include trigger #7 just doesn't
make any sense since it seems to serve no useful purpose
whatsoever. Nonetheless, that's what I had to do to get my custom
debriefing triggers to work.<br>
<br>
The original way I tried to use the trigger &Add text to
Debrief text list&, which was an absolute failure, and I
want to show only so mappers can know what NOT to do, was along
the lines of what's below. In order to simplify things a little,
we'll say that the first map was too long and we cut it down to
size by only requiring the player to save some hostages. Once
again, this is what NOT to do:<br>
1) Mission Set-up<br>
<br>
CONDITION:<br>
Always<br>
<br>
ACTION:<br>
Set variable objective1done to False<br>
<br>
-----------------------------------------------------------<br>
<br>
1) Hostages saved<br>
<br>
CONDITION:<br>
Bad guys has less than 1 alive at anywhere<br>
Hostages has more than 0 alive at anywhere<br>
<br>
ACTION:<br>
Set variable objective1done to True<br>
Add text 'hostagessaved' to Debrief text list at position: 0<br>
-----------------------------------------------------------<br>
<br>
2) Hostages not saved<br>
<br>
CONDITION:<br>
Hostages has less than 1 alive at anywhere<br>
<br>
ACTION:<br>
Set variable objective1done to True<br>
Add text 'hostagesdead' to Debrief text list at position: 0<br>
-----------------------------------------------------------<br>
<br>
3) Mission complete<br>
<br>
CONDITION: <br>
Variable objective1done is True<br>
<br>
ACTION:<br>
Turn exit grids on<br>
-----------------------------------------------------------<br>
<br>
4) Time to leave<br>
<br>
CONDITION:<br>
Player Human [PC's] has all alive at exit grid<br>
<br>
ACTION:<br>
B Display debrief window and text<br>
B Wait 1 second<br>
B End mission (Main Menu)<br>
</p>
<p><a name="5"><font size="4"><strong>Red's Level Editor Tips</strong></font></a></p>
<p>Tip 1: Drag and drop the fps counter somewhere else.
Underneath is hidden a neat little white box. Click on that to
choose the (another) background color.<br>
<br>
Tip2: You can right click on the &level bar& to disable
(and re-enable) specific levels. This is great when the Roof
Popping and Occlusion just won't do the job.<br>
<br>
Tip3a: You can make tilesets which contain the same tile more
then once.<br>
The only restriction (within the FO:T editor) is that you need to
select an alternate tile to add it to the list. This is great to
create &random& floors for desert. You choose the
normal desert tiles say 80% of the time, and the &feature
tiles& (with small rocks and such) fill up the rest of the
tiles. This REALLY looks MUCH better then doing it manually
and/or not doing it at all (the last of which can make a map
really ugly).<br>
<br>
Tip3b: Instead of making the tilesets within the editor which
doesn't even save them correctly), first make a tileset with all
the tiles you'll plan to use, then save it. Open it in your
favorite text editor (I recommend UltraEdit) fix the quoting
problem (you either need to add them or remove them I don't
remember), and copy-paste the appropriate tiles the number of
times you want it represented in the tileset (say you want 80%
sand, have 20 tiles &with features&, and 8 tiles
&with normal sand&, then copy paste the sand tile list
10 times to get the ratio... you get the idea, I hope .<br>
Load the tileset, and use it.<br>
</p>
<p><a name="6"><font size="4"><strong>Creating A New Recruit For
Single-Player Game</strong> - OTB</font></a></p>
<p>Here's what you'll need to do: <br>
<br>
(I'm assuming that you have unpacked your BOS files for this.)<br>
<br>
- Create an ENT file for the recruit using the Entity editors
that came w/the v1.27 patch. Save it in the &recruits&
folder under &entities&. <br>
<br>
- Open the characters.txt located at: <br>
<br>
C:\Program Files\14 Degrees East\Fallout Tactics\core\locale\game<br>
<br>
Here you will want to add two lines: <br>
<br>
name_[whateverYourCharacter'sDisplayNameIs] = {Character'sName}<br>
desc_[whateverYourCharacter'sDisplayNameIs] =
{Character'sBio/Story}<br>
<br>
- Place that entity in Mission 01 (Brahmin Wood) using the level
editor. Set the &Player Index& to &1& for
your recruit. <br>
<br>
- Open the campaign.txt file located in: <br>
<br>
C:\Program Files\14 Degrees East\Fallout Tactics\core\tables<br>
<br>
Here you will have to add a line under &RECRUIT POOL
DEFINITIONS&. It will have to have the following format: <br>
<br>
{mission00;add;entities/recruits/whateverYouNamedYourENTFile.ent},<br>
<br>
If you want to have your recruits show up later, just change the
numeric portion of the &mission00& entry to the number
of the mission you want them to be available after. <br>
<br>
- Now, using the campaign editor, open the bos.cam file, and go
to the Tools tab and click on &Import Recruits&. Save
the changes to the CAM file. <br>
<br>
Don't worry about backing any of the file you're modifying up. If
you dork something up, you can always go and re-extract that
file. <br>
<br>
Voila! You are now ready to rock and roll w/your new recruit to
serve at your side. <br>
<br>
Incidentally, I will say that Brahmin Wood isn't much of a
challenge w/more than 3 characters. <br>
<br>
<font size="4"><strong></strong></font></p>
<p><a name="7"><font size="4"><strong>Triggering Force Speech</strong>
- Max Violence</font></a></p>
<p>In order for 'Force Speech' to work when triggered by a speech
occurring, one must make sure that either:<br>
<br>
A) There is no 'event' tied to the speech that will be forced,
and/or<br>
<br>
There is a Wait action (B Wait 1 second(s) ) before the Force
Speech action.<br>
<br>
I'm not 100% certain that works 100% of the time (I'd guess
75%-75%), but I am sure that A) works (at least, it did for me
)<br>
<br>
Note: If the above isn't true, than the game will freeze when the
'Speech Occured' event is triggered.<br>
<br>
<font size="4"><strong></strong></font></p>
<p><a name="8"><font size="4"><strong>Light Entities</strong> -
Ed Orman</font></a></p>
<p><strong>Overview</strong><br>
- Light entities are used to light specific points in a mission
map.<br>
- The light emanates from the base of the light entity image, so
if you have a torch half-way up a wall, the light entity should
be at the same height.<br>
- For examples of lights and their settings, open any of the
Single Player tactics maps.<br>
<br>
<strong>Animation Rotation</strong><br>
- This is only useful if the light has an Arc set (see below).<br>
- There are eight steps of rotation, from 0 (facing North, the
top left corner of the screen) to 7.<br>
<br>
<strong>Night Only</strong><br>
- Means the light will only appear during the game's night hours.<br>
- Most outdoor lights should be tagged as night only.<br>
- Useful for campfires and torches which shouldn't be
illuminating anything during the day (this can cause washing out
of the color in tiles).<br>
<br>
[Note: a light with the &Night Only& tag will still
illuminate shadowed areas within its radius during daylight
hours. -OTB]<br>
<br>
<strong>Radius</strong><br>
- The radius (in meters) of the lights total range.<br>
- This includes the fall-off range.<br>
<br>
<strong>Rate of Change</strong><br>
- How quickly the light changes from one intensity setting to
another.<br>
- The speed should never be smaller than 60-100 (it's in
milliseconds).<br>
- Anything smaller, and the rate of change will be so fast that
you'll start slowing the game down (a light can &dirty&
a large chunk of the screen at once, and this chunk has to be
redrawn).<br>
<br>
<strong>Intensity String</strong><br>
- The intensity string allows you to control the brightness of a
light. &a& is the brightest&, &z& is the
darkest.<br>
- By typing in multiple letters (no spaces) like this
&aejejpa&, the light will change through different
levels of brightness.<br>
- Useful for flickering campfires, broken lights, etc.<br>
<br>
<strong>Color</strong><br>
- Use this to set the color of your light.<br>
<br>
<strong>Use Arc</strong><br>
- Tick this box if you want the light to illuminate in a certain
arc.<br>
<br>
<strong>Arc (degrees)</strong><br>
- Specify how large an arc you want the light to illuminate.<br>
- By default, this arc is centered to the North. To change the
direction of the center of the Arc, change the animation Rotation
field at the top of the entity.<br>
<br>
<strong>High Bound</strong><br>
- How high the light will illuminate (in meters).<br>
- If you're having a problem with lights showing through from the
floor below, set this to 1.<br>
<br>
<strong>Low Bound</strong><br>
- How low the light will illuminate (in meters).<br>
- If you're having a problem with lights showing through from the
floor above, set this to 0.1.<br>
<br>
<strong>Use Fog</strong><br>
- This allows a light to become a volumetric fog entity.<br>
- This means that instead of illuminating, the light will obscure
an area.<br>
- Fog can be intensive.<br>
<br>
<strong>Fog Alpha</strong><br>
- The intensity of the fog.<br>
- Very sensitive. A setting of 0.25 is usually adequate.<br>
<br>
<strong>How to turn a light On/Off</strong><br>
- First you need to tag some lights, for example LIGHT_GEN. Then
you need a trigger that executes at the start of your mission:<br>
(Condition: Always) (Action: Set Object Script State, Set Unit:
LIGHT_GEN, Object State: ). Leave the Object State: field blank.
This will initially turn the light off.<br>
- When you want it on, create another trigger with: <br>
(Action: Set Object Script State, Set Unit: LIGHT_GEN, Object
State:TICK).<br>
- This time, the Object State: field is ticked. This will turn
the light on.<br>
</p>
<p><a name="9"><font size="4"><strong>Names & Descriptions</strong>
- OTB</font></a></p>
<p>Enter the entity's name under &Display Name&. Then
you will have to make identical entries in the characters.txt
file prefaced by &name_& and &desc_& for the
name and story for the character (or name and description for an
item, although that goes in the items.txt file). <br>
<br>
For instance, enter &rec_hm01& in that field for a
recruit, then enter the following in the characters.txt: <br>
<br>
name_rec_hm01 = {Max}<br>
desc_rec_hm01 = {Max wanted to be a scribe and spent his
formative years training to maintain vacuum tubes and read punch
cards. Then, later he discovered his lifelong love of explosions,
and added traps to his repertoire.}<br>
<br>
Whatever you enter in &Custom Name& overrides the
&Display Name& field.</p>
<p><br>
<a name="10"><font size="4"><strong>Lights and Other Turn-Ons</strong>
- OTB</font></a></p>
<p>In order to have lights that turn off and on using a switch,
you will have to do the following: <br>
<br>
Set up a new trigger, name it something meaningful, then: <br>
<br>
Condition: <br>
<br>
Object script state of [Tag Name of Switch] (ticked/checked)<br>
<br>
Action: <br>
<br>
Set Object script state of [Tag Name of Light(s)]
(ticked/checked)<br>
<br>
Condition: <br>
<br>
Object script state of [Tag Name of Switch] (unticked/unchecked)<br>
<br>
Action: <br>
<br>
Set Object script state of [Tag Name of Light(s)]
(unticked/unchecked)<br>
<br>
Make sure that both of these triggers have &Preserve&
ticked/checked, otherwise you will only be able to turn the
lights on and off once each. <br>
<br>
Now, for your other problem, its similar to the previous one. <br>
<br>
Trigger 1<br>
<br>
Condition: <br>
<br>
Object script state of [tag name of switch] (ticked/checked)<br>
<br>
Action: <br>
<br>
Set Object script state of [Tag Name of Alarm] (ticked/checked)<br>
Open/Close Door [tag name of door] (ticked/checked)<br>
<br>
Trigger 2<br>
<br>
Condition: <br>
<br>
Object script state of [Tag Name of Alarm] (ticked/checked)<br>
<br>
Action: <br>
<br>
B Center view for Player (WhateverYouNamedPlayerIndex1) on [tag
name of alarm]<br>
<br>
Play alarm.wav centered on [tag name of alarm]<br>
<br>
The &B& in the action indicates that you have
ticked/checked &blocking& which means that the next
action in sequence will not be executed until that one has been. <br>
<br>
From here you should be able to get what you want done, although
you'll have to extrapolate a bit from my examples. <br>
<br>
Note, that you can also set up variables which are tripped when
Object Script States are changed. These variables can in turn be
used to set guards to come investigate by setting them to
Waypoints, change lighting to red emergency lights, etc., etc. <br>
</p>
<p><a name="11"><font size="4"><strong>Variables - </strong>OTB</font></a></p>
<p>Variables are actually pretty simple. Just set up a trigger
that will set up all of your mission variables for you right at
the beginning. Do this by setting up a trigger (I usually call it
something like &Mission Variable Initialization&, but
you could call it &Purple People Eaters R Us& if it
floats your boat) that has the condition &Always& and
then the Action &Set Variable&. <br>
<br>
Now you have to come up with something to call that variable and
decide to set a value. (Usually True or False are used.) Be very
careful when you set up your variables and every time you set up
a trigger that depends on those variables. I say this because
variable names are case sensitive and if they aren't exactly
alike they will not execute. (The other morning I was about to
pull yet more of my hair out after almost an hour of dorking
around...all because I had failed to capitalize one letter...)<br>
<br>
Once you have all of your mission variables set up you can set
triggers up based on them. <br>
<br>
For instance, you could set up a mission variable
&alarmSounded& which has an initial value of
&False&. Then you can set up another trigger that will
change the variable based on if an alarm is sounded. It would
look like this: <br>
<br>
Condition:<br>
<br>
Object Script State of [tag name of alarm] (checked/ticked)<br>
<br>
Action: <br>
<br>
Set mission variable &alarmSounded& to &True&<br>
<br>
Now another trigger could then be set up: <br>
<br>
Condition: <br>
<br>
Mission Variable &alarmSounded& is &True&<br>
<br>
Action: <br>
<br>
Set Object script state of [tag name of red alarm
lights](checked/ticked)<br>
Set Object script state of [tag name of normal lights]
(unchecked/unticked)<br>
Set Player X to Waypoint at &guardInvestigates& (which
could be the tag name of a series of waypoints that lead a couple
of guards into the area)</p>
<p><br>
<a name="12"><font size="4"><strong>Turning Off Alarms With A
Switch - </strong>OTB</font></a></p>
<p>To turn the alarms off when the switch turns off, just do the
same thing w/the alarm-related triggers that you did w/the
lights. That is, you have to check/tick &Preserve& and
have Object Script State settings for both ticked/checked and
unticked/unchecked settings.</p>
<p><br>
<a name="13"><font size="4"><strong>Enemies Reacting To Alarms - </strong>OTB</font></a></p>
<p>I've been screwing around w/having enemies react to alarms and
here are two neat little tricks I've come up with for when you'd
like to have a bunch of sleeping individuals come barreling out
of a building/bunker/whatever when an alarm is sounded: <br>
<br>
1) Set the sleepers to different player indexes.<br>
<br>
a) Have an alarm set to one of the player indexes of the sleepers
and give it a tag name as well. That index will be automatically
awakened by the alarm. <br>
<br>
b) Set up a trigger that depends on the object script state of
the tagged alarm that will trip one tagged alarm for each of the
other player indexes you're using. Hide the other alarms
somewhere out of sight/perception range so that your squealers
don't try to trip them. <br>
<br>
An easier method: <br>
<br>
1) Set all of your sleepers on the same index. Assign them
different tag names based on where you're going to want them to
go. <br>
<br>
a) Set a trigger that depends on the object script state of the
alarm (you'll beed it to have a tag name for this). Have that
trigger set a variable to true or false. <br>
<br>
b) When the variable is changed to true/false, you can have
triggers that have the sleepers change player index according to
where you want them to go. <br>
<br>
c) Set the various player indexes you want to move to various
series of waypoints, mobility and movement priority based on the
situation. <br wp="BR2">
</p>
<p><a name="14"><font size="4"><strong>Random Map Terrains - </strong>JJ86</font></a></p>
<p>I went through the landscape maps and catalogued them for
future reference. It is also handy to use these as generic
starter maps so you don't have to start building from scratch
which is very useful for something complex like cliffs or
canyons.<br>
<br>
Mission Y01 - Rocky Desert<br>
Mission Y02 - Rocky Desert<br>
Mission Y03 - Rocky Desert<br>
Mission Y04 - Rocky Desert<br>
Mission Y05 - Rocky Desert<br>
Mission Y06 - Rocky Desert<br>
Mission Y07 - Rocky Forest<br>
Mission Y08 - Rocky Forest<br>
Mission Y09 - Rocky Forest<br>
Mission Y10 - Rocky Desert Wastes<br>
Mission Y11 - Rocky Desert<br>
Mission Y12 - Rocky Desert Wastes<br>
Mission Y13 - Rocky Forest Wastes<br>
Mission Y14 - Swampy Forest Wastes<br>
Mission Y15 - Rocky Forest Wastes<br>
Mission Y16 - Rocky Swampy Forest<br>
Mission Y17 - Rocky Swampy Forest<br>
Mission Y18 - Rocky Forest<br>
Mission Y19 - Rocky Forest<br>
Mission Y20 - Rocky Forest<br>
Mission Y21 - Rocky Forest Cliffs<br>
Mission Y22 - Rocky Forest Cliffs<br>
Mission Y23 - Tribal Village<br>
Mission Y24 - Tribal Rocky Swampy Forest<br>
Mission Y25 - Raiders Rocky Forest<br>
Mission Y26 - Raiders Rocky Swampy Forest<br>
Mission Y27 - Snowy Rocky Forest Cliffs<br>
Mission Y28 - Snowy Rocky Forest Cliffs<br>
Mission Y29 - Snowy Rocky Forest Cliffs<br>
Mission Y30 - Snowy Rocky Forest Cliffs<br>
Mission Y31 - Rocky Canyon<br>
Mission Y32 - Rocky Canyon<br>
Mission Y33 - Rocky Forest Cliffs<br>
Mission Y34 - Rocky Forest Cliffs<br>
Mission Y35 - Ruined City Streets<br>
Mission Y36 - Ruined City Streets<br>
Mission Y37 - Ruined City Rutted Paths<br>
Mission Y38 - Ruined City Rutted Paths<br>
Mission Y39 - Ruined Industrial Streets<br>
Mission Y40 - Ruined Industrial Streets<br>
Mission Y41 - Ruined City<br>
Mission Y42 - Ruined City Rocky Desert<br>
</p>
<p><a name="15"><font size="4"><strong>Light Intensity Strings</strong>
- Max-Violence</font></a></p>
<p>Insanely pulsating loop: <br>
az <br>
<br>
Fast flicker: <br>
azzzzzzazzzzzza <br>
<br>
Really fast flicker: <br>
azzzazzza <br>
<br>
A flicker, a pause, a flicker, then another flicker: <br>
azzzzzzazzzaza <br>
<br>
Slow loop: <br>
abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba <br>
<br>
Really slow loop: <br>
aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzzyyxxwwvvuuttssrrqqppoonnmmllkkjj<br>
iihhggffeeddccbb <br>
<br>
Really, REALLY slow loop: <br>
aaaabbbbcccceeeeffffgggghhhhiiiijjjjkkkkllllmmmmnnnnooooppppqqqqrrrrssssttttuuuuvvvvww<br>
wwxxxyyyyzzzzyyyyxxxxwwwwvvvvuuuuttttssssrrrrqqqqppppoooonnnnmmmmllllkkkkjjjjiiiihh<br>
hhggggffffeeeeddddccccbbbb <br>
<br>
1/2 power flicker: <br>
ooooooozoz <br>
<br>
full power double-flicker: <br>
aaaaaaazaaaaaz <br>
<br>
Fade to 1/2 power, then abruptly go off, then fade back on from
1/2 power: <br>
abcdefghijklmnozzzzzzonmlkjihgfedcba <br>
<br>
Fade to 1/2 power, then abruptly go off, then fade back on from 0
power: <br>
abcdefghijklmnozzzzzzyxwvutsrqponmlkjihgfedcba <br>
<br>
Fade to 1/2 power, abruptly go off (the fade starts quickly, then
slowly gets slower): <br>
abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmm<br>
mmmnnnnnnnnnnnnnnooooooooooooooozzzzzzzzzzzzzzzzzzzz <br>
<br>
Fade to 1/2 power then off. Start slow, speeds up: <br>
aaaaaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccddddddddddddeeeeeeeeeeeffffffffffgggggggggh<br>
hhhhhhhiiiiiiijjjjjjkkkkkllllmmmnnozzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
<br>
<br>
Two double-flickers, the first at around 1/2 power, the second at
around full power: <br>
rsvpzzzzzzzzasapzzzzzzzz <br>
<br>
Expanded standard street light flicker: <br>
aabbccddeeffmzzzmccbbaaaaaabbccmzzzzmbbcczzmbbbcccaaa <br>
<br>
Near-dead light (blinking): <br>
azzzzzzzzzzzzzzzazzzzzzzzzzazzzzzzzzzzzzzzz <br>
<br>
A fading light that can't make up it's mind whether to stay on or
stay off<br>
:aabbccmzzzmbbaaaaaabbmzzzzmbbzzmbbbaaa <br>
<br>
------------------------------------ <br>
<strong>Intensity Strings made by OnTheBounce</strong>: <br>
<br>
Slight twinkling: <br>
fjdekdnfjvudjfnfdjeufhdjsdjkrhvcudhdhej <br>
<br>
1/4 power drone, then a sudden &flicker of life,& then
back to 1/4 power drone: <br>
tttttttttttttttttzmz</p>
</body>
Last edited by Jimmyjay86 on Fri Jul 16, 2004 4:13 pm, edited 1 time in total.
- requiem_for_a_starfury
- Hero of the Wastes
- Posts: 1820
- Joined: Tue Oct 29, 2002 11:13 am
Re: FoT Tutorials Links
This link does not workOnTheBounce wrote:Hear ye, hear ye!
The FoT Tutorials Section is up and running.
I encourage people to read these tutorials before posting yet another queston that has been asked and answered countless times in the past. Yes, this means you.
Cheers to JJ86 to passing this along.
Happy Editing, Love, Hugs and Kisses,
OTB
Re: FoT Tutorials Links
it would work if you just followed the advice in my previous post.Tony_Hawk wrote:This link does not workOnTheBounce wrote:Hear ye, hear ye!
The FoT Tutorials Section is up and running.
I encourage people to read these tutorials before posting yet another queston that has been asked and answered countless times in the past. Yes, this means you.
Cheers to JJ86 to passing this along.
Happy Editing, Love, Hugs and Kisses,
OTB
good i dont understand everything you are writting. But that link ( http://www.thevats.net/tactics/editor/tutorials.shtml ) realy does not work
- requiem_for_a_starfury
- Hero of the Wastes
- Posts: 1820
- Joined: Tue Oct 29, 2002 11:13 am
Mismatch piss off and soil up a different forum.
Tony Hawk welcome, JJ is looking for a site to host his tutorials at, and as for the other link DaC has gone through some changes of late and not all of the links have been updated. The tutorials are here http://www.duckandcover.cx/tactics/editor/tutorials.php or you can read through the posts in the forum and if you have any specific questions post a new thread and I'm sure someone will try and help you.
Tony Hawk welcome, JJ is looking for a site to host his tutorials at, and as for the other link DaC has gone through some changes of late and not all of the links have been updated. The tutorials are here http://www.duckandcover.cx/tactics/editor/tutorials.php or you can read through the posts in the forum and if you have any specific questions post a new thread and I'm sure someone will try and help you.
If you can bear to hear the truth you've spoken
Twisted by knaves to make a trap for fools,
Twisted by knaves to make a trap for fools,
- Jimmyjay86
- Hero of the Glowing Lands
- Posts: 2102
- Joined: Thu Apr 18, 2002 4:02 am
- Location: Wisconsin
- Contact:
Hey, just a quick note to say I am over here now! The site should be fully functional by the weekend but the tutorials are all there including many new ones. There are also some forums at the Radiated Society that I am working out of now.
-
- Respected
- Posts: 88
- Joined: Sun Jan 04, 2004 1:54 am
- Location: Sydney, Australia
-
- Vault Hero
- Posts: 1017
- Joined: Thu Apr 18, 2002 5:30 pm
- Location: Stone of Light Land
- Contact:
- requiem_for_a_starfury
- Hero of the Wastes
- Posts: 1820
- Joined: Tue Oct 29, 2002 11:13 am
Ay! Nice one, JJ. Appreciate your efforts, geez.Jimmyjay86 wrote:Hey, just a quick note to say I am over here now! The site should be fully functional by the weekend but the tutorials are all there including many new ones. There are also some forums at the Radiated Society that I am working out of now.