Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 28, 2016, 4:04:42 PM (9 years ago)
Author:
tgidron
Message:

New Pickups (speed); Level Counter and Crate spawn (not working)

Location:
code/branches/tgidronFS16/data
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tgidronFS16/data/levels/Hover.oxw

    r11171 r11177  
    2424MAZE_SIZE = MAZE_NUM_CELLS*MAZE_CELL_SIZE
    2525?>
     26<!--
     27<Template name=mediumdamagehoverpickupRepresentation>
     28    <PickupRepresentation>
     29        <spawner-representation>
     30            <StaticEntity>
     31                <attached>
     32                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
     33                        <attached>
     34                            <Billboard position="0,0,0" colour="0.70,0.10,0.10" material="Damage" scale=0.5 />
     35                        </attached>
     36                    </Billboard>
     37                </attached>
     38            </StaticEntity>
     39        </spawner-representation>
     40    </PickupRepresentation>
     41</Template>
     42
     43<Template name=damagehover baseclass=DamageBoostPickup>
     44  <DamageBoostPickup
     45    representation = "mediumdamagehoverpickup"
     46    duration = 10.0
     47    damageMultiplier = 5.0
     48    activationType = "immediate"
     49    durationType = "continuous"
     50  />
     51</Template> -->
     52
     53<Template name=hugespeedpickupRepresentation>
     54    <PickupRepresentation>
     55        <spawner-representation>
     56            <StaticEntity>
     57                <attached>
     58                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
     59                        <attached>
     60                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.7 />
     61                        </attached>
     62                    </Billboard>
     63                </attached>
     64            </StaticEntity>
     65        </spawner-representation>
     66    </PickupRepresentation>
     67</Template>
     68
     69<Template name=hugespeedpickup baseclass=SpeedPickup>
     70  <SpeedPickup
     71    representation = "hugespeedpickup"
     72    duration = 10.0
     73    speedAdd = 0.0
     74    SpeedMultiply = 50.0
     75    activationType = "immediate"
     76    durationType = "continuous"
     77  />
     78</Template>
     79
     80
    2681
    2782<Template name=destroyhoverpickupRepresentation>
     
    45100</Template>
    46101
     102<Template name=obstacle baseclass=Pawn>
     103    <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 4" >
     104        <attached>
     105            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     106        </attached>
     107        <collisionShapes>
     108            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     109        </collisionShapes>
     110    </Pawn>
     111</Template>
     112
     113
    47114<Level
    48115plugins = hover
     
    72139    />
    73140
     141    <PickupRepresentation
     142      name = "hugespeedpickup"
     143      pickupName = "Huge Speed Boost"
     144      pickupDescription = "Multiplies Speed of the Ship by a huge amount."
     145      spawnerTemplate = "hugespeedpickupRepresentation"
     146      inventoryRepresentation = "HugeSpeed"
     147    />
     148<!--
     149    <PickupRepresentation
     150      name = "damagehover"
     151      pickupName = "Medium Damage Hover Pickup"
     152      pickupDescription = "Multiplies the ship damage with 5."
     153      spawnerTemplate = "mediumdamagehoverpickupRepresentation"
     154      inventoryRepresentation = "MediumDamageHover"
     155    /> -->
     156
    74157    <StaticEntity position="0,0,0" collisionType="static">
    75158      <attached>
     
    78161          cellSize="<?lua print(MAZE_CELL_SIZE)?>"
    79162          cellHeight="<?lua print(MAZE_CELL_HEIGHT)?>"
     163          obstacletemplate=obstacle
    80164          pickuptemplate=destroyhoverpickup
    81165          pickuprepresentationtemplate=destroyhoverpickupRepresentation
     166          pickuptemplatedam=hugespeedpickup
     167          pickuprepresentationtemplatedam=hugespeedpickupRepresentation
    82168        />
    83169        <Model
  • code/branches/tgidronFS16/data/levels/includes/weaponSettingsHover.oxi

    r11171 r11177  
    1717    </Weapon>
    1818    <Weapon>
    19       <EnergyDrink mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare" muzzleoffset=" 0.8, 1, -18.0" projectileMesh="LaserBeam2.mesh" />
     19      <EnergyDrink mode=0 munitionpershot=0 delay=0 damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 0.8, 1, -18.0" projectileMesh="LaserBeam2.mesh" />
    2020    </Weapon>
    2121  </WeaponPack>
  • code/branches/tgidronFS16/data/levels/templates/spaceshipHover.oxt

    r11168 r11177  
    7979   boostfactor    = 2
    8080
    81    speedfront     = 120
     81   speedfront     = 150
    8282   speedback      =  40
    8383   speedleftright =  40
  • code/branches/tgidronFS16/data/overlays/HoverHUD.oxo

    r11171 r11177  
    7676    />
    7777
    78     <FlagsAndLivesHUD
     78    <OverlayText
     79     position  = "0.02, 0.16"
     80     pickpoint = "0.0, 0.0"
     81     font      = "ShareTechMono"
     82     textsize  = 0.04
     83     colour    = "1.0, 1.0, 1.0, 1.0"
     84     align     = "left"
     85     caption   = "Level: "
     86    />
     87
     88    <TFlagsLivesLevelHUD
    7989     position  = "0.14, 0.02"
    8090     pickpoint = "0.0, 0.0"
     
    8393     colour    = "1.0, 1.0, 1.0, 1.0"
    8494     align     = "left"
     95     showFlags = true
    8596     showLives = false
     97     showLevel = false
     98
    8699     />
    87100
    88      <FlagsAndLivesHUD
     101     <TFlagsLivesLevelHUD
    89102     position  = "0.14, 0.04"
    90103     pickpoint = "0.0, 0.0"
     
    93106     colour    = "1.0, 1.0, 1.0, 1.0"
    94107     align     = "left"
     108     showFlags = false
    95109     showLives = true
     110     showLevel = false
    96111
    97112     />
     113
     114     <TFlagsLivesLevelHUD
     115     position  = "0.14, 0.06"
     116     pickpoint = "0.0, 0.0"
     117     font      = "ShareTechMono"
     118     textsize  = 0.04
     119     colour    = "1.0, 1.0, 1.0, 1.0"
     120     align     = "left"
     121     showFlags = false
     122     showLives = false
     123     showLevel = true
     124
     125     />
     126
    98127
    99128  </OverlayGroup>
Note: See TracChangeset for help on using the changeset viewer.