Problem: LSA strat map road connections and arrows
Select messages from
# through # Forum FAQ
[/[Print]\]

Close Combat Series -> Modding Workshop

#1: Problem: LSA strat map road connections and arrows Author: Gunsche PostPosted: Sun Dec 22, 2013 7:55 am
    —
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.

#2: Re: Problem: LSA strat map road connections and arrows Author: Drizzt PostPosted: Sun Dec 22, 2013 10:51 am
    —
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

#3: Re: Problem: LSA strat map road connections and arrows Author: Gunsche PostPosted: Sun Dec 22, 2013 11:51 am
    —
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  Laughing



Close Combat Series -> Modding Workshop


output generated using printer-friendly topic mod. All times are GMT

Page 1 of 1