Include pick up item in titelpack

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
ChillyBilli
Posts: 127
Joined: 16 Feb 2014, 14:20

Include pick up item in titelpack

Post by ChillyBilli »

Hey, ^.^

Sadly the campaign of the official obstacle titelpack didn't work properly anymore after a mp update, but some player would love to speedrun and hunt the campaign. The original author of the titelpack is not interested in updating it, but shared the code. I am now trying to create a new titelpack extra for the singelplayer campaign, to be able to include the fixed maps, but sadly I am a beginner and would need some help.
So far I was able to create the campaign and include the necessary items. The maps open now fine when I am using the "TimeAttack.Script.txt" if the maptype is set correctly. Sadly if I use the "ObstacleSolo.Script.txt" i get an error when trying to run a map. I assume it is because of two items which are used as pick ups in the original titel. One is the "OffzoneShield.Item.gbx" and the other one the "Ammo.Item.gbx". They have "special abilities" in the original titelpack. The Offzone Shield for example allows walking in offzone. I included both of them just like I did with the others, but I assume I did something wrong. It would be very kind if someone with a little coding experience could take a look at the error and give me a hint to what I did wrong.
I did one test to find out if I included these two items correct. I created a new map in the original titelpack with those two items and tried to open this map in the new one I created with the "TimeAttack.Script.txt". Before I included these two items I got an error message saying that those two items were missing and after I included them this message disappeared, so I supposed I did not fail at this part. After changing to the "ObstacleSolo.Script.txt" though, I got the error I will post below my message.
I hope I was understandable and thank u very much for any help! :thx:

Here is steefeen's repository with the script:
https://github.com/steeffeen
ObstacleSolo.Script.txt
Obstacle.Script.txt

Here is my error message:
Image

Here is the part of my xml file I edited:

Code: Select all

 	<packaging>
		<image name=""/>
		<logos name=""/>
		<collection></collection>
		<sortindex>100</sortindex>
		<station_manialink url=""/>
		<station_noquickenter>true</station_noquickenter>
		<boxcase_manialink url=""/>
		<folder name="Items\Common" internal="false" public="false"/>
		<folder name="Items\SMCommon\Obstacle" internal="false" public="false"/>
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 1 guest