Jump to content

Problem adding Custom Maps Slots


ShadowDraikana
 Share

Recommended Posts

  • Administrators
ShadowDraikana

I'm having a problem getting custom map slots to work in the main game tree.  For some reason, doing this in the training mission menu works with no problems whatsoever.

 

To start, I replaced the main game tree with the one here:

http://www.rockraidersunited.com/topic/5521-improved-permanent-custom-map-slots/?do=findComment&comment=101693

 

Then I replaced the tutorial tree with the original one from the main game.  (I made sure to add CanScroll TRUE to this menu)

 

Next, I tried adding in a Level26 to my mod.  The plan here is to have a second path starting from the bottom of the tree (eventually I also need to figure out how to make sure Level25 is blocked off until all 4 levels surrounding it are completed).  After reading through that entire topic, I attempted to add in a start level, making sure it had FrontEndOpen TRUE.  At the bottom of this post I will include the cfg code for Level 26.  Upon loading things to see if it worked, everything was there but the new level.  I also tried adding in a second StartLevel but ended up with everything getting blacked out and seeing the default bmp in the top left hand corner.  As an idea, I tried linking Tutorial 1 to the new level as the second level of the game.  Same result as before with everything getting blacked out except for Tutorial 1; new level never appeared there either.

 

So, I decided to try duplicating what Wolfy did in that topic by trying to add in Level26 after Rocky Horror.  I copied over everything exactly and it STILL didn't show up (I even copied over his level 26 to see what would happen).  

 

Here's where it gets weird (at least for me): when I tried swapping levels around, my save data was reporting back at 0% and everything but level 1 is blocked.  Reverting back to previous versions of my mod didn't work, and neither did reverting to the vanilla game.  I even retrieved some old save data and tried that; same result.  This happens every time I swap the places of levels (I tried moving the levels around and re-linking them but that resulted in a blackout again); by this I mean I am physically moving the level contents and NOT changing the name positions, like Level01, Tutorial05, etc.

 

Second weird thing: I have successfully added in new levels into the old training mission menu.  Not sure why this works there but not in the main game tree...

 

Anyway, here's my cfg code for Level 26:

 

		Level26 {
			FullName						Tunneled!

			AllowRename						TRUE
			RecallOLObjects					TRUE
			GenerateSpiders					TRUE

			; Amount of time before an emerge trigger can be reused.  1500 specifies 1 minute.
			EmergeTimeOut				200.0

			;;;;; SURFACE TYPE ;;;;;
			BoulderAnimation				ROCK
			MenuBMP							Levels\GameLevels\Level03.bmp,Levels\GameLevels\GLevel03.bmp,Levels\GameLevels\Level03G.bmp
			TextureSet						Textures::Rock
			RockFallStyle					Rock
			EmergeCreature					RockMonster
			;;;;; SURFACE TYPE ;;;;;

			BlockSize						40
			DigDepth						40
			RoughLevel						6
			RoofHeight						40
			UseRoof						YES
			SelBoxHeight					10
			FogColourRGB					110:110:155		// ROCK FOG
			HighFogColourRGB				155:155:110		// ROCK FOG
			
			Fallinmultiplier 30
			NumberOfLandSlidesTillCaveIn 8			
			NoFallins FALSE

			CryoreMap						Levels\GameLevels\Level26\Cror_03.map
			SurfaceMap						Levels\GameLevels\Level26\High_03.map
			PreDugMap						Levels\GameLevels\Level26\Dugg_03.map
			TerrainMap						Levels\GameLevels\Level26\Surf_03.map
			PathMap							Levels\GameLevels\Level26\Path_03.map
			EmergeMap                       Levels\GameLevels\Level26\Emrg_03.map
			
			OxygenRate                      17

			SafeCaverns						FALSE

			OListFile						Levels\GameLevels\Level26\03.ol
			PTLFile							Levels\GameLevels\Level26\03.ptl

			NERPFile						Levels\GameLevels\Level26\npl.npl

			ObjectiveText					Languages\ObjectiveText.txt
			ObjectiveImage640x480			Interface\BriefingPanel\BriefingPanel.bmp,76,100
			
			FrontEndX						101
			FrontEndY						4850
                        FrontEndOpen                                            TRUE

			
			Priorities {
			
				AI_Priority_Repair			    	TRUE
				AI_Priority_Construction			TRUE
				AI_Priority_Recharge			    TRUE
				AI_Priority_Reinforce				TRUE
				AI_Priority_Clearing				TRUE
				AI_Priority_Crystal				    TRUE
				AI_Priority_Destruction				TRUE
				AI_Priority_Ore					    TRUE
				AI_Priority_GetIn					TRUE
				AI_Priority_GetTool				    TRUE
			}

			Reward {
				Enable						TRUE
				Modifier					1
				Importance {
					Crystals				250
					Timer					10000
					Caverns				10
				}
				Quota {
					Crystals				250
					Timer					10000
					Caverns				10
				}
			}
		}

Yes, I used aiden's level Tunneled! and copied the contents to the folder Level26.  This isn't going to be what I put there; I just shoved something into that folder until I figure out what's going on with the new levels :P.

 

I would greatly appreciate some help on this; along with ideas for custom maps to add to the mod.

 

Spoiler

Yes, I'm working on a mod and yes, I'm including some of the best ideas from this site.  Everyone who helps and who posted something I end up using will be fully credited.

 

No timeline on an initial release date, though you can PM me if you want to test a beta version.

Thank you!

 

Edit: If I need to provide more than that part of the cfg please let me know.

Link to comment
Share on other sites


			FrontEndX						101
			FrontEndY						4850
                        FrontEndOpen                                            TRUE

 

Hmmm... Wander over to Level25 (or any other level really) and toss the line

LevelLinks						Levels::Level26

in there.

 

Or have you already done that?

Link to comment
Share on other sites

  • Administrators
ShadowDraikana

I tried this already, at least in the same line.  Example, LevelLinks   Levels::Levelxx,Levels::Level26.  Hasn't worked, and has resulted in the above-mentioned blackouts each time.  As I said in the 5th "paragraph" of my topic, I tried doing this with Level25 already; still doesn't show up.  If you mean adding another LevelLinks line in, EDIT: tried it, doesn't work.

 

Link to comment
Share on other sites

  • 3 weeks later...
  • Administrators
ShadowDraikana

UPDATE: After chatting with @RockRaiderWolf, I tried a modified version of his method (which aidenpons mentioned above).  For some bizarre reason, deleting and pasting back in Level 26 (with the level links in level 25 inserted) worked.  This game is something else...  

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.