Page 1 of 1

TITLE PACK, MAP EDITOR

Posted: 22 Apr 2019, 21:53
by benj9029
Hey guys, I recently created a title pack called low gravity. The titlepack contain TM2 stadium map with a game script that includes a low gravity. This also applied to the local play section. The problem is that I want to make a low gravity map editor. On TM2 stadium maker, there is a script option on the map editor, the problem here is that, after trying dew things, impossible to get a low gravity in the editor, does anyone have an idea on how to realize this. Here is the script, used in solo:

#Extends "Modes/TrackMania/CampaignSolo.Script.txt"
#Setting S_Gravity 0.5
***Yield***
***
foreach (Player in Players) Player.GravityCoef = S_Gravity;
***


Thx, MosKi.

Re: TITLE PACK, MAP EDITOR

Posted: 22 Apr 2019, 22:14
by benj9029
Or, I was thinking, if anyone knows what script call the race script, which I would change but I don't really understand

Re: TITLE PACK, MAP EDITOR

Posted: 23 Apr 2019, 10:01
by Eole
Hi,

In the map editor, the map type script is responsible of that. You'll have to create a new map type with the gravity modification inside. You can take a look at the original script here.