Jump to content

Rock Raiders won't drill or do anything in a custom level that replaces a training mission


Cavinator1
 Share

Recommended Posts

I decided to try out Rock Raider modding by creating some custom levels. Everything's been going great, except for one thing...

Basically, I first created a test level that I replaced Driller Night (Level01) with, where I made a custom goal be to collect ten energy crystals. Everything works fine, the rock raiders do what I tell them to do.

However, I then decided to create another level that replaces one of the training mission levels (specifically 1. Moving Rock Raiders, MoveTuto01). I changed the npl file to my own crystal-collecting goal, which gets rid of the tutorial speech and confinement, and then changed a few other settings in the Lego.cfg file.

Except when I went to test this level, although the mission starts with no training mission dialogue and I can freely move my camera, teleport Rock Raiders from the tool store, and click on walls and tell my Rock Raiders to drill them, whenever I do that, they don't do anything. They just stand there doing nothing.

I've tried everything I can think of to fix this issue, including checking my Lego.cfg code against other missions and even against missions that replaced training missions from Baz's Mod, but no matter what I do the issue remains.

The only thing I can think of is that there must be some hidden mechanism in training mission levels that makes rock raiders not able to move at all except when directed by the mission's tutorial, and I haven't been able to find it and turn it off.

This is my Lego.cfg code for the mission that replaces MoveTuto01:

		Tutorial01
		{
			FullName						Drilling_Heaven

			AllowRename						TRUE
			RecallOLObjects					TRUE
			GenerateSpiders					TRUE
			GenerateSnakes					TRUE
			
			NoMultiSelect					FALSE
			NoAutoEat						FALSE
			DisableToolTipSound				FALSE			

			DisableEndTeleport				FALSE
			DisableStartTeleport			FALSE

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

			OxygenRate						0
			
			BlockSize						40
			DigDepth						40
			RoughLevel						6
			RoofHeight						40
			UseRoof							YES
			SelBoxHeight					10
			FogColourRGB					110:110:155		; ROCK FOG
			HighFogColourRGB				155:155:110		; ROCK FOG

			SurfaceMap						Levels\TutorialLevels\MoveTuto_01\High_M01.map
			PredugMap						Levels\TutorialLevels\MoveTuto_01\Dugg_M01.map
			TerrainMap						Levels\TutorialLevels\MoveTuto_01\Surf_M01.map
			BlockPointersMap				Levels\TutorialLevels\MoveTuto_01\Tuto_M01.map
			CryOreMap						Levels\TutorialLevels\MoveTuto_01\Cryo_M01.map
			PathMap							Levels\TutorialLevels\MoveTuto_01\Path_M01.map


			TextureSet						Textures::Rock
			RockFallStyle					Rock

			EmergeCreature					RockMonster
			SafeCaverns						TRUE

			SeeThroughWalls					FALSE

			OListFile						Levels\TutorialLevels\MoveTuto_01\M01.ol
			PTLFile							Levels\TutorialLevels\MoveTuto_01\M01.ptl

			NERPFile						Levels\TutorialLevels\MoveTuto_01\M01.npl
			NERPMessageFile					Levels\TutorialLevels\MoveTuto_01\M01.txt

			ObjectiveText					Languages\ObjectiveText.txt
			ObjectiveImage640x480			Interface\BriefingPanel\BriefingPanel.bmp,76,100

			NextLevel						Levels::Tutorial02
			LevelLinks						Levels::Tutorial02
			FrontEndX						101
			FrontEndY						113
			FrontEndOpen					TRUE
			MenuBMP							Levels\TutorialLevels\Tutorial01.bmp,Levels\TutorialLevels\GTutorial01.bmp,Levels\TutorialLevels\Tutorial01G.bmp

			Priorities {
				AI_Priority_Train					TRUE
				AI_Priority_GetIn					TRUE
				AI_Priority_Crystal					TRUE
				AI_Priority_Ore						TRUE
				AI_Priority_Repair					TRUE
				AI_Priority_Clearing				TRUE
				AI_Priority_Destruction				TRUE
				AI_Priority_Construction			TRUE
				AI_Priority_Reinforce				TRUE
				AI_Priority_Recharge				TRUE
			}
			Reward {
				Enable								TRUE
				Modifier							2
				Importance {
					Constructions						10
					Crystals							60
					Oxygen							0
					Caverns							30
				}
				Quota {
					Constructions						1
					Crystals							15
					Caverns							2
				}
			}
		}

Someone please help! :)

Link to comment
Share on other sites

did you change/replace the PTL file with one from/like the normal levels? that might screw with some things if you haven't; i'm not sure what the tutorial PTL files are like but they're probably weirder than the normal ones.

Link to comment
Share on other sites

No, I hadn't touched the PTL file at all. So I replaced it with the one from Driller Night.

The good news: It worked. They're drilling and working properly now. Thanks for the advice. :thumbsup:

Link to comment
Share on other sites

On 12/30/2016 at 5:48 PM, Ringtail said:

i'm not sure what the tutorial PTL files are like but they're probably weirder than the normal ones.

They are indeed.

 

Also worth noting is that at the bottom (IIRC) of the Levels section the Tutorials are repeated. This is because the tutorials in the main Level Picker (Start Game) are different to the tutorials accessed straight from the Main Menu - and again IIRC you can turn these two into separate levels.

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.