I wasn't active in the ManiaScript since the MP4, so I don't really understand the new stuff. But as I look at it, they sound great for some projects!
One of the things was the CManiaAppTitle. This class has a lot of awesome features for the custom title packs, but I'm wondering how I can even get this class in a script. Is it available when a manialink is used as a title pack menu? Do I need to use the Maker tool to access this class?
CManiaAppTitle - How I can access it
Moderator: English Moderator
- BigBang1112
- Posts: 389
- Joined: 20 Jul 2015, 12:44
- Manialink: bigbang1112
- Location: Czech Republic
- Contact:
CManiaAppTitle - How I can access it
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
Re: CManiaAppTitle - How I can access it
Hi,
If you are launching your title with a specific script, just write in the beginning of it :
and you will be able to use all of the attributes and functions.
I hope that helps!
If you are launching your title with a specific script, just write in the beginning of it :
Code: Select all
#RequireContext CManiaAppTitle
I hope that helps!
- BigBang1112
- Posts: 389
- Joined: 20 Jul 2015, 12:44
- Manialink: bigbang1112
- Location: Czech Republic
- Contact:
Re: CManiaAppTitle - How I can access it
Thanks for the explain.
That means when I reference a Manialink page in the Old Titlepack tool as a menu manialink, I can write the #RequireContext in the <script> tag?
That means when I reference a Manialink page in the Old Titlepack tool as a menu manialink, I can write the #RequireContext in the <script> tag?
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
Re: CManiaAppTitle - How I can access it
Yes, it works
You have to write it as maniascript, not as manialink (you will load the manialink in maniascript
but your menu file must be in Media/Manialinks folder and must end with ". script.txt"
You have to write it as maniascript, not as manialink (you will load the manialink in maniascript
but your menu file must be in Media/Manialinks folder and must end with ". script.txt"
- BigBang1112
- Posts: 389
- Joined: 20 Jul 2015, 12:44
- Manialink: bigbang1112
- Location: Czech Republic
- Contact:
Re: CManiaAppTitle - How I can access it
Manialink textbox in the old title pack creation tool should have a path to the script file then?
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
- Florenzius
- Translator
- Posts: 2545
- Joined: 27 Jul 2014, 20:31
- Manialink: nickedit
- Location: Germany
- Contact:
Re: CManiaAppTitle - How I can access it
Indeed
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
___
MB - B550 AORUS ELITE
RAM - 32GB
CPU - AMD Ryzen 5 3600XT
GPU - Nvidia GeForce RTX 3070Ti
- BigBang1112
- Posts: 389
- Joined: 20 Jul 2015, 12:44
- Manialink: bigbang1112
- Location: Czech Republic
- Contact:
Re: CManiaAppTitle - How I can access it
Well it doesn't really sound straightforward, so just wanted to make sure.
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
Who is online
Users browsing this forum: No registered users and 2 guests