F4Browse, CATE, Tacedit, Terrainview & TheaterMaker etc utility related
Moderators: Lone Wolf, Snake Man
-
toonces
- Brig. General
- Posts: 484
- Joined: 2008-07-20 19:43:12
Post
by toonces » 2008-10-26 05:11:28
Hi all.
I used a tcl script to insert my aircraft into a .cam file. However, the game crashes upon clicking the last 'ok' before the campaign starts. The tcl script successfully adds all of the desired squadrons to the .cam file, I tried rebuilding squadrons, and manually adding the squadrons crashes the same campaign file.
Here is the exact text of the tcl script. The .cam file I am editing is the Nevada3/save2.cam file. BEFORE RUNNING THE SCRIPT I manually edited all of the squadrons out of the .cam file using TacEdit. This may be the reason the file is crashing...
The tcl file is the 'create.nevada.red.2' file.
Code: Select all
#
# NEVADA THEATER SAVE 2 Red on Red
#
#
# start by running the airdefenses in
#
# source "G:\\F4_Theaters\\Tools\\Tacedit\\create.PMC.Airdefenses.tcl"
# load in some routines
source "G:\\downloads\\Falcon 4 downloads\\Nevada_TCL_scripts\\create.Squadron.tcl"
#
# SQUADRON VARIABLES
#
#############################################################################################
#SOMALI SQUADRONS
#############################################################################################
# start of names
set squadname 1
printout "Running REDFOR airforces..."
MakeSquads [list "Nellis AFB" 1050 {
2 FIGHTER_MIG21MFPFM
1 FIGHTER_MIG17PFU
}]
MakeSquads [list "OVERTON MUNI" 1047 {
1 FIGHTER_MIG21F
2 ATTACK_MI8
2 ATTACK_IL28
}]
MakeSquads [list "DESERT ROCK" 1045 {
2 FIGHTER_MIG21F
2 FIGHTER_MIG17PFU
1 ATTACK_MI8
}]
############################################################################################
# ETHIOPIA SQUADRONS
############################################################################################
set squadname 1
printout "Running OPFOR airforces..."
MakeSquads [list "CHINA LAKE" 325 {
2 FIGHTER_F5E
2 FIGHTER_F5A
}]
MakeSquads [list "GEORGE AFB" 360 {
2 FIGHTER_MIG21MBIS
}]
MakeSquads [list "MOJAVE" 346 {
1 FIGHTER_F5E
1 FIGHTER_MIG21MBIS
}]
MakeSquads [list "TRONA AIRBASE" 1016 {
2 ATTACK_GAZELLE
}]
#printout "ground forces..."
#source "create.Nevada.0.Ground.tcl"
-
Snake Man
- Commander-In-Chief
- Posts: 9361
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Post
by Snake Man » 2008-10-26 06:31:08
When posting a code, please use the Code tags, I have now edited your post so its included, you can use edit button to see how I added the tags. Its same as quote really.
Anyways as for the campaign crashing, I noticed you placed helicopters in the airbases, this is wrong, helicopters can only be in Army Bases. Perhaps that's the why it crashes.
-
Sherlock
- Lt. General
- Posts: 1167
- Joined: 2006-05-24 22:01:01
- Gaming Interests: Falcon 4.0
- Editing Interests: All, I (try) to edit everything.
- Location: Arizona, USA
Post
by Sherlock » 2008-10-26 18:35:20
Snake Man wrote:When posting a code, please use the Code tags, I have now edited your post so its included, you can use edit button to see how I added the tags. Its same as quote really.
Anyways as for the campaign crashing, I noticed you placed helicopters in the airbases, this is wrong, helicopters can only be in Army Bases. Perhaps that's the why it crashes.
Helicopters can be added to airbases using TacEdit. I did it just a couple of nights ago by adding OH-58s to an airbase. I don't have any idea about tcl scripts and the cam file crashing, however.
Sherlock
Victurous te Saluto
-
toonces
- Brig. General
- Posts: 484
- Joined: 2008-07-20 19:43:12
Post
by toonces » 2008-10-27 17:40:43
Thanks for the feedback.
I must have corrupted by .cam file somehow. I used a similar tcl script, with different planes, for a different .cam file with no problems. I tried repairing the original .cam with TacEdit and it was still crashing.
I'll start from scratch.
-
Snake Man
- Commander-In-Chief
- Posts: 9361
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Post
by Snake Man » 2008-10-27 18:26:41
That's the beauty of TCL, you never loose anything in your campaign.
Who is online
Users browsing this forum: ClaudeBot [Bot] and 0 guests