---> Latest Empires data files and some instructions <---

Moderator: Pocus

Locked
Pocus
Ageod
Ageod
Posts: 2680
Joined: Tue Oct 02, 2012 3:05 pm

---> Latest Empires data files and some instructions <---

Post by Pocus » Mon Jun 08, 2020 8:22 am

Here is the latest set of data files for Empires (and DLC):

https://www.dropbox.com/s/jtupcb1i01psv ... B.zip?dl=0


How to edit files:
Don't edit directly CSV files if you can avoid. It's very difficult to see what has changed there, as there is no formatting. What should be done instead is to edit the relevant(s) files(s) in the database (either in xls or xlsx format, so be sure to have a compatible software).

I would advise to color in a very specific color some of the cells of a line you edit, to know what you changed. Because it might very well be that the file you edit will change in a next patch, so you must be sure to know what you edited. An alternate solution is to create a brand new column (where you want) of type COMMENT, label it as you want ('Notes' or whatever) and add what you feel is interesting to note here. You can create as many COMMENT columns as you wish, they are totally invisible to the ARCHON engine.

Don't create empty lines in XLS you manipulate in between data. If you can, prefer appending the files and don't insert new lines into a file, as this will break all saved games, most of the time.
Be sure you give unique identifiers, often when you create a line, you'll need to add an ID, that's the first column of many files. It must be unique and that's also why it is better to append, to know which one you can use. FACTIONS.XLS don't have identifiers though, but you must provide a valid faction alias.

Be sure to check when you need to add a $ and when you should not before aliases. Copy what exists and you should be fine.

Once you are satisfied, export the XLS(X) in .CSV format, using SEMI-COLON and not COMMA as the field delimiter.

Be sure to make incremental changes and backup your files over several levels. One of the best practice you can have is to add things in small amount, test, and if that's working, copy these files as backup and restart another limited work. If you changes many things and that's not working, finding the error might be very difficult. The less changes you do before an error happens, the easier it is to remember/see where the error is.
AGEOD Team - Makers of Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.

Pocus
Ageod
Ageod
Posts: 2680
Joined: Tue Oct 02, 2012 3:05 pm

Re: ---> Latest Empires data files and some instructions <---

Post by Pocus » Thu Jun 11, 2020 9:37 am

Shortcuts and halting the debugger

****************************
* Shift+F11 - open script debugger
* Shift+F12 - toggle object inspector
* F - cycle through terrain display modes (normal, hide FOW effect, hide weather effect, hide both)
* Ctrl+Shift+I - rerun the AI for the current turn
* M - toggle between normal camera and top-down
* Q,E - rotate camera
* X - restore default camera rotation
* Shift+Home - toggle script profiler
* Shift+End - reset script profiler
* Ctrl+F11 - reload shaders, edit and continue supported
* Ctrl+F12 - reload scripts, edit and continue supported
* Ctrl+Home - reload textures which have changes since loading
* Ctrl+End - reload UI and string files
* PrtScn - take a screenshot (saved in My Games\AgeodEngine\SCREENS)
* Ctrl+Shift+P - start or stop recording a video (slideshow)
****************************

Halting the debugger
Use DebugBreak in the code to halt the debugger on this line
You need to be in Windowed mode, not Fullscreen
DEBUGMODE 1 should be added or edited in USER.TXT
AGEOD Team - Makers of Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.

Locked

Return to “MOD”