Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Help!!!!!!!????????? (Read 837 times)
Oct 17th, 2003 at 3:05pm

Dan   Offline
Colonel
Meet Bogart! Thanks CRAIG!
Carmarthenshire, Wales, Uk!

Gender: male
Posts: 2053
*****
 
Hi all, i urgently need help with an error with CFSme V0.97. I make my mission, and no matter what unit i have selected, it still says this in the Error log:

[Mission file error]
error=Invalid unit family 0 specified for unit type 3001
title=Nuclear Experimentation
filename=MISSIONS\Nuke

Theres only 1 unit (player) in the mission, & its all for CFS1. HELP please.
Dan  Cheesy   Wink   ???   Sad
Wales, UK
 
IP Logged
 
Reply #1 - Oct 21st, 2003 at 9:54am

nickgarvey   Offline
Lieutenant Colonel
I love YaBB 1G - SP1!

Posts: 9
*****
 
I might be able to help if I could see the mission file itself.  I've been developing some CFS1 mission stuff myself & might be able to help you figure this out.

email the *.mis file to me at:
nickgarey@netzero.net

Don
 
IP Logged
 
Reply #2 - Oct 21st, 2003 at 9:55am

nickgarvey   Offline
Lieutenant Colonel
I love YaBB 1G - SP1!

Posts: 9
*****
 
I might be able to help if I could see the mission file itself.  I've been developing some CFS1 mission stuff myself & might be able to help you figure this out.

email the *.mis file to me at:
nickgarvey@netzero.net

Don
 
IP Logged
 
Reply #3 - Oct 22nd, 2003 at 1:30pm

Dan   Offline
Colonel
Meet Bogart! Thanks CRAIG!
Carmarthenshire, Wales, Uk!

Gender: male
Posts: 2053
*****
 
Sorry Don, as a family machine, I don't have acsess to
e-mail  Sad . Other than that, is there any other things i could post here? I dont expect this will help, but here we go:

Quote:
[mission]
title=Nuclear Experimentation
version=1.0
allegiance=3
required_success=100
cloud=2
visibility=1
wind=0
map=Map1BoB
map_1=N52 28
map_left=W1 38
map_bottom=N49 56
map_right=E2 29
player_aircraft=3001
allowed_aircraft=3001
airfield=Boxted
date=17/10/2003
time=12.00
type=Jet
summary=none
objective=bang

[unit_type.0]
type_id=3001
name=Fw190a
gun_ammo=950
cannon_ammo=780
rocket_load=0
bomb_load=0
unit_family=
allegiance=2
addons=0000000000000000000000000000000

[unit.0]
id=
type_id=
name=
speed=
skill=
is_player_aircraft=0
level=
points=
damage=

[waypoint_path.0]
id=5000
waypointname.0=ETA 0:00
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=
waypointname.6=
waypoint.6=
waypointtip.6=

[runway.0]
id=9011
heading=216
units_across=2
base_lat=N51 56.78
base_lon=E0 53.85
base_alt=62
takeoff_start_pos=-600,0
takeoff_stop_pos=1600,200
landing_start_pos=5000,350
landing_touchdown_pos=600,0
landing_stop_pos=-250,0

[formation.0]
name=1
id=6000
type=air
players_formation=1
waypoint_path_id=5000
directive=4
takeoff_runway_id=9011
landing_runway_id=9011
takeoff_land_flag=3
unit_id_position.0=1000,0,0.0,0.0,0.0

[waypoint_path.1]
id=5001
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.2]
id=5002
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.3]
id=5003
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.4]
id=5004
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.5]
id=5005
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.6]
id=5006
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.7]
id=5007
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.8]
id=5008
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.9]
id=5009
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.10]
id=5010
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[waypoint_path.11]
id=5011
waypoint.0=1,1,N51 56.733,E0 53.836,10000,,,,483,,0
waypointname.0=ETA 0:00
waypointtip.0=Head 57 for 9 miles, 472:51
waypoint.1=1,1,N52 1.593,E1 4.624,1,,,,2,,0
waypointname.1=ETA 472:51
waypointtip.1=Head 55 for 12 miles, 1:18
waypoint.2=1,1,N52 7.887,E1 17.734,1500,,,,900,,0
waypointname.2=ETA 474:09
waypointtip.2=Head 55 for 14 miles, 1:32
waypoint.3=1,1,N52 15.342,E1 33.163,2000,,,,900,,0
waypointname.3=ETA 475:41
waypointtip.3=Head 46 for 1 miles, 0:08
waypoint.4=1,1,N52 16.170,E1 34.439,2000,,,,900,,0
waypointname.4=ETA 475:50
waypointtip.4=Head 229 for 37 miles, 4:02
waypoint.5=1,1,N51 57.230,E0 53.024,2000,,,,900,,0
waypointname.5=ETA 479:53
waypointtip.5=

[unit.1]
id=1000
type_id=3001
name=Fw190a
is_player_aircraft=1
position_lat=N51 56.78
position_lon=E0 53.85
position_alt=0
position_pbh=0,0,0
speed=00
skill=4
level=0
points=1
damage=0

[unit.2]
id=
type_id=
name=
is_player_aircraft=0

[runway.1]
id=9041
heading=51
units_across=2
base_lat=N52 15.80
base_lon=E1 33.90
base_alt=22
takeoff_start_pos=-600,0
takeoff_stop_pos=1600,200
landing_start_pos=5000,350
landing_touchdown_pos=600,0
landing_stop_pos=-250,0

[unit_type.1]
type_id=
name=
gun_ammo=
cannon_ammo=
rocket_load=
bomb_load=
unit_family=
allegiance=
addons=0000000000000000000000000000000


Thats the whole file in notepad form.

Dan Garner
Wales, Uk
 
IP Logged
 
Reply #4 - Oct 23rd, 2003 at 5:52am

mikencfs   Offline
Colonel
I love YaBB 1G - SP1!
Jacksonville, Florida

Gender: male
Posts: 84
*****
 
Hi Dan,

Here are a few items that have to be fixed.

[unit_type.0]
type_id=3001
name=Fw190a
gun_ammo=950
cannon_ammo=780
rocket_load=0
bomb_load=0
unit_family=
allegiance=2
addons=0000000000000000000000000000000

This is the item referred to by the error log.
Make it read; unit_family=1

Next, if you list units with no information such as

[unit.0]
id=
type_id=
name=
speed=
skill=
is_player_aircraft=0
level=
points=
damage=

and

[unit.2]
id=
type_id=
name=
is_player_aircraft=0

it will give you another error message.

It's going to look through the units in order and since you only have the player aircraft in the mission it should be [unit.0];

[unit.0]
id=1000
type_id=3001
name=Fw190a
is_player_aircraft=1
position_lat=N51 56.78
position_lon=E0 53.85
position_alt=0
position_pbh=0,0,0
speed=00
skill=4
level=0
points=1
damage=0

Don't assign a unit number until you have an item to put in.
I think the same thing goes for unit types.
So take this out until you have something to add;

[unit_type.1]
type_id=
name=
gun_ammo=
cannon_ammo=
rocket_load=
bomb_load=
unit_family=
allegiance=
addons=0000000000000000000000000000000

If a number is assigned without information another error message will be generated.

Give this a try.
Works for me.

Mike
 
IP Logged
 
Reply #5 - Oct 25th, 2003 at 1:46pm

Dan   Offline
Colonel
Meet Bogart! Thanks CRAIG!
Carmarthenshire, Wales, Uk!

Gender: male
Posts: 2053
*****
 
WOW!!  Cheesy It worked! I really can't thank you enough Mike, honest!!! THANKS!
Dan Garner
Wales, Uk
 
IP Logged
 
Reply #6 - Oct 25th, 2003 at 2:23pm

rocman99   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 13
*****
 
I had the same issue once I opened the .mis file in notepad and changed the family from no entry to 1
all was fine. Double checked the Cfsme.ini entry and the aircraft family is designated properly curious as to why
when you select the unit type the entry in the .mis file
comes up with family=(no entry) Just wish I could solve
the next issue. 8)
 
IP Logged
 
Reply #7 - Oct 26th, 2003 at 4:18am

mikencfs   Offline
Colonel
I love YaBB 1G - SP1!
Jacksonville, Florida

Gender: male
Posts: 84
*****
 
Glad to be able to help, Dan.
Keep us posted on the mission progress.

Mike
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print