Terminator: Dark Fate - Defiance

Terminator: Dark Fate - Defiance

View Stats:
modding question
So I followed one of the guides so I can freely edit certain files to my liking. Mainly the content of the shops at trading post.
https://steamcommunity.com/sharedfiles/filedetails/?id=3169632828
I think I found which file and value is responsible for making sure bodies and wrecks stay. (basis/scripts/invs.xml bodies should be at line A6-A7 if you're using an excel-like editor)
Anyone know how to edit the camera values? Wanna make the camera zoom in more and tilt more so I can see the action for an almost first-person view.

EDIT: forgot to add. I was using an excel-like editor (WPS office) to find these. Really helps. Either use that, or use the online free version of Excel or Google Sheets.
Last edited by Profile_Name; Mar 1, 2024 @ 5:21pm
< >
Showing 1-15 of 17 comments
Profile_Name Mar 1, 2024 @ 3:18pm 
Quick update:
Yep, A6 and A7 were the cells that modifies the decay time for bodies. I set A6, Which I think is the time they stay on the map, to 1800 seconds (30 minutes)
A7 is the speed that they just sink into the ground, so I set that to 0
Vehicle wreckage is at the bottom of the spreadsheet (A306 and A307)
Descriptions are in Russian so just translate them.

Found the file that edits camera values. (basis/scripts/species/camera.xml)
Currently messing with it

If anyone plans on doing this. MAKE SURE TO BACKUP. Especially the camera file. Just copy and paste it and just re-name the copy to camera.BKUP or something like that.
Last edited by Profile_Name; Mar 1, 2024 @ 5:15pm
zpc Mar 1, 2024 @ 3:23pm 
Fiddling around with the data aswell - did you already took a look into cameras.xml? There are at least min / max zoom values. Not sure what _roll / roll_height exactly translate into....

edit: a well, you found it yourself =)
Last edited by zpc; Mar 1, 2024 @ 3:23pm
Profile_Name Mar 1, 2024 @ 3:24pm 
Originally posted by zpc:
Fiddling around with the data aswell - did you already took a look into cameras.xml? There are at least min / max zoom values. Not sure what _roll / roll_height exactly translate into....

edit: a well, you found it yourself =)
Yeah, currently trying to figure those roll stuff out. I think they're the tilt? I'm not sure. I want the camera to tilt more though. Right to the point it's at eye level.
Profile_Name Mar 1, 2024 @ 3:43pm 
I discovered something annoying. Was wondering why the camera is barely having changes. You can't just load into a save that's already in-mission. Either just start a new game, or load to a previous save that has you set in the overworld and then start a mission.

Anyways, yeah. I set the min_dist_roll to 50 and min_zoom to 10
It worked. Try messing with other values. Seems like you can tweak how the camera behaves to your very liking. Can finally have the camera literally over the shoulders of my units overlooking a road.
Last edited by Profile_Name; Mar 1, 2024 @ 3:47pm
TRON Mar 1, 2024 @ 4:34pm 
Originally posted by Profile_Name:
Quick update:
Yep, A6 and A7 were the cells that modifies the decay time for bodies. I set A6, Which I think is the time they stay on the map, to 1800 seconds (3 minutes)
A7 is the speed that they just sink into the ground, so I set that to 0
Vehicle wreckage is at the bottom of the spreadsheet (A306 and A307)
Descriptions are in Russian so just translate them.

Found the file that edits camera values. (basis/scripts/species/camera.xml)
Currently messing with it

If anyone plans on doing this. MAKE SURE TO BACKUP. Especially the camera file. Just copy and paste it and just re-name the copy to camera.BKUP or something like that.



location: basis/scripts/invs.xml
Cells:
A6 and A7.
Wrecks are:
A306 and A307

This is not a Help
You have to tell people where exactly it is. The file has almost 2000 lines and no one knows which line to edit.
Profile_Name Mar 1, 2024 @ 5:14pm 
Originally posted by TRON:
Originally posted by Profile_Name:
Quick update:
Yep, A6 and A7 were the cells that modifies the decay time for bodies. I set A6, Which I think is the time they stay on the map, to 1800 seconds (3 minutes)
A7 is the speed that they just sink into the ground, so I set that to 0
Vehicle wreckage is at the bottom of the spreadsheet (A306 and A307)
Descriptions are in Russian so just translate them.

