How to build custom units?

PXSJ4-19170779710 · 2065

PXSJ4-19170779710

  • Jr. Member
  • **
    • Posts: 20
How to build custom units?
on: March 21, 2022, 07:49:53 am
I have a script,I don't know how to build it.



Karsten75

  • Hero Member
  • *****
    • Posts: 7353
Re: How to build custom units?
Reply #1 on: March 21, 2022, 09:05:00 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

  • Community Guild
  • *****
    • Posts: 3487
  • (Pusillanimous)
Re: How to build custom units?
Reply #2 on: March 21, 2022, 09:25:58 am
(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

  • Jr. Member
  • **
    • Posts: 20
Re: How to build custom units?
Reply #3 on: March 22, 2022, 12:30:36 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.