SquadJS icon indicating copy to clipboard operation
SquadJS copied to clipboard

Include icon and spawnerSize in squad-server\layers\layer.js

Open fantinodavide opened this issue 1 year ago • 4 comments

Current:

{
  "name": "HX60 Transport",
  "classname": "BP_Aussie_Util_Truck_C",
  "count": 1,
  "spawnDelay": 6,
  "respawnDelay": 3
}

Updated:

{
  "name": "HX60 Transport",
  "classname": "BP_Aussie_Util_Truck_C",
  "count": 1,
  "spawnDelay": 6,
  "respawnDelay": 3,
  "icon": "map_truck_transport",
  "spawnerSize": "APC"
}

fantinodavide avatar Nov 27 '23 20:11 fantinodavide

@fantinodavide there is a major change that is occurring with the pipeline that I haven’t gotten to attack yet as I need QA testing. Will you make sure your change works with the new version please?

https://raw.githubusercontent.com/Squad-Wiki/squad-wiki-pipeline-map-data/pipeline-2.0/completed_output/_Current%20Version/finished.json

werewolfboy13 avatar Dec 06 '23 08:12 werewolfboy13

Reminder before this is closed for no response.

werewolfboy13 avatar Jan 05 '24 22:01 werewolfboy13

changes are partially compatible with the new version of the layer list, the spawner_size property is the only one missing, and even if it wouldn't throw errors, the spawnerSize property would be set to null. @werewolfboy13

fantinodavide avatar Feb 06 '24 23:02 fantinodavide

@fantinodavide Spawner Size is going to be added soon (see https://github.com/Squad-Wiki/squad-wiki-pipeline-map-data/commit/b308d4204d5e0d67abcd3f7a0406bca251862446). I didn’t like how I did an unrelated change so I’m going to be fixing that before merging to main.

Shanomac99 avatar Feb 07 '24 00:02 Shanomac99

Closing due to a new PR being opened soon to resolve https://github.com/Team-Silver-Sphere/SquadJS/issues/353

fantinodavide avatar May 15 '24 22:05 fantinodavide