RWDK: Reassembly Web Development Kit (Updated 2017/01/07)
Author |
Message |
TTFTCUTS
Joined: Thu Jan 14, 2016 2:21 pm Posts: 94
|
Last edited by TTFTCUTS on Fri Apr 12, 2019 8:57 am, edited 13 times in total.
|
Thu Jan 14, 2016 2:43 pm |
|
 |
Camo5
Joined: Fri Jan 24, 2014 10:11 pm Posts: 1295 Location: Ames, IA
|
...I don't have permission to sticky this, so i'm just going to put the link in my sig.
_________________
|
Thu Jan 14, 2016 6:48 pm |
|
 |
danny420dale
Joined: Thu Feb 05, 2015 6:07 am Posts: 366
|
_________________
|
Thu Jan 14, 2016 8:41 pm |
|
 |
TTFTCUTS
Joined: Thu Jan 14, 2016 2:21 pm Posts: 94
|
I added a link to this thread in the kit itself, and cross-linked the Steam Community thread with this one. This has been a while in the making - and it's already been used to make 3 mods: the Systems Coalition Remnant, the Roiders - a faction which I haven't released because spawned blocks don't seem to understand how to use factories, and the Coral mod by Arheo.
|
Thu Jan 14, 2016 8:54 pm |
|
 |
Cornebre
Joined: Sun Apr 12, 2015 3:13 am Posts: 283
|

Aller Louia! (That joke is not translatable in English, let's just say that's a bad French pun about "Hallelujah")
...
Edit: Just tested it => error on load XD It say that:
File Parsing Failed: FormatException: SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 5 column 264 of the JSON data
The game don't have problem! The line 1 to 8 of my blocks.lua
1)-- autogenerated from game/TheBlocks.h 2){ 3) {963251401, command={faction=221}, name="Command", features=COMMAND|GENERATOR|ASSEMBLER|TRACTOR, 4) group=221, shape=COMMAND, points=10, durability=4.000, density=0.100, fillColor=0x404040, 5) fillColor1=0x606060, powerCapacity=12000.000, capacity=100.000, generatorCapacityPerSec=4000.000, tractorRange=600.000}, 6) {963251402, command={faction=221}, name="Station Command", features=COMMAND|GENERATOR|ASSEMBLER|TRACTOR, 7) group=221, shape=OCTAGON, points=10, durability=4.000, density=1500, fillColor=0x404040, 8) fillColor1=0x606060, powerCapacity=12000.000, capacity=1000.000, generatorCapacityPerSec=4000.000, tractorRange=1000.000},
I have no idea where the column 264 is, the line is 165 character long! ^^'
_________________ Using Beta, always! (Well, for Reassembly) (Also known as GATC on Steam)
Last edited by Cornebre on Fri Jan 15, 2016 1:25 am, edited 1 time in total.
|
Fri Jan 15, 2016 1:18 am |
|
 |
★ Conga ★
Joined: Wed Dec 09, 2015 10:19 pm Posts: 406 Location: Earth
|
Eh, code is easier and less time consuming
_________________ "If the ai can do it player fights would be ruined. If the player can do it the experience would not be the same. Just leave the lone developer to his job and everything will turn out okay."
|
Fri Jan 15, 2016 1:25 am |
|
 |
TTFTCUTS
Joined: Thu Jan 14, 2016 2:21 pm Posts: 94
|
Dangit GATC, I already had to add a load of parsing stuff because of nonstandard things you did like hex block IDs and non-hex colours! Which mod is that? Can I get a look at the full file please? Turns out the game is actually REALLY forgiving of mistakes, and a load of things which break this parser make it into the game just fine. It's probably something I do to fix those problems which makes that one break. Also the line numbers in the original file don't line up with the actual line numbers, since a lot of stuff has to change to turn pseudo-lua into parseable JSON 
|
Fri Jan 15, 2016 7:49 am |
|
 |
Cornebre
Joined: Sun Apr 12, 2015 3:13 am Posts: 283
|
The file is not "normally" available (mod not fully finished (it's the Ethereal)). But here it is anyway ;p http://www.mediafire.com/download/hhf5g ... blocks.luaBTW, is there a quick way to clear the block list? (except hitting F5?) Edit: Could it be the lack of "lineColor="?
_________________ Using Beta, always! (Well, for Reassembly) (Also known as GATC on Steam)
|
Fri Jan 15, 2016 8:38 am |
|
 |
TTFTCUTS
Joined: Thu Jan 14, 2016 2:21 pm Posts: 94
|
|
Fri Jan 15, 2016 8:58 am |
|
 |
DarkWingedDaemon
Joined: Thu Mar 27, 2014 2:30 pm Posts: 151 Location: The Core!
|
_________________ The New Terran Republic [] The New Terran Republic V2.0 []
|
Sat Jan 16, 2016 11:29 am |
|
|
Who is online |
Users browsing this forum: Bing [Bot] and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|
|
|