hello i am making a mod to include the material Laboratory and others but i have run into a little snag :/ i have fixed many of he other problems but i just annot get the R-Dedicat-Advmats to appear in the research center :/ this is the log file:
--- Starting log [C:\Users\carbondudeoxide\Documents\Warzone 2100 3.1\logs\WZlog-1002_221418.txt]---
info |10:14:18: [realmain:1128] Using C:\Users\carbondudeoxide\Documents\Warzone 2100 3.1\logs\WZlog-1002_221418.txt debug file
info |10:14:22: [loadMapPreview:456] Loading map preview: "Sk-Rush" builtin t2
last message repeated 2 times
info |10:14:29: [setIconID:1475] Invalid icon graphic 1 for topic R-Dedicat-Advmats
info |10:14:29: [setIconID:1475] Assert in Warzone: research.cpp:1475 (false), last script event: '<none>'
info |10:14:52: [structSetManufacture:1011] Wrong template for player 1 factory, type 1.
info |10:14:52: [structSetManufacture:1011] Assert in Warzone: structure.cpp:1011 ((validTemplateForFactory(psTempl, psStruct) && researchedTemplate(psTempl, psStruct->player, true)) || psStruct->player == scavengerPlayer() || !bMultiPlayer), last script event: 'N/A'
info |10:14:52: [structSetManufacture:1011] Wrong template for player 2 factory, type 1.
info |10:14:52: [structSetManufacture:1011] Assert in Warzone: structure.cpp:1011 ((validTemplateForFactory(psTempl, psStruct) && researchedTemplate(psTempl, psStruct->player, true)) || psStruct->player == scavengerPlayer() || !bMultiPlayer), last script event: 'N/A'
info |10:14:52: [structSetManufacture:1011] Wrong template for player 3 factory, type 1.
info |10:14:52: [structSetManufacture:1011] Assert in Warzone: structure.cpp:1011 ((validTemplateForFactory(psTempl, psStruct) && researchedTemplate(psTempl, psStruct->player, true)) || psStruct->player == scavengerPlayer() || !bMultiPlayer), last script event: 'N/A'
please could someone help me find the problem as i have been scratching my head for three hours now :/
You do not have the required permissions to view the files attached to this post.
Your problem is in prresearch.txt and resultstructure.txt. At the end of each entry there, there is a number at the end.The new entry you put in both have a zero so put some other nonzero number there and that should fix it.
KB99 wrote:Your problem is in prresearch.txt and resultstructure.txt. At the end of each entry there, there is a number at the end.The new entry you put in both have a zero so put some other nonzero number there and that should fix it.
i chnaged them to non zero numbers ad this is now the log:
ok have been messing around for the pas 2 hours on it and ive changed the name of the research and now i have it working, i also noticed hat if it was at the bottom of research.txt it would not load into the game (i do not know why) either way i have gotten i working