| 37 | } |
| 38 | |
| 39 | void CMincer::Load(LPCSTR section) |
| 40 | { |
| 41 | inherited::Load(section); |
| 42 | |
| 43 | m_telekinetics.set_destroing_particles(shared_str(pSettings->r_string(section, "tearing_particles"))); |
| 44 | m_telekinetics.set_throw_power(pSettings->r_float(section, "throw_out_impulse")); |
| 45 | m_torn_particles = pSettings->r_string(section, "torn_particles"); |
| 46 | m_tearing_sound.create(pSettings->r_string(section, "body_tearing_sound"), st_Effect, sg_SourceType); |
| 47 | m_fActorBlowoutRadiusPercent = pSettings->r_float(section, "actor_blowout_radius_percent"); |
| 48 | // bak |
| 49 | m_fArtefactSpawnProbabilityTorn = READ_IF_EXISTS(pSettings, r_float, section, "birth_on_torn_probability", 1.0f); |
| 50 | |
| 51 | // pSettings->r_fvector3(section,whirlwind_center); |
| 52 | } |
| 53 | |
| 54 | BOOL CMincer::net_Spawn(CSE_Abstract* DC) |
| 55 | { |
nothing calls this directly
no test coverage detected