Modding, what is allowed?

Openplanet is an alternative scripting platform for the ManiaPlanet creative community.

Moderators: Miss, NADEO

Post Reply
User avatar
Derfuhr
Posts: 65
Joined: 18 May 2017, 17:08
Location: DE->NRW

Modding, what is allowed?

Post by Derfuhr » 10 Dec 2019, 10:10

Hi,

at the moment i do a DLL for Openplanet, i want to have good Drawing Functions, for 2D and 3D. But i have sometimes Problems with OP, if i create a Window in the DLL(RegisterClass, CreateWindow), it works, but sometimes maniaplanet freezes and still freezed after closing the window(when the window was moved, i'm not sure if this is my mistake, Logs are Empty) just wanted to make a video, there everything works, demonstration effect. :(

In what ways it is allowed access data? May I, for example, Redirect EndScene () for overlays?

Regards, Derfuhr.

User avatar
Miss
Posts: 2084
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Modding, what is allowed?

Post by Miss » 10 Dec 2019, 13:06

Uhh sure I suppose, although at that point it really becomes a question of what you want to render. It's a lot better to put your API suggestions here so I can implement them properly in scripting and you don't need a dll to do weird hooking of a hook, etc.
1070 GTX, Ryzen 3700X, 16GB RAM, Windows 10
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream on Twitch and tweet on Twitter.

User avatar
Derfuhr
Posts: 65
Joined: 18 May 2017, 17:08
Location: DE->NRW

Re: Modding, what is allowed?

Post by Derfuhr » 10 Dec 2019, 14:46

I already have a small DirectX engine, which I would have used to render, with I could hook EndScene to render my overlay. So a little DLL for GUI like Openplanet.

Sometimes you drive head up or down and can be difficult to orient, so I want to render a small car 3d-model(simple wavefront files) with the appropriate rotation of the player.

As I imagine this with the 2d Drawing, I think again exactly and then write in the discord.

Post Reply

Return to “Openplanet”

Who is online

Users browsing this forum: No registered users and 2 guests