Posted: Sun Dec 22, 2013 7:55 am Post subject: Problem: LSA strat map road connections and arrows
Been working on the modified stratmap for the LSA mod "It Never Snows In September" and I have encountered a problem with the strat arrows, I had to remove some of the old road connections and since you can't type which connection to use what arrow (the program assigns arrow graphics in numerical order) almost all connections now gets the wrong graphic.
Example:
Road connections Arrow Graphics
0 00
1 01
2 02
3 03
4 04
Let's say I remove road 2, then road 3 becomes the new 2 but it takes road 2 arrow graphic while road 4 moves up and takes road 3 arrow graphic.
I fixed this and in Mafi's BTD editor everything looks fine, but in-game most arrows display improperly (arrows are starts/ends at the wrong place or are displayed on another map tile) and a lot of others have disapeared.
What the hell have I done wrong?
I am in the process of redoing all the road connections, but I still get some of the errors despite every thing looking fine in BTD editor.
Posted: Sun Dec 22, 2013 10:51 am Post subject: Re: Problem: LSA strat map road connections and arrows
I have done this kind of work manually for TLD: if you delete a connection in stratmap.txt file you must also delete/discard the equivalent graphic tga arrow in screen.gdg and numerically rename all the tga arrows after the arrow you have deleted/discarded (example: if you delete tga arrow 2, tga arrow 3 must be renamed as arrow 2, arrow 4 as arrow 3 etc. etc.).
If you have to delete/discard many of these arrows, I suggest to you to do it one arrow at a time (yes, it's boring to numerically rename many arrows every time for every single arrow eliminated, but in this way you are totally sure to not do something of wrong).
Last thing: remember that every arrow have two tga file to numerically rename.
Drizzt
Edit, another thing: to understand which arrow connection is equivalent to graphic arrow, in stratmap.txt you must count beginning from number 0: fist connetion (0) it's tga arrow 0, second connection (1) it's tga arrow 1 etc. etc.
Last edited by Drizzt on Sun Dec 22, 2013 10:51 pm; edited 1 time in total
Posted: Sun Dec 22, 2013 11:51 am Post subject: Re: Problem: LSA strat map road connections and arrows
Quote:
Last thing: remember that every arrow have two tga file to numerically rename.
Drizzt
Edit, another thing: to understand which arrow connection is equivalent to graphic arrow, in campaign.txt you must count beginning from number 0: fist connetion (0) it's tga arrow 0, second connection (1) it's tga arrow 1 etc. etc.
Yeah, it seems that I may have renamed a couple of them incorrectly.
It also seems that every road connection has a ID number (that I can't for life find anywhere)
and removing any connection after number 0 breaks the numerical order (example 0.1.2. .4.5). This is just me guessing, both it seems logical. Redoing all road connections from scratch in numerical order seems to work now. Still got some "backwards" arrows, but thats just me being tired last night while renaming the arrows
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
In August of 2004, Zappi, Homba, Bambam887, RedScorpion and MOOXE all pitched
in to create this Close Combat site. I would to thank all the people who have visited
and found this site to thier liking. I hope you had time to check out some
of the great Close Combat mods and our forums. I'd also like to thank
all the members of our volunteer staff that have helped over
the years, and all our users that contributed to this site!