Dev - Other maker Kero Blaster / Pink Hour hacking and editing. (Read 871 times)

  • Avatar of JMickle
  • I gots a lego!
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Feb 4, 2007
  • Posts: 1922
yeah, there's no reference for what the entity flags could be, but i'm pretty sure that they are the first short of data for each entity. I'll also write up everything I understand about the header so far.
www.jmickle.com
  • Avatar of JMickle
  • I gots a lego!
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Feb 4, 2007
  • Posts: 1922
ok! I've got entity viewing (and rudimentary editing but NOT saving so there's no point)
 

get it get it get it  >>>> https://dl.dropboxusercontent.com/u/8943931/games/2014/KeroHackToolsv1_2.air <<<<
 
> pan the level around with WASD keys!
> reset the view with R
> TAB to switch layers, E layer to edit entities 
> Press E to toggle entity layer on or off
 
info on entity data:
 
The first byte after the tile data is the number of entities (thanks instasquid!),
then a blank byte (as far as I'm aware, its always blank)
then you start blocks of entities, which look like this:
1 byte : entity flags. need to discover more information about this thing
1 byte : entity type. in the assist/unittype.txt file, you can see a reference of all the types
2 bytes : x position
2 bytes : y position
3 bytes : unknown data. a lot of the time this is 0.
1+ bytes : a string, seems to be a script that is attached to the entity somehow. 
 
I'll get to implementing super basic entity placement soon!
 
www.jmickle.com
  • Avatar of sambr
  • Pip
  • Group: Member
  • Joined: Aug 7, 2012
  • Posts: 193
i bought this game a few days ago. it's pretty damn nice.
  • Avatar of zxin
  • Group: Member
  • Joined: Jan 19, 2015
  • Posts: 1
This looks awesome, I hope soon it will become the first full-fledged Kero Blaster editor