[Idea] Position Randomizer for LevelController - Printable Version +- Colobot Forum - International Colobot Community (https://colobot.info/forum) +-- Forum: [Archive] New forum (2015-2019) (https://colobot.info/forum/forumdisplay.php?fid=76) +--- Forum: Colobot: Gold Edition Basics (https://colobot.info/forum/forumdisplay.php?fid=58) +---- Forum: General (https://colobot.info/forum/forumdisplay.php?fid=59) +---- Thread: [Idea] Position Randomizer for LevelController (/showthread.php?tid=779) |
[Idea] Position Randomizer for LevelController - DavivaD - 04-27-2016 Refresh of this thread. RE: [Idea] Position Randomizer for LevelController - True Destroyer - 04-27-2016 You can use the cheat command produce() in a program with random coordinates for this, so you can for example place in scene.txt an unreachable bot or alien (maybe underground somehow? not sure if "h=-Value" works for stuff other than decoration) , with script that spawns items on start and does nothing else. Like CreateObject pos=-800;-800 dir type=AlienAnt script1="%lvl%/SPAWNRANDOMSTUFF.TXT" run=1 selectable=0 Not sure if it works for decoration items though, because of their their (lack of) categories, probably no RE: [Idea] Position Randomizer for LevelController - tomangelo - 04-27-2016 For decorations you need to insert object number, like produce(654); Full list at https://github.com/colobot/colobot/blob/dev/src/object/object_type.h RE: [Idea] Position Randomizer for LevelController - krzys_h - 04-28-2016 (04-27-2016, 11:32 AM)True Destroyer Wrote: an unreachable bot or alien (maybe underground somehow? not sure if "h=-Value" works for stuff other than decoration) , with script that spawns items on start and does nothing else.This is what LevelController is for: Code: LevelController script="%lvl%/SPAWNRANDOMSTUFF.TXT" RE: [Idea] Position Randomizer for LevelController - RaptorParkowsky - 04-29-2016 I think it's a good time to document this LevelController aka "GhostBot" thingie and other scene related stuff somewhere. Maybe we should do some pages about creating (user-)levels in SatCom instead of Wiki, GDD, etc. I think it would be easy and quick enough to just "port" and update original PDF document about creating (user-)levels. Then every chapter would be different SatCom page, there would be also images from original PDF (if I remember correct, in ceebot.zip there was all images from that PDF in better quality). Porting that PDF would be good start for making it up-to-date. It will be enough easy to add something there, update or translate this. |