Page 1 of 1

Re: Can't place item block in maniascript

Posted: 22 Oct 2019, 17:52
by Nerpson
Indeed,

Having a CItemModel class would be super duper useful. Like block models, with an array ItemModels[] of the available items.

Code: Select all

Boolean PlaceItem(CItemModel _ItemModel, Vec3 _Position, Real _Pitch, Real_Yaw, Real _Roll);
Boolean CanPlaceItem(CItemModel _ItemModel, Vec3 _Position, Real _Pitch, Real_Yaw, Real _Roll);
On TMOne, we could use this API to create our own simplified editor, avoiding to lose our players in the items mess. (and add some terrain tools using items too)
It's so hard to create a map for now that we have a TMUF map converter, to avoid using MP's map editor. We lose a lot players because of this.

Re: Can't place item block in maniascript

Posted: 22 Oct 2019, 17:58
by Florenzius
Agreed, we'd highly appreciate a simple API function like that.