I created a new item. I copied the "Scorched Gardens" scenario, changed the word "TeleGlove" to "Roct" which is the id of my new item, put it in my OC folder, ran it, and started the scenario. The clonks didn't appear, and there was no sound. What have I done wrong?
...I fixed the no sound error. That is to say, I turned on my speakers. Ahem. Still not sure why the clonks aren't actually spawning.
Further experimentation leads me to discover that Scorched Gardens doesn't work when placed in the main folder of OpenClonk, apparently. That, or the one I'm copying from a cloned repository doesn't contain all the needed files.
[10:00:39] 259 definitions loaded.
[10:00:39] ScorchedGardens.ocs...
[10:00:39] 1 definitions loaded.
[10:00:39] C4AulScriptEngine linked - 41636 lines, 0 warnings, 0 errors
[10:00:39] Texture table holds 39 entries.
[10:00:41] 30 textures loaded.
[10:00:41] 20 materials loaded.
[10:00:41] Creating landscape...
[10:00:42] gl: Texturing uses 29 slots at 512x512, 4 levels (44 MB total)
[10:00:42] gl: Shader 0 linked successfully
[10:00:42] Placing environment objects...
[10:01:13] Network: Synchronization (Frame 0) [PlrSave: 0]
[10:01:13] Game started.
[10:01:13] Player join: Fluff
[10:01:13] Player join: Neuling
[10:01:16] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:16] by: Object(90)->FxIntTimeLimitTimer(Object(90),{Name = "IntTimeLimit"},108) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:16] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:16] by: Object(119)->FxIntTimeLimitTimer(Object(119),{Name = "IntTimeLimit"},108) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:17] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:17] by: Object(90)->FxIntTimeLimitTimer(Object(90),{Name = "IntTimeLimit"},144) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:17] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:17] by: Object(119)->FxIntTimeLimitTimer(Object(119),{Name = "IntTimeLimit"},144) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:18] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:18] by: Object(90)->FxIntTimeLimitTimer(Object(90),{Name = "IntTimeLimit"},180) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:18] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:18] by: Object(119)->FxIntTimeLimitTimer(Object(119),{Name = "IntTimeLimit"},180) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:00:39] ScorchedGardens.ocs...
[10:00:39] 1 definitions loaded.
[10:00:39] C4AulScriptEngine linked - 41636 lines, 0 warnings, 0 errors
[10:00:39] Texture table holds 39 entries.
[10:00:41] 30 textures loaded.
[10:00:41] 20 materials loaded.
[10:00:41] Creating landscape...
[10:00:42] gl: Texturing uses 29 slots at 512x512, 4 levels (44 MB total)
[10:00:42] gl: Shader 0 linked successfully
[10:00:42] Placing environment objects...
[10:01:13] Network: Synchronization (Frame 0) [PlrSave: 0]
[10:01:13] Game started.
[10:01:13] Player join: Fluff
[10:01:13] Player join: Neuling
[10:01:16] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:16] by: Object(90)->FxIntTimeLimitTimer(Object(90),{Name = "IntTimeLimit"},108) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:16] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:16] by: Object(119)->FxIntTimeLimitTimer(Object(119),{Name = "IntTimeLimit"},108) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:17] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:17] by: Object(90)->FxIntTimeLimitTimer(Object(90),{Name = "IntTimeLimit"},144) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:17] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:17] by: Object(119)->FxIntTimeLimitTimer(Object(119),{Name = "IntTimeLimit"},144) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:18] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:18] by: Object(90)->FxIntTimeLimitTimer(Object(90),{Name = "IntTimeLimit"},180) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
[10:01:18] ERROR: GetLength: parameter 0 cannot be converted to string or array.
[10:01:18] by: Object(119)->FxIntTimeLimitTimer(Object(119),{Name = "IntTimeLimit"},180) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:83)
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill