How to build custom units?

Started by PXSJ4-19170779710, March 21, 2022, 07:49:53 AM

Previous topic - Next topic

PXSJ4-19170779710

I have a script,I don't know how to build it.

Karsten75

Quote from: PXSJ4-19170779710 on March 21, 2022, 07:49:53 AM
I have a script,I don't know how to build it.

You use a 3D modeling tool such as Magica Voxel or Qubicle Voxel Editor to create a model. Or you can try constructing one from the components supplied in the CPACK editor.

There's some information in the wiki on this, but nothing that really explains it very well, I'm afraid.  https://knucklecracker.com/wiki/doku.php?id=cw4:custom_units

GoodMorning

(K, that's for CW4, this is a CW3 board...)

In CW3...


  • Open the editor.
  • Insert your script (I assume you know how).
  • Recompile.
  • Build a CRPLCORE unit from the menu (it's the blue one grouped with the enemies, which you haven't seen in non-custom maps).
  • Select it.
  • Hit "add script to unit".
  • Exit the menu, "accept" rather than "close".
  • Save the map.
  • Exit edit mode.
  • Unpause and check whether the unit functions as expected.
A narrative is a lightly-marked path to another reality.

PXSJ4-19170779710

Quote from: Karsten75 on March 21, 2022, 09:05:00 AM
Quote from: PXSJ4-19170779710 on March 21, 2022, 07:49:53 AM
I have a script,I don't know how to build it.

You use a 3D modeling tool such as Magica Voxel or Qubicle Voxel Editor to create a model. Or you can try constructing one from the components supplied in the CPACK editor.

There's some information in the wiki on this, but nothing that really explains it very well, I'm afraid.  https://knucklecracker.com/wiki/doku.php?id=cw4:custom_units

Not CW4.