TerraTech Block List and Info

_Kaasblokje_

Well-Known Member
Jul 29, 2018
53
149
435
Amazing work so far!
It is a shame that the weapons have all stats I need except the base damage per hit they do, but besides that great work!
 
  • Like
Reactions: HeX

Green4Gaming

Mindless Dominion Leader
Jan 18, 2019
102
160
445
16
Is there a way to find the damage of weapons within the game files, because in these documents that is lacking
 

Green4Gaming

Mindless Dominion Leader
Jan 18, 2019
102
160
445
16
That's unfortunate, I guess I'll have to find a way to test the damage then, just hope it's somewhat round numbers
 

DannyA

Well-Known Member
Jul 31, 2019
14
21
46
Australia
How's this list created?

Any chance to output a HTML version with index as well?

Or even better, put it in a format e.g JSON that can be uploaded to the wiki, referenced and displayed on all block pages with some css or something?
 

bmoulton

Well-Known Member
Aug 8, 2019
3
2
46
Here's a JSON file converted from AllBlockInfoDump dat.
* the forum won't allow me to upload JSON files, so it's zipped.

Is there anyway to get the component data, too?
I'd like to calculate the raw material needs for each block.

Also, is there damage data for the weapons (I see DPS values on the wiki)?
 

Attachments

DannyA

Well-Known Member
Jul 31, 2019
14
21
46
Australia
Thanks bmoulton!

I presume that's the 1.3.1.1 version most recently provided here, right?

I was working on displaying it using datatables HTML table library and found it was not properly formed JSON (no root node or comma between blocks, so wouldn't parse).

I've attached an updated valid version with: {"game_version":"1.3.1.1", "data": [ ... your block data ... ]}.

Placing blocks in a data array was required to display properly with the HTML library which I'm fumbling around with.

search: }\n{
replace: },\n{
with regular expression .* option on

This JSON validator was handy to check it.

I think I'm reasonably close to being able to display your data in a multi-column-sortable filterable (with search) table on a simple web page (I got the example JSON based table working and just need to substitute this data with different column names and we should be in business, I hope).

I'm curious, how'd you do the conversion to JSON?

And also, how is the original dump created?
 

Attachments

Last edited:

bmoulton

Well-Known Member
Aug 8, 2019
3
2
46
I presume that's the 1.3.1.1 version most recently provided here, right?
That's what I used, and thanks for the fix (I must have uploaded the wrong version, because I had validated and pretty-fied it).

Is there a way to be notified when a new version is updated?
@HeX ping me and I'll give you my email if you want to send me the file for parsing in the future.