Found the file that edits camera values. (basis/scripts/species/camera.xml)
Currently messing with it

If anyone plans on doing this. MAKE SURE TO BACKUP. Especially the camera file. Just copy and paste it and just re-name the copy to camera.BKUP or something like that.



location: basis/scripts/invs.xml
Cells:
A6 and A7.
Wrecks are:
A306 and A307

This is not a Help
You have to tell people where exactly it is. The file has almost 2000 lines and no one knows which line to edit.
I assume you're using a regular notepad editor? Use something like Excel or WPS office spreadsheets (this one is free). Because I have no idea where you got 2000 lines unless you're editing with notepad++
Last edited by Profile_Name; Mar 1, 2024 @ 5:16pm
zpc Mar 2, 2024 @ 7:29am 
Small update from my side - my camera.xml is running with these settings.

<Row ss:AutoFitHeight="0"> <Cell><Data ss:Type="String">tactical</Data></Cell> <Cell><Data ss:Type="Number">180</Data></Cell> <Cell><Data ss:Type="Number">600</Data></Cell> <Cell><Data ss:Type="Number">50</Data></Cell> <Cell><Data ss:Type="Number">50</Data></Cell> <Cell><Data ss:Type="Number">30</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">70</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">1</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">50</Data></Cell> </Row> <Row ss:AutoFitHeight="0"> <Cell><Data ss:Type="String">global</Data></Cell> <Cell><Data ss:Type="Number">600</Data></Cell> <Cell><Data ss:Type="Number">600</Data></Cell> <Cell><Data ss:Type="Number">60</Data></Cell> <Cell><Data ss:Type="Number">60</Data></Cell> <Cell><Data ss:Type="Number">60</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">60</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">1</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">50</Data></Cell> </Row>

Changes:
I let the tilt / roll alone and just increased max_zoom for tactical by *2 and added 200 to the global camera.

Limitations:
As Profile_Name already stated the settings are somewhat baked into the mission save files - so one has to enter a mission from the worldmap in order to get the new camera settings applied

It feels a lot better - even the cutscenes work quite nicely and give you a better overview of the mission area =)
TRON Mar 2, 2024 @ 7:32am 
Originally posted by zpc:
Small update from my side - my camera.xml is running with these settings.

<Row ss:AutoFitHeight="0"> <Cell><Data ss:Type="String">tactical</Data></Cell> <Cell><Data ss:Type="Number">180</Data></Cell> <Cell><Data ss:Type="Number">600</Data></Cell> <Cell><Data ss:Type="Number">50</Data></Cell> <Cell><Data ss:Type="Number">50</Data></Cell> <Cell><Data ss:Type="Number">30</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">70</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">1</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">50</Data></Cell> </Row> <Row ss:AutoFitHeight="0"> <Cell><Data ss:Type="String">global</Data></Cell> <Cell><Data ss:Type="Number">600</Data></Cell> <Cell><Data ss:Type="Number">600</Data></Cell> <Cell><Data ss:Type="Number">60</Data></Cell> <Cell><Data ss:Type="Number">60</Data></Cell> <Cell><Data ss:Type="Number">60</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">60</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">1</Data></Cell> <Cell ss:StyleID="s63"><Data ss:Type="Number">50</Data></Cell> </Row>

Changes:
I let the tilt / roll alone and just increased max_zoom for tactical by *2 and added 200 to the global camera.

Limitations:
As Profile_Name already stated the settings are somewhat baked into the mission save files - so one has to enter a mission from the worldmap in order to get the new camera settings applied

It feels a lot better - even the cutscenes work quite nicely and give you a better overview of the mission area =)


