Refresh of this thread.
Thread Rating:
[Idea] Position Randomizer for LevelController
|
04-27-2016, 11:32 AM
(This post was last modified: 04-27-2016, 12:50 PM by True Destroyer.)
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 For Colobot: Gold Edition check out my TrueLevels level pack, UI Texture replacement pack and Sound Effect replacement pack.
Trailer for TrueLevels and my youtube channel here. Cheers!
04-27-2016, 11:59 AM
For decorations you need to insert object number, like produce(654);
Full list at https://github.com/colobot/colobot/blob/...ect_type.h Spoiler :
04-28-2016, 07:04 AM
(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"
04-29-2016, 06:39 PM
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. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)