aidenpons Posted October 3, 2013 Share Posted October 3, 2013 Ok, it works now. But does anyone know why it didn't work earlier? I've tried to get this NPL working, but it doesn't want to. Here's the NRM file which I've compiled into an NPL using Cyrem's NPL scripter. TRUE ? SetTutorialFlags 0 TRUE ? SetMessagePermit 1 TRUE ? SetR0 0 TRUE ? SetR1 0 GetToolStoresBuilt < 1 ? AddR1 1 GetMiniFiguresOnLevel < 1 ? AddR1 1 GetR1 = 2 ? SetLevelFail GetOxygenLevel < 1 ? SetLevelFail GetCrystalsCurrentlyStored > 199 ? SetLevelCompleted GetOxygenLevel > 10 ? :howmanyslugs :slugs howmanyslugs: { GetCrystalsCurrentlyStored > 20 ? SetR0 3 GetCrystalsCurrentlyStored > 40 ? SetR0 4 GetCrystalsCurrentlyStored > 50 ? SetR0 5 GetCrystalsCurrentlyStored > 60 ? SetR0 6 GetCrystalsCurrentlyStored > 70 ? SetR0 7 GetCrystalsCurrentlyStored > 80 ? SetR0 8 GetCrystalsCurrentlyStored > 90 ? SetR0 9 GetCrystalsCurrentlyStored > 100 ? SetR0 10 GetCrystalsCurrentlyStored > 110 ? SetR0 11 GetCrystalsCurrentlyStored > 120 ? SetR0 12 GetCrystalsCurrentlyStored > 130 ? SetR0 13 GetCrystalsCurrentlyStored > 140 ? SetR0 14 GetCrystalsCurrentlyStored > 150 ? SetR0 15 GetCrystalsCurrentlyStored > 160 ? SetR0 17 GetCrystalsCurrentlyStored > 170 ? SetR0 19 GetCrystalsCurrentlyStored > 180 ? SetR0 20 GetCrystalsCurrentlyStored > 185 ? SetR0 21 GetCrystalsCurrentlyStored > 190 ? SetR0 22 GetCrystalsCurrentlyStored > 195 ? SetR0 25 } slugs: { GetSlugsOnLevel < GetR0 ? GenerateSlug GetRandom100 > 95 ? GenerateSlug } I'm using the good ol' WAD method, I've recompiled both WADs several times, and it's not working! There are slug holes on the map, but none come out. Something that might be of use to know is that the crystal count doesn't work either and the messages still come up from the original level, Search 'n' Rescue. I copied over the old .map files, so the map is completely different, but it is using Level07's slot. Do I need a line in the CFG or something? So, does anyone know what went wrong? Link to comment Share on other sites More sharing options...
aidenpons Posted October 7, 2013 Author Share Posted October 7, 2013 What? It works after compiling to an npl that isn't called 07.npl and telling the CFG to use that? But now I have another problem: slugs just endlessly come out. So now it works, but it's not doing what I want it to do. Link to comment Share on other sites More sharing options...
Recommended Posts