07-16-2015, 12:24 PM
(07-16-2015, 11:39 AM)RaptorParkowsky Wrote:No, radar() should NOT be able to find her. At least at the current stage, where she is just an element of the UI, not part of the game's world. It should be also somehow blacklisted from retobject().(07-15-2015, 06:48 PM)krzys_h Wrote: Not needed. It can't be used in CBot anyway, it's blacklisted from all functions like radar() etc.In the future her movement and animations should be somehow programmable, especially when we will use her as assistant in the first missions, so I would treat her as half-normal object in the scene, which must be created somewhere and then do some scripted stuff. radar() also should be able to find her.
(BTW, my recent fix to the animations has a side effect that you actually can do this if you do radar(301), but it's not going to be detected by radar(Any))
(07-16-2015, 11:39 AM)RaptorParkowsky Wrote:If won't since she is immediately teleported to the camera position.(07-15-2015, 06:48 PM)krzys_h Wrote: This is not how this was meant to work. There was some code somewhere that created this object independent of level file. Since it's NOT a normal level object, I think we should kinda stick to this way of creating it, maybe through some other parameter likeWhen she will somehow programmable and doing other things than spying the left corner of the screen, that may become important to where she must be placed first at the begin of the level.
Code:Level robbie=true
(07-16-2015, 11:39 AM)RaptorParkowsky Wrote:There MUST be an option to disable her in every level where she is not a part of the gameplay (for example the planned first missions on Earth). That's really easy to implement.(07-15-2015, 06:48 PM)krzys_h Wrote: Of couse, we must bring back the TotoMode option (maybe under a diffrent name) that was supposed to turn this assistant on and off. Some people may prefer to stay in classic Colobot style and disable it.Again, I don't like that idea, because for now even I don't 100% sure what her future development would like to be and how she will be important in the Exercises after levels refactoring. If that's enough easy to implement, so ok, but that will probably need another option in level's scene file that determines it over CreateObject pos=0.0;0.0 dir=0.0 type=RobbieAssistant.