Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 54 and Version 55 of pps/tutorial


Ignore:
Timestamp:
Sep 30, 2013, 11:22:10 AM (11 years ago)
Author:
smerkli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • pps/tutorial

    v54 v55  
    147147}}}
    148148Of course ClassX has to be replaced with the class name of the object you want to create. Additionally the parameters ''variable1'', ''string1'' and ''coord1'' are just examples, they have to be replaced by the appropriate parameters for your drone.
    149  3. Now add the appropriate entries for the variables you defined in ''AutonomousDrone.cc''. (Have a look at ''data/levels/templates/spaceship_assff.oxt'' for example values of the different thrusts).
     149 3. Now add the appropriate entries for the variables you defined in ''AutonomousDrone.cc''. (Have a look at ''data/levels/templates/spaceshipAssff.oxt'' for example values of the different thrusts).
    150150 4. As we want our drone to be visible we have to attach a model to it. Add the following code between the above 2 lines:
    151151{{{