-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_mod.cmds
219 lines (179 loc) · 7.27 KB
/
build_mod.cmds
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
"C:\Users\zekken\Desktop\ElDewrito 0.7 Official\maps\tags.dat"
# echo ==Set Variables...==
SetVariable workingdir "C:\Users\zekken\Desktop\The-Battlefront-Pack-ED"
SetVariable modsfolder "C:\Users\zekken\Desktop\ElDewrito 0.7 Official\mods"
# echo ==Set Caches...==
UseAudioCache workingdir\caches\audiocache
UseShaderCache workingdir\caches\shadercache
# echo ==Creating Mod Package...==
CreateModPackage 1 large
The Battlefront Pack
The Battlefront Pack including Coruscant, Geonosis, Hoth, Death Star, Kashyyyk, Mos Eisley, Mustafar, Scarif, and Utapau. Credit goes to the original mod creators Abyssquick and Stevieroth. Special thanks to Newbie, MtnDewIt, Dirkkane, Minelelol, Furstaku, and TwistedFlog for help porting to ElDewrito.
Zekken & Abyssquick
1.2
MainMenu Multiplayer Character
AddModFiles "workingdir\maps\ui"
mapfile add bunkerworld.map
mapfile add chill.map
mapfile add cyberdyne.map
mapfile add deadlock.map
mapfile add guardian.map
mapfile add riverworld.map
mapfile add s3d_avalanche.map
mapfile add s3d_edge.map
mapfile add s3d_reactor.map
mapfile add s3d_turf.map
mapfile add shrine.map
mapfile add zanzibar.map
RunCommands workingdir\preportcommands.cmds
OpenCacheFile "workingdir\maps\coruscant.map"
PortTag !UpdateMapFiles *.scnr
PortTag merge ui\hud\hud_messages.multilingual_unicode_string_list
NameTag 0.scenario_lightmap_bsp_data 0_coruscant
NameTag fake_lightmap.scenario_lightmap fake_lightmap_coruscant
SaveTagNames
Exit
OpenCacheFile "workingdir\maps\geonosis.map"
PortTag !UpdateMapFiles *.scnr
PortTag merge ui\hud\hud_messages.multilingual_unicode_string_list
NameTag 0.scenario_lightmap_bsp_data 0_geonosis
NameTag fake_lightmap.scenario_lightmap fake_lightmap_geonosis
SaveTagNames
Exit
OpenCacheFile "workingdir\maps\hoth_old.map"
PortTag levels\multi\hoth\sky\sky_hoth.scenery
Exit
OpenCacheFile "workingdir\maps\hoth.map"
NameTag object\scenery\command_post\command_post.device_machine object\scenery\command_post_rebels\command_post_rebels
PortTag !UpdateMapFiles *.scnr
PortTag merge ui\hud\hud_messages.multilingual_unicode_string_list
NameTag object\scenery\command_post_rebels\command_post_rebels.device_machine object\scenery\command_post\command_post
SaveTagNames
Exit
OpenCacheFile "workingdir\maps\imp_deathstar.map"
NameTag object\scenery\command_post\command_post.device_machine object\scenery\command_post_rebels\command_post_rebels
PortTag !UpdateMapFiles *.scnr
PortTag merge ui\hud\hud_messages.multilingual_unicode_string_list
NameTag 0.scenario_lightmap_bsp_data 0_imp_deathstar
NameTag fake_lightmap.scenario_lightmap fake_lightmap_imp_deathstar
NameTag object\scenery\command_post_rebels\command_post_rebels.device_machine object\scenery\command_post\command_post
SaveTagNames
Exit
OpenCacheFile "workingdir\maps\kashyyyk.map"
PortTag !UpdateMapFiles *.scnr
PortTag merge ui\hud\hud_messages.multilingual_unicode_string_list
NameTag 0.scenario_lightmap_bsp_data 0_kashyyyk
NameTag fake_lightmap.scenario_lightmap fake_lightmap_kashyyyk
SaveTagNames
Exit
OpenCacheFile "workingdir\maps\mos_eisley.map"
NameTag object\scenery\command_post\command_post.device_machine object\scenery\command_post_rebels\command_post_rebels
PortTag !UpdateMapFiles *.scnr
PortTag merge ui\hud\hud_messages.multilingual_unicode_string_list
NameTag 0.scenario_lightmap_bsp_data 0_mos_eisley
NameTag fake_lightmap.scenario_lightmap fake_lightmap_mos_eisley
NameTag object\scenery\command_post_rebels\command_post_rebels.device_machine object\scenery\command_post\command_post
SaveTagNames
Exit
OpenCacheFile "workingdir\maps\mustafar.map"
PortTag !UpdateMapFiles *.scnr
PortTag merge ui\hud\hud_messages.multilingual_unicode_string_list
NameTag 0.scenario_lightmap_bsp_data 0_mustafar
NameTag fake_lightmap.scenario_lightmap fake_lightmap_mustafar
SaveTagNames
Exit
OpenCacheFile "workingdir\maps\scarif.map"
NameTag object\scenery\command_post\command_post.device_machine object\scenery\command_post_rebels\command_post_rebels
PortTag !UpdateMapFiles *.scnr
PortTag merge ui\hud\hud_messages.multilingual_unicode_string_list
NameTag 0.scenario_lightmap_bsp_data 0_scarif
NameTag fake_lightmap.scenario_lightmap fake_lightmap_scarif
NameTag object\scenery\command_post_rebels\command_post_rebels.device_machine object\scenery\command_post\command_post
SaveTagNames
Exit
OpenCacheFile "workingdir\maps\utapau.map"
PortTag !UpdateMapFiles *.scnr
PortTag merge ui\hud\hud_messages.multilingual_unicode_string_list
NameTag 0.scenario_lightmap_bsp_data 0_utapau
NameTag fake_lightmap.scenario_lightmap fake_lightmap_utapau
SaveTagNames
Exit
# echo ==Customization...==
OpenModPackage "workingdir\Battlefront Customization Secret Goku.pak"
ApplyModPackage
ExitModPackage
# echo ==Port Lightsabers...==
OpenCacheFile "workingdir\maps\lightsabers.map"
PortTag mythicjaqui\weapons\melee\lightsaber\lightsaber.weapon
PortTag mythicjaqui\weapons\melee\lightsaber\lightsaber_green.weapon
PortTag mythicjaqui\weapons\melee\lightsaber\lightsaber_purple.weapon
PortTag mythicjaqui\weapons\melee\lightsaber\lightsaber_red.weapon
Exit
RunCommands workingdir\commandpostimprovement.cmds
RunCommands workingdir\fixups.cmds
RunCommands workingdir\sprintfixups.cmds
RunCommands workingdir\weaponoffsets.cmds
RunCommands workingdir\odstweapons.cmds
RunCommands workingdir\better3panimations.cmds
RunCommands workingdir\machinefixes.cmds
RunCommands workingdir\weaponglobals.cmds
RunCommands workingdir\main_menu.cmds
RunCommands workingdir\sounds.cmds
RunCommands workingdir\lightsaberanims.cmds
RunCommands workingdir\fixvehicles.cmds
UpdateMapFiles
RunCommands workingdir\mapdescriptions.cmds
RunCommands workingdir\forgepallete.cmds
EditTag levels\multi\utapau\utapau.scenario
ImportMapVariant mapfile "workingdir\map_variants\Utapau\sandbox.map"
SaveTagChanges
Exit
EditTag levels\multi\kashyyyk\kashyyyk.scenario
ImportMapVariant mapfile "workingdir\map_variants\Kashyyyk\sandbox.map"
SaveTagChanges
Exit
EditTag levels\multi\mustafar\mustafar.scenario
ImportMapVariant mapfile "workingdir\map_variants\Mustafar\sandbox.map"
SaveTagChanges
Exit
EditTag levels\multi\hoth\hoth.scenario
ImportMapVariant mapfile "workingdir\map_variants\Hoth\sandbox.map"
SaveTagChanges
Exit
EditTag levels\multi\coruscant\coruscant.scenario
ImportMapVariant mapfile "workingdir\map_variants\Coruscant\sandbox.map"
SaveTagChanges
Exit
EditTag levels\multi\imp_deathstar\imp_deathstar.scenario
ImportMapVariant mapfile "workingdir\map_variants\Deathstar\sandbox.map"
SaveTagChanges
Exit
EditTag levels\multi\geonosis\geonosis.scenario
ImportMapVariant mapfile "workingdir\map_variants\Geonosis\sandbox.map"
SaveTagChanges
Exit
EditTag levels\multi\mos_eisley\mos_eisley.scenario
ImportMapVariant mapfile "workingdir\map_variants\Mos Eisley\sandbox.map"
SaveTagChanges
Exit
EditTag levels\multi\scarif\scarif.scenario
ImportMapVariant mapfile "workingdir\map_variants\Scarif\sandbox.map"
SaveTagChanges
Exit
OpenModPackage "workingdir\H5 Assault Rifle.pak"
ApplyModPackage
ExitModPackage
OpenModPackage "workingdir\at-at.pak"
ApplyModPackage
ExitModPackage
SaveModPackage "modsfolder\The Battlefront Pack.pak"
ExitModPackage
# IMPORT FORGE VARIANT
OpenModPackage "modsfolder\The Battlefront Pack.pak"
EditTag levels\ui\mainmenu\mainmenu.scenario
ImportMapVariant !verify "workingdir\map_variants\mainmenu\sandbox.map"
SaveTagChanges
Exit
SaveModPackage
ExitModPackage
DumpLog workingdir\logs