1
Tools / Re: Ruleset Validator for VSCode v0.9.11
« on: April 29, 2022, 10:48:50 pm »Of course.
moveCost is not an officially released feature yet.
Oh. I was not aware of that.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Of course.
moveCost is not an officially released feature yet.
That's got to be a false alarm.
You can build it yourself if you want to be extra careful. The project is in Visual Studio 2019.
I've identified the problem. The xcom.png image has a palette with only 67 colors, because it's saved with optimized palette. The function that tries to identify the palette expects there to be 255 colors, hence the index out of range error. I did not account for this feature of PNG.
I'm not sure if there is a point in fixing this, as the optimized palette sprite will not work in-game anyway. I'll fix it if I see a simple way to do it.
In the meantime, I've attached your spritesheet saved with UFO Battlescape not-optimized palette.
I think the image "xcom.png" needs to be reduced to 256 colours.
An error has occured during loading of the file: Unsupported image format!
An error has occured during loading of the file: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
A spawner grenade is a battleItem: 4 item that uses spawnUnit
You can also have different other battleItem types to spawn units. Spawner grenades can also be put on terrain with their fuse set to some value
For example (taken from 40k missions_IG.rul)Spoiler:
Will create 12 Guardsmen when this map is part of the map generation.
To my knowledge there isn't a way to have multiple player crafts in a battle. In theory you might be able to duplicate your craft by adding multiple 'addCraft' into a mapScript but that doesn't work either.
What you can try is to have a look at the "Chaos outpost" mission in the 40k mod. In this mission you get either Marine Drop Pods or Imperial Guard Chimeras (with no turret though) on the civilian side to reinforce you. You could turn their spawner grenades to spawn on your side as nameless soldiers too if you fancy that. Also there is a reinforcements possibility for alienDeployments. Maybe you can spawn friendly troops with that too.