My tcl-created .cam is crashing

F4Browse, CATE, Tacedit, Terrainview & TheaterMaker etc utility related

Moderators: Lone Wolf, Snake Man

Post Reply
toonces
Brig. General
Posts: 484
Joined: 2008-07-20 19:43:12

My tcl-created .cam is crashing

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: 9338
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
Contact:

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.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

User avatar
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

Re:

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

Re: My tcl-created .cam is crashing

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: 9338
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
Contact:

Re: My tcl-created .cam is crashing

Post by Snake Man » 2008-10-27 18:26:41

That's the beauty of TCL, you never loose anything in your campaign.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests