Changeset 10602
- Timestamp:
- Sep 27, 2015, 10:15:01 PM (9 years ago)
- Location:
- code/branches/weaponFS15
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weaponFS15/data/levels/includes/weaponSettingsAssff.oxi
r10601 r10602 43 43 </Weapon> 44 44 </WeaponPack> 45 <WeaponPack>46 45 <WeaponPack> 46 <links> 47 47 <DefaultWeaponmodeLink firemode=0 weaponmode=0 /> 48 48 <DefaultWeaponmodeLink firemode=1 weaponmode=1 /> -
code/branches/weaponFS15/data/particle/FieldExplosion.particle
r10435 r10602 2 2 3 3 { 4 5 4 material PE/lensflare 6 7 5 particle_width 152.940002441406 8 9 6 particle_height 154.119995117188 10 11 7 quota 2000 12 13 8 cull_each false 14 15 9 sorted false 16 17 10 local_space false 18 19 11 iteration_interval 0.0 20 21 12 nonvisible_update_timeout 0.0 22 23 13 billboard_type point 24 25 14 billboard_origin center 26 27 15 billboard_rotation_type texcoord 28 29 16 point_rendering false 30 31 17 accurate_facing false 32 18 33 19 emitter Point 20 { 21 position 0.0 0.0 0.0 22 direction 1.0 0.0 0.0 23 angle 0.0 24 emission_rate 200.0 25 velocity_min -1000.0 26 velocity_max 1000.0 27 time_to_live_min 2.0 28 time_to_live_max 4.0 29 duration_min 0.0 30 duration_max 0.0 31 repeat_delay_min 0.0 32 repeat_delay_max 0.0 33 colour_range_start 1 1 1 1 34 colour_range_end 0.666667 0 0 1 35 } 34 36 35 37 emitter Point 36 37 38 { 38 39 39 position 0.0 0.0 0.0 40 41 direction 1.0 0.0 0.0 42 40 direction 0.0 0.0 1.0 43 41 angle 0.0 44 45 42 emission_rate 200.0 46 47 43 velocity_min -1000.0 48 49 44 velocity_max 1000.0 50 51 45 time_to_live_min 2.0 52 53 46 time_to_live_max 4.0 54 55 47 duration_min 0.0 56 57 48 duration_max 0.0 58 59 49 repeat_delay_min 0.0 60 61 50 repeat_delay_max 0.0 62 63 51 colour_range_start 1 1 1 1 64 65 colour_range_end 0.666667 0 0 1 66 52 colour_range_end 0.333333 0 1 1 67 53 } 68 54 69 70 71 55 emitter Point 72 73 56 { 74 75 57 position 0.0 0.0 0.0 76 77 direction 0.0 0.0 1.0 78 58 direction 0.0 1.0 0.0 79 59 angle 0.0 80 81 60 emission_rate 200.0 82 83 61 velocity_min -1000.0 84 85 62 velocity_max 1000.0 86 87 63 time_to_live_min 2.0 88 89 64 time_to_live_max 4.0 90 91 65 duration_min 0.0 92 93 66 duration_max 0.0 94 95 67 repeat_delay_min 0.0 96 97 68 repeat_delay_max 0.0 98 99 69 colour_range_start 1 1 1 1 100 101 colour_range_end 0.333333 0 1 1 102 70 colour_range_end 0 1 0.498039 1 103 71 } 104 72 105 106 107 emitter Point 108 73 affector LinearForce 109 74 { 110 111 position 0.0 0.0 0.0 112 113 direction 0.0 1.0 0.0 114 115 angle 0.0 116 117 emission_rate 200.0 118 119 velocity_min -1000.0 120 121 velocity_max 1000.0 122 123 time_to_live_min 2.0 124 125 time_to_live_max 4.0 126 127 duration_min 0.0 128 129 duration_max 0.0 130 131 repeat_delay_min 0.0 132 133 repeat_delay_max 0.0 134 135 colour_range_start 1 1 1 1 136 137 colour_range_end 0 1 0.498039 1 138 75 force_vector 0.0 -45.62 0.0 76 force_application add 139 77 } 140 78 141 142 143 affector LinearForce 144 79 affector Scaler 145 80 { 146 147 force_vector 0.0 -45.62 0.0148 149 force_application add150 151 }152 153 154 155 affector Scaler156 157 {158 159 81 rate 16.47 160 161 82 } 162 83 163 164 84 } 165 -
code/branches/weaponFS15/src/modules/objects/ForceField.h
r10601 r10602 160 160 const std::string& getMode(void); //!< Get the mode of the ForceField. 161 161 162 //! Strings to represent the modes. 162 163 static const std::string modeTube_s; 163 164 static const std::string modeSphere_s; 164 165 static const std::string modeInvertedSphere_s; 165 166 static const std::string modeNewtonianGravity_s; 166 167 167 static const std::string modeHomogen_s; 168 168 169 169 private: 170 //! Strings to represent the modes.171 172 173 170 float velocity_; //!< The velocity of the ForceField. 174 171 float radius_; //!< The radius of the ForceField.
Note: See TracChangeset
for help on using the changeset viewer.