F4Browse, CATE, Tacedit, Terrainview & TheaterMaker etc utility related
Moderators: Lone Wolf, Snake Man
-
Malc
- Lt Colonel
- Posts: 294
- Joined: 2000-12-24 23:01:01
- Location: England
Post
by Malc » 2007-01-28 11:29:58
Can anyone remember CATE configs...? I can't see what I'm doing wrong with this one -
Code: Select all
[Rules]
Color=-1,-1,-1
ForceFog=* * *
TileRule=0 13 (1-23,32-46,240-254,416-423,514-523,528-535,672-679,704-711,720-733,912-919,1136-1150,1168-1191) (*) * * * F3
TileRule=0 13 (,1280-1287,1312-1319,1328-1334,1424-1443,1456-1459,1824-1831,2384-2397,2288-2311,2369-2382) (*) * * * F3
[EndRules]
I want to change the altitude of any tile in the lists between 0 and 13 feet, and make it 3 feet.
TIA!
-
Snake Man
- Commander-In-Chief
- Posts: 9373
- 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 » 2007-01-28 12:24:18
At least I can't remember config values correctly, I have tons of configs laying around from all the theaters but haven't made any editing to them yet. Sorry.
-
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 » 2007-01-28 17:51:31
Malc,
Your rule looks correct based on my limited knowledge and use of CATE. What are the symptoms of it not working? Any errors reported? ...
Sherlock
Victurous te Saluto
-
Malc
- Lt Colonel
- Posts: 294
- Joined: 2000-12-24 23:01:01
- Location: England
Post
by Malc » 2007-01-29 07:57:03
Its giving me an "Error #9, subscript out of range"...
-
Snake Man
- Commander-In-Chief
- Posts: 9373
- 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 » 2007-01-29 08:08:21
I get the same error on some of my road-river TDF files.
-
Skyfire76
- Major
- Posts: 244
- Joined: 2002-02-24 23:01:01
- Location: Toulouse, France
Post
by Skyfire76 » 2007-01-29 12:17:48
Gah, finding bugs 4 years later, and you expect me to know why it crashes ??
Sorry, can't say : in the second Tile Rule, is it normal to start with "(,1280", i.e. nothing before the "," ?
Regards.
-
Malc
- Lt Colonel
- Posts: 294
- Joined: 2000-12-24 23:01:01
- Location: England
Post
by Malc » 2007-01-29 13:21:54
Skyfire76 wrote:Gah, finding bugs 4 years later, and you expect me to know why it crashes ??
Sorry, can't say : in the second Tile Rule, is it normal to start with "(,1280", i.e. nothing before the "," ?
Regards.
Fabrice!
How are you Sir!? Good to see you around!
I noticed that also, its not there in the proper file
4 years later...? Don't know...!? What kind of tech support is that, I ask!?!
-
Skyfire76
- Major
- Posts: 244
- Joined: 2002-02-24 23:01:01
- Location: Toulouse, France
Post
by Skyfire76 » 2007-01-29 14:49:50
Without any F4 installed, and maybe without the CATE sources (not sure, I think I lost them at one point but downloaded them back
), it will be hard for me to debug ...
OTOH, I think a very similar bug had been corrected. Are you sure you're running the latest version ? With the correct VB support (DLL) files installed ?
Regards.
-
Malc
- Lt Colonel
- Posts: 294
- Joined: 2000-12-24 23:01:01
- Location: England
Post
by Malc » 2007-01-29 17:31:48
Okay - sorted it!
Believe it or not, the problem lay in the [Rules] header. I changed it to [Rules: Fix Coasts] and job's a good 'un!
I have to confess though... I wouldn't have sussed it with the source...
-
T_Rex
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Post
by T_Rex » 2007-01-29 18:36:32
Hey Malc - did you get a PM from me at FW?
Sic Semper tyrannosauro.
-
Malc
- Lt Colonel
- Posts: 294
- Joined: 2000-12-24 23:01:01
- Location: England
Post
by Malc » 2007-01-29 20:06:13
Hi Tom, yes I did - thanks VERY much!
Line 360 of the CATE source says...
Code: Select all
If UCase$(Left$(tmp, 7)) = "[RULES:" Then 'Rules section
which told me I needed a colon after the RULES and without it I was going nowhere... ever...
I dunno what's better - the fact I got it to work, or I was able to work out what I had to do from examining the source.
-
lamurt
- Recruit
- Posts: 46
- Joined: 2002-04-11 22:01:01
- Location: izmir, Turkey
Post
by lamurt » 2007-04-09 07:28:35
i am getting the same error 9 (at least i suppose it's the same one, because the error message is in French) with the .conf files 2 to 7. only 1st one works ok.
any ideas?
tia.
-murad
-
lamurt
- Recruit
- Posts: 46
- Joined: 2002-04-11 22:01:01
- Location: izmir, Turkey
Post
by lamurt » 2007-04-09 07:41:16
aah, disregard...
viewtopic.php?t=20831
4bytes are no-go!
with so many edited files around....
-murad
Who is online
Users browsing this forum: No registered users and 0 guests