Author Topic: How do you install prophunt maps?  (Read 870 times)

So i got the Gamemode_PropHunt.zip thing

and i made a map because the console.log says i need to make a prophunt level

so i did.

BUT NOW

its saying something about main.cs

my console.log and main.cs are sent as a attachment.

Code: [Select]
//this is called when save loading finishes
function GameModeInitialResetCheck()
{
Parent::GameModeInitialCheck(); <----Messed up right here

//if there is no level list, attempt to create it
if($PropHunt::numLevels == 0)
PH_BuildLevelList();

//if levellist is still empty, there are no levels
if($PropHunt::numLevels == 0)
{
messageAll('', "\c6No Prop Hunt levels available!");
for(%a = 0; %a < 10; %a++)
{
echo("PLEASE ADD PROP HUNT LEVELS.");
}
quit();
return;
}
}
Lol'd, the problem currently is that the code is wrong. That and you probably need more maps, rather than the one.

How did you go about making your maps? Did you follow the patter? Add-Ons/PropHunt_*/save.bls
You create a folder in Add-Ons, name it prophunt_Whatever then put a save in that folder called save. The Whatever should be the name of your map.

Code: [Select]
//do me a solid and don't point this out. kk?
Zapk is stilly.

Code: [Select]
//this is called when save loading finishes
function GameModeInitialResetCheck()
{
Parent::GameModeInitialCheck(); <----Messed up right here

//if there is no level list, attempt to create it
if($PropHunt::numLevels == 0)
PH_BuildLevelList();

//if levellist is still empty, there are no levels
if($PropHunt::numLevels == 0)
{
messageAll('', "\c6No Prop Hunt levels available!");
for(%a = 0; %a < 10; %a++)
{
echo("PLEASE ADD PROP HUNT LEVELS.");
}
quit();
return;
}
}
Lol'd, the problem currently is that the code is wrong. That and you probably need more maps, rather than the one.

How did you go about making your maps? Did you follow the patter? Add-Ons/PropHunt_*/save.bls
You create a folder in Add-Ons, name it prophunt_Whatever then put a save in that folder called save. The Whatever should be the name of your map.

Code: [Select]
//do me a solid and don't point this out. kk?
Zapk is stilly.


Thanks.

i was only putting 1 map.

well, ill see if i can fix the script

BUT THANKS VERY MUCH!