Can't place item block in maniascript

Talk here if you need help about Maniaplanet or its games

Moderator: English Moderator

Post Reply
User avatar
Nerpson
Translator
Translator
Posts: 1554
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: Can't place item block in maniascript

Post 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.
ImageImageImageImage
User avatar
Florenzius
Translator
Translator
Posts: 2535
Joined: 27 Jul 2014, 20:31
Location: Germany
Contact:

Re: Can't place item block in maniascript

Post by Florenzius »

Agreed, we'd highly appreciate a simple API function like that.
Creative Director at UNBITN - 3D Modeler for Pursuit - ManiaPlanet Translator and Beta tester - Freelancer for Ubisoft Nadeo
___
MB - B550 AORUS ELITE
RAM - 32GB
CPU - AMD Ryzen 5 3600XT
GPU - Nvidia GeForce RTX 3070Ti
Post Reply

Return to “Support & Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest