Page 1 of 1

stupid question on squad.csv and scenario editing

Posted: Tue Mar 12, 2024 2:09 am
by Enrico1969
I am trying to create a what if scenario for FoG Medieval, and I would like to use a custom designed Squad.CSV, where I created new units (machiavelli's republican army) I went thru all the tutorials and the scenario editing guide, but I seem to miss an important detail on how to have the editor see the .csv file. What else do I have to do besides placing it in the same scenario folder? Is there some script I have to run on the campaign file?

Thanks a lot for the help.

Re: stupid question on squad.csv and scenario editing

Posted: Tue Mar 12, 2024 7:50 am
by rbodleyscott
Two main possibilities:

1) You don't have #REPLACE in cell A1 of your .CSV


2) You may have put the file in the wrong place in the file tree of your mod.

See the file tree at the end of this page.

https://archonwiki.slitherine.com/index.php/Modding

It is not identical to the file tree in the main game.

The squads.csv file goes in the Main folder of the mod, not in the Scenarios sub-folder.

If you put it in the right place, it should work. If it doesn't, please post a screenshot of the where it is in the file tree of your mod.

Re: stupid question on squad.csv and scenario editing

Posted: Tue Mar 12, 2024 5:44 pm
by Enrico1969
Thank you, the squad file has the #Replace in A! and it seems to be in the right place in the tree, right under "my campaign" and not under "my scenario", same place as the campaign text file. Do you know if the system reads UTF 8 CSV files or should I used a MS DOS CSv file?

Thanks again

Re: stupid question on squad.csv and scenario editing

Posted: Wed Mar 13, 2024 12:56 pm
by rbodleyscott
Enrico1969 wrote: Tue Mar 12, 2024 5:44 pmDo you know if the system reads UTF 8 CSV files or should I used a MS DOS CSv file?
I don't know for certain but (when saving from Excel) I always use "CSV (Comma delimited) (*.csv)"

not

CSV UTF-8

nor

CSV (MS-DOS)

As I have never tried either of these, I cannot say whether they would work.

Re: stupid question on squad.csv and scenario editing

Posted: Thu Mar 14, 2024 2:36 am
by Enrico1969
Did the same but still not working...what am I doing wrong?

Screenshot 2024-03-13 193403.png
Screenshot 2024-03-13 193403.png (49.01 KiB) Viewed 5955 times

Re: stupid question on squad.csv and scenario editing

Posted: Thu Mar 14, 2024 6:25 am
by rbodleyscott
Enrico1969 wrote: Thu Mar 14, 2024 2:36 am Did the same but still not working...what am I doing wrong?


Screenshot 2024-03-13 193403.png
The squads file MUST be called "Squads.csv"

It will not work with any othewr filename