ManiaScript WarmUp

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
platernitycs
Posts: 39
Joined: 10 Feb 2013, 18:56

ManiaScript WarmUp

Post by platernitycs »

Hello,

I made a game titel long ago, and when i start a server with it, there is no way to change Clan for the player (disabled even in the server menu).
It was Based on WarmUp.Script.txt and it worked just fine 2 years ago.

Any help ?

https://github.com/platernity/Legends for the code.
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: ManiaScript WarmUp

Post by Eole »

Hi,

In your script you set UseForcedClans at True in the InitGameSettings() function. So it seems to be the correct behavior that players can't select their clan through the main menu after. If you set it to False, then it should work better. ;)
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
platernitycs
Posts: 39
Joined: 10 Feb 2013, 18:56

Re: ManiaScript WarmUp

Post by platernitycs »

Hi, thanks for the reply.

Unfortunately that was my first thought as well, and it didn't made any change changing it to False :(
Any other clue ?
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: ManiaScript WarmUp

Post by Eole »

With :

Code: Select all

UseClans = True;
UseForcedClans = False;
You still can't select a clan? Even the option in the escape menu is disabled or is it enabled but not doing anything?
You don't use use the UseForcedClans boolean anywhere else in your code, including all libraries?
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
platernitycs
Posts: 39
Joined: 10 Feb 2013, 18:56

Re: ManiaScript WarmUp

Post by platernitycs »

Yes the menu for team swap is disabled completely.
I am not using it personally anywhere else. I'll need to check all my includes i suppose.

I'll do it tonight.
platernitycs
Posts: 39
Joined: 10 Feb 2013, 18:56

Re: ManiaScript WarmUp

Post by platernitycs »

Ok, I made it work with ForceClans = False, and changing all my BlockSpawns to MapLandmarks and my BlockPoles too.
Don't know how it is related but that fixed it.

Now that i changed it how do i update my title ? I have a fresh installation of maniaplanet and i don't have the files anymore. Is there a way to get them ? Or do i have to remake the title from scratch ?
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: ManiaScript WarmUp

Post by Eole »

You'll have to create the title pack from scratch. If you go into the title pack creation menu you should still see your old title pack listed. When you click on it, it will create an empty base title pack that you can edit from there.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
platernitycs
Posts: 39
Joined: 10 Feb 2013, 18:56

Re: ManiaScript WarmUp

Post by platernitycs »

Ok im trying to update the title from ground up again, but i encounter a problem. I have a MenuBg.jpg, Menuheader.png and Packimage.jpeg in Legends@platernity, but it still wont update in the title in game. what am i doing wrong ?
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: ManiaScript WarmUp

Post by Eole »

If you already have a Legends.Title.pack.Gbx in the /Packs folder try to remove it before generating the new title pack.
If you create another title pack do you have the same problem or is it specific to the Legends title pack?
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
platernitycs
Posts: 39
Joined: 10 Feb 2013, 18:56

Re: ManiaScript WarmUp

Post by platernitycs »

Deleting the Pack made it work thank you ;)
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests