RedShirt2 Crash!

OK, so I was looking at the forms the other day and I heard that when you finish the game you get a cool level editor (hence the name "DreamOfMods"). I got very excited and messed up my game.txt file. I was on Pattern Buffer before, but after I changed the file the game had reset and now I'm on Garden! So, before I was playing Pattern Buffer and Receiver, but now Garden. Here is my messed up game.txt, I wanted to enable all the levels that were null:

Locations_StartDefinition

Id Avail mapFile missionFile

==================================================================

1 0 map_sandbox.txt mission_sandbox_enable.txt
2 1 map_garden.txt mission_garden_liberate.txt
3 0 map_containment.txt mission_containment_enable.txt
4 0 map_generator.txt mission_generator_enable.txt
5 0 map_mine.txt mission_mine_enable.txt
6 0 map_yard.txt mission_yard_enable.txt
7 0 map_escort.txt mission_escort_escort.txt
8 0 map_pattern_buffer.txt mission_patern_buffer_enable.txt
9 0 map_biosphere.txt mission_receiver_enable.txt
10 0 map_receiver.txt mission_receiver_enable.txt
11 0 map_temple.txt mission_temple_enable.txt
Locations_EndDefinition

Buildings_StartDefinition

Id teamId locId type link online

=======================================

36 2 8 0 0 1
21 2 8 0 0 1
0 2 1 5 -1 0
2 1 2 3 -1 0
3 1 2 3 -1 0
8 255 2 11 3 0
9 1 2 5 -1 0
10 2 2 5 -1 0
11 1 2 5 -1 0
12 1 2 5 -1 0
0 255 3 11 2 0
2 255 3 11 6 0
3 255 3 11 4 0
4 255 3 11 5 0
57 1 3 3 -1 0
58 1 3 3 -1 0
59 1 3 3 -1 0
60 1 3 3 -1 0
61 1 3 3 -1 0
62 1 3 3 -1 0
63 1 3 5 -1 0
64 1 3 5 -1 0
79 1 3 5 -1 0
80 1 3 5 -1 0
85 0 3 31 -1 0
86 1 3 5 -1 0
87 1 3 5 -1 0
88 1 3 5 -1 0
89 1 3 5 -1 0
90 1 3 5 -1 0
91 1 3 5 -1 0
92 1 3 5 -1 0
93 1 3 5 -1 0
94 1 3 5 -1 0
82 1 3 29 -1 0
83 1 3 29 -1 0
84 1 3 29 -1 0
0 0 4 14 -1 0
23 255 4 11 6 0
49 0 4 11 3 0
57 1 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
11 2 7 3 -1 0
12 2 7 5 -1 0
13 1 7 5 -1 0
21 255 7 11 4 0
22 1 7 5 -1 0
14 2 7 29 -1 0
15 2 7 29 -1 0
1 1 8 43 -1 0
2 2 8 11 6 0
5 1 8 3 -1 0
17 1 8 5 -1 0
18 1 8 5 -1 0
9 1 8 5 -1 0
11 1 8 3 -1 0
20 1 8 5 -1 0
22 1 8 5 -1 0
37 1 8 5 -1 0
50 1 8 5 -1 0
51 1 8 5 -1 0
56 1 8 5 -1 0
57 1 8 5 -1 0
13 1 8 29 -1 0
49 1 8 29 -1 0
52 1 8 29 -1 0
55 1 8 29 -1 0
58 1 8 29 -1 0
1 255 9 11 8 0
2 255 9 11 10 0
0 1 9 5 -1 0
3 1 9 5 -1 0
4 1 9 5 -1 0
5 1 9 3 -1 0
7 1 9 3 -1 0
8 1 9 3 -1 0
10 1 9 3 -1 0
11 1 9 3 -1 0
15 1 9 5 -1 0
16 1 9 5 -1 0
19 1 9 5 -1 0
20 1 9 5 -1 0
90 1 9 39 -1 0
80 1 9 3 -1 0
81 1 9 3 -1 0
87 1 9 3 -1 0
89 1 9 5 -1 0
91 1 9 5 -1 0
93 1 9 5 -1 0
94 1 9 5 -1 0
95 1 9 5 -1 0
96 1 9 5 -1 0
97 1 9 5 -1 0
108 1 9 3 -1 0
109 1 9 3 -1 0
110 1 9 3 -1 0
111 1 9 3 -1 0
112 1 9 3 -1 0
113 1 9 5 -1 0
117 1 9 11 11 0
118 1 9 5 -1 0
119 1 9 11 6 0
120 1 9 5 -1 0
143 255 10 11 6 0
144 255 10 11 8 0
145 255 10 11 9 0
1 2 10 36 -1 0
125 1 10 5 -1 0
126 1 10 3 -1 0
127 1 10 3 -1 0
128 1 10 3 -1 0
129 1 10 3 -1 0
130 1 10 3 -1 0
131 1 10 3 -1 0
132 1 10 5 -1 0
133 1 10 5 -1 0
134 1 10 5 -1 0
135 1 10 5 -1 0
136 1 10 5 -1 0
137 1 10 5 -1 0
139 1 10 5 -1 0
140 1 10 5 -1 0
155 1 10 5 -1 0
158 1 10 5 -1 0
138 1 10 29 -1 0
157 1 10 29 -1 0
0 1 11 11 9 0
4 1 11 3 -1 0
5 1 11 3 -1 0
6 1 11 3 -1 0
7 1 11 3 -1 0
8 1 11 5 -1 0
9 1 11 5 -1 0
10 1 11 5 -1 0
11 1 11 5 -1 0
13 1 11 5 -1 0
14 1 11 3 -1 0
21 1 11 3 -1 0
22 1 11 5 -1 0
30 1 11 5 -1 0
31 1 11 5 -1 0
59 1 11 5 -1 0
80 1 11 3 -1 0
82 1 11 5 -1 0
84 1 11 5 -1 0
78 1 11 29 -1 0
79 1 11 29 -1 0
83 1 11 29 -1 0
81 1 11 47 -1 0
76 1 11 47 -1 0
77 1 11 47 -1 0
Buildings_EndDefinition

Research_StartDefinition
Research Darwinian 0 2
Research Officer 0 0
Research Squad 0 1
Research Laser 0 1
Research Grenade 0 0
Research Rocket 0 0
Research Controller 0 0
Research AirStrike 0 0
Research Armour 0 0
Research TaskManager 0 2
Research Engineer 0 1
CurrentResearch Squad
CurrentPoints 0
Research_EndDefinition

Events_StartDefinition
Event BuildingOnline :garden,8 ResearchOwned :Grenade
Action RunScript music1.txt
End
Event NotInLocation BuildingOnline :garden,8 ResearchOwned :Grenade
Action SetMission containment mission_containment_enable.txt
Action RunScript gardenfinished
End
Event ResearchOwned :Officer
Action RunScript containment_officer.txt
End
Event BuildingOnline :containment,85
Action RunScript containment_finished
End
Event BuildingOnline :containment,85 BuildingOnline :containment,2 BuildingOnline :containment,3 BuildingOnline :containment,4
Action RunScript music2.txt
End
Event BuildingOnline :containment,85 BuildingOnline :containment,2 BuildingOnline :containment,3 BuildingOnline :containment,4 NotInLocation
Action SetMission mine mission_mine_enable.txt
Action SetMission generator mission_generator_enable.txt
Action RunScript containment_end.txt
End
Event BuildingOnline :generator,0 BuildingOnline :mine,90 BuildingOnline :mine,89
Action RunScript music3.txt
End
Event NotInLocation BuildingOnline :generator,0 BuildingOnline :mine,90 BuildingOnline :mine,89
Action SetMission yard mission_yard_enable.txt
Action RunScript yard_available
End
Event BuildingOnline :yard,5
Action RunScript yard_progress
End
Event BuildingOnline :yard,4
Action RunScript yard_progressarmour
End
Event BuildingOnline :yard,4 BuildingOnline :yard,3 BuildingOnline :yard,1 BuildingOnline :yard,110 BuildingOnline :yard,101
Action RunScript yard_armour.txt
End
Event NotInLocation BuildingOnline :yard,4 BuildingOnline :yard,3 BuildingOnline :yard,1 BuildingOnline :yard,110 BuildingOnline :yard,101
Action SetMission receiver mission_receiver_recapture.txt
Action SetMission pattern_buffer mission_pattern_buffer_recapture.txt
Action RunScript yard_end.txt
End
Event BuildingOnline :pattern_buffer,1 BuildingOnline :receiver,1
Action RunScript music5.txt
End
Event NotInLocation BuildingOnline :pattern_buffer,1 BuildingOnline :receiver,1
Action SetMission biosphere mission_biosphere_recapture.txt
Action RunScript prebiosphere
End
Event BuildingOnline :biosphere,90
Action RunScript biosphere_reddead
End
Event NotInLocation BuildingOnline :biosphere,90 BuildingOnline :biosphere,117
Action SetMission temple mission_temple_cutscene.txt
Action RunScript biosphere_end
End
Event BuildingOnline :temple,76 BuildingOnline :temple,77 BuildingOnline :temple,81
Action RunScript gameover
End
Event NotInLocation BuildingOnline :temple,76 BuildingOnline :temple,77 BuildingOnline :temple,81
Action RunScript gameover.txt
End
Events_EndDefinition

Also, I have the files: mission_containment_enable.txt, mission_escort_escort.txt, mission_garden_liberate.txt, mission_generator_enable.txt, mission_mine_enable.txt, mission_pattern_buffer_recapture.txt, mission_receiver_recapture.txt, and mission_yard_enable.txt I haven't touched those. Is there any way to restore my progress?

I really shouldn't have done that! :mad: If there isn't a way to restore my game, I guess I deserve it. :unsure:

This post has been edited by DreamOfMods : 26 April 2008 - 06:56 PM

Don't re-encode anything. Also, there's a special profile called AccessAllAreas which will let you get to anywhere, including Temple so you can finish.

Also, in your preferences file, there's a line EnableModSystem = 0. Change that to 1. If it's not there, just put it in.

When ever you change anything in a game, almost everybody mentions that you should back up your data files, etc. This point is moot because of your current situation. Just take this warning into consideration.

On the subject of helping you return your game to it's original state, I believe prophile stated the answer.

Thank you so much! 😄
I am now making my own mod and having lots of fun. I have another question, I've heard that you can create your own buildings and such. How can I do this?
Again, thanks. 🆒

@dreamofmods, on May 7 2008, 10:49 PM, said in RedShirt2 Crash!:

Thank you so much! 😄
I am now making my own mod and having lots of fun. I have another question, I've heard that you can create your own buildings and such. How can I do this?
Again, thanks. 🆒

Your best bet may be to check the Introversion forums. Pay special attention to the stickied posts at the top. You might also try reading the guides.

xander

Log in to reply