Mapping Issue
#1

Here's another addition of: Damn streamer, back at it again with the weird shit!

So the way I do mapping is fairly simple, but a little complex. I keep files in an include folder and use the #include tag under OnGameModeInit so it makes files easier to create, edit, etc.

Here is a snip:

PHP Code:
public OnFilterScriptInit()
{
    for(new 
iMAX_PLAYERSi++)
    {
        
TogglePlayerControllable(i0);
        
SetTimerEx("MappingReload"GetPlayerPing(i) * 40"i"i);
        
RemoveBuildings(i);
    }
        
// bunch of other #include's.
    #include ./includes/Utilities/World.pwn
return 1// Not indented on purpose. Loose indentation errors if it is because none of the code in the files are indented.

And it was working great! But now I went to add to a file and recompile and now some mapping isn't showing up.
So lets say I have an interior in file 'Interior' and an exterior in the file 'Exterior'

If I include Exterior before Interior, none of the interior mapping shows up. If I include Interior before Exterior, none of the exterior mapping shows up. It's the damnedest thing I've ever seen.

Anyone know why?

Edit: The files just have CreateDynamicObject lines.
Reply


Messages In This Thread
Mapping Issue - by BornHuman - 10.06.2016, 19:51
Re: Mapping Issue - by BornHuman - 10.06.2016, 20:02
Re: Mapping Issue - by Alpay0098 - 11.06.2016, 00:18
Re: Mapping Issue - by Sime30 - 11.06.2016, 00:25
Re: Mapping Issue - by CSLangdale - 11.06.2016, 01:33
Re: Mapping Issue - by ilijap - 11.06.2016, 01:37
Re: Mapping Issue - by CSLangdale - 11.06.2016, 01:39
Re: Mapping Issue - by ilijap - 11.06.2016, 01:52
Re: Mapping Issue - by CSLangdale - 11.06.2016, 02:36
Re: Mapping Issue - by Vince - 11.06.2016, 08:37
Re: Mapping Issue - by PrO.GameR - 11.06.2016, 10:26

Forum Jump:


Users browsing this thread: 1 Guest(s)