Upload it to a file site so that we can download it or, best of all, upload it immediately to Nexusmods where mods belong.
Last edited by TRON; Mar 2, 2024 @ 7:33am
zpc Mar 2, 2024 @ 7:42am 
Nah, no time for maintaining that - just fiddling around & sharing, that has to suffice.
Raven Mar 3, 2024 @ 1:29am 
Originally posted by Profile_Name:
Originally posted by TRON:



location: basis/scripts/invs.xml
Cells:
A6 and A7.
Wrecks are:
A306 and A307

This is not a Help
You have to tell people where exactly it is. The file has almost 2000 lines and no one knows which line to edit.
I assume you're using a regular notepad editor? Use something like Excel or WPS office spreadsheets (this one is free). Because I have no idea where you got 2000 lines unless you're editing with notepad++


Look for the following lines :

Body line number 148
<Cell><Data ss:Type="String">brokenUnitLieTime</Data></Cell>

Wreck line number 1662
<Cell><Data ss:Type="String">wreckLieTime</Data></Cell>
Last edited by Raven; Mar 3, 2024 @ 1:30am
flashbackflip Mar 7, 2024 @ 10:33am 
Originally posted by TRON:
Originally posted by Profile_Name:
Quick update:
Yep, A6 and A7 were the cells that modifies the decay time for bodies. I set A6, Which I think is the time they stay on the map, to 1800 seconds (3 minutes)
A7 is the speed that they just sink into the ground, so I set that to 0
Vehicle wreckage is at the bottom of the spreadsheet (A306 and A307)
Descriptions are in Russian so just translate them.

Found the file that edits camera values. (basis/scripts/species/camera.xml)
Currently messing with it

If anyone plans on doing this. MAKE SURE TO BACKUP. Especially the camera file. Just copy and paste it and just re-name the copy to camera.BKUP or something like that.



location: basis/scripts/invs.xml
Cells:
A6 and A7.
Wrecks are:
A306 and A307

This is not a Help
You have to tell people where exactly it is. The file has almost 2000 lines and no one knows which line to edit.

weirdly enough i have only "textures" forlder in the "basis" folder..

double checked for hidden files being shown - so how should i find scripts??
zpc Mar 7, 2024 @ 11:33am 
Originally posted by flashbackflip:
Originally posted by TRON:



location: basis/scripts/invs.xml
Cells:
A6 and A7.
Wrecks are:
A306 and A307

This is not a Help
You have to tell people where exactly it is. The file has almost 2000 lines and no one knows which line to edit.

weirdly enough i have only "textures" forlder in the "basis" folder..

double checked for hidden files being shown - so how should i find scripts??

You have to read the guide linked in the OP:

https://steamcommunity.com/sharedfiles/filedetails/?id=3169632828
flashbackflip Mar 7, 2024 @ 1:07pm 
Originally posted by zpc:
Originally posted by flashbackflip:

weirdly enough i have only "textures" forlder in the "basis" folder..

double checked for hidden files being shown - so how should i find scripts??

You have to read the guide linked in the OP:

https://steamcommunity.com/sharedfiles/filedetails/?id=3169632828

thanks alot! i missed that fast-skipping into comments.. my bad
flashbackflip Mar 8, 2024 @ 10:46am 
ok i finally got to this doc

want to add that there's the value 'piecesLifetime' (A 11) which is the time of broken buildings' pieces stay on the field - someone might want to prolong that as well (i did))

ALSO
- trackLifeTime - A 190 - the longevity of tracks/tires marks on the ground
- terrainSpotLifetime - A 191 - how long the craters from explosions stay visible
- trailLifeTime - A 329 - not sure about this one as it's described as 'time of the disappearance of the trails in seconds' but not mentioned which ones - maybe the soldiers' ones

if you have any questions about any other values - do not hessistate to ask as i understand Russian well (damn it's my native LOL) so i will be glad to help, although i must say that the developers did a good job naming values descriptevly so it's not that hard to understand - still - i can help with nuances if needed

peace

and THANK YOU for starting this thread
Last edited by flashbackflip; Mar 8, 2024 @ 1:44pm
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: Mar 1, 2024 @ 2:57pm
Posts: 17