Jump to content

Crashing Level - Wierdest Ever


Lair
 Share

Recommended Posts

Well, I messed around with the NPL of RtPU - Level 3 - Driller Night!, set to find 25 EC. Used Ice Spy NPL as base. It's the same style as old DN, find the TS and get EC. Then I opened the level - And as soon as Chief left... The 3 RRs teleported out and Chief said mission failed. Basicly, I failed the mission in 0.001 seconds...

I have no idea...

Link to comment
Share on other sites

Error: If there was no tool store, you loose the game. I hate levels like that, you have lots of RRs and Power Paths, but loose a tool store and BOOM.

Link to comment
Share on other sites

I don't know if you did something really weird, but as long as there's a Pilot in the cavern you can't fail like that.

Link to comment
Share on other sites

Anonymouse

Here's your NPL script.


// Has the player lost?

TRUE ? SetR1 0 // Reset R1 to 0

GetMiniFiguresOnLevel < 1 ? AddR1 1 // No RRs left? Add 1 to R1

GetToolStoresBuilt < 1 ? AddR1 1 // No Tool stores left? Add 1 to R1

// Now if R1 is 2, the player loses because it indicates that nothing useful is left on the level

GetR1 = 2 ? SetLevelFail // Neither RRs nor Tool Stores? DIE PLAYER!


// Has the player won?

TRUE ? SetR2 0 // Reset R2 to 0

GetCrystalsCurrentlyStored > 9 ? AddR2 1 // If more than 9 ECs are stored, increment R2

GetOreCurrentlyStored > 9 ? AddR2 1 // If more than 9 ores are stored, increment R2 again

// Now R2 will be 2 if both objectives have been completed

GetR2 = 2 ? SetLevelCompleted


// And continue to the next tick!

I've commented it as well as I can. All it really does is require the player to get 10 ECs and 10 ore pieces.

To remove the ore objective: change "GetOreCurrentlyStored > 9" to "GetOreCurrentlyStored > 0" (Still needs one piece of ore which hopefully shouldn't cause any problems)

To remove the crystal objective: change "GetCrystalsCurrentlyStored > 9" to "GetCrystalsCurrentlyStored > 0" (Still needs one piece of EC which hopefully shouldn't cause any problems)

Link to comment
Share on other sites

Thanks Mouse

I don't know if you did something really weird, but as long as there's a Pilot in the cavern you can't fail like that.

Exept that the NPL had it to die without Toolstores. IDK why...

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.