• warning: Creating default object from empty value in /home/ordinal/ordinalmalaprop.com/engine/modules/taxonomy/taxonomy.pages.inc on line 34.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • strict warning: Non-static method view::load() should not be called statically in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_field_comment::init() should be compatible with views_handler_field::init(&$view, $options) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/modules/comment/views_handler_field_comment.inc on line 49.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/modules/node/views_handler_filter_node_status.inc on line 13.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
  • strict warning: Non-static method view::load() should not be called statically in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/handlers/views_handler_argument.inc on line 744.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 159.
  • strict warning: Non-static method view::load() should not be called statically in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/views.module on line 906.

Particle effects

Ordinal Christmas Particle Tree

// Christmas Particle Tree // Ordinal Malaprop 2009-12-22 // LICENCE // Creative Commons Attribution-Noncommercial 3.0 // See http://creativecommons.org/licenses/by-nc/3.0/ for more details //--------------------------------------------------------------------- // Play with these values if you wish float HEIGHT = 4.0; float MAX_BEND = 0.05; float BRANCH_LENGTH = 1.0; integer BRANCH_DENSITY = 20; vector BASE_COLOUR = <0.25, 0.75, 0.25>; //--------------------------------------------------------------------- leaves(float z) { z /= HEIGHT; llParticleSystem([ PSYS_PART_FLAGS, PSYS_PART_FOLLOW_VELOCITY_MASK | PSYS_PART_EMISSIVE_MASK, PSYS_PART_START_COLOR, BASE_COLOUR * ((z * 0.7) + llFrand(0.3)), PSYS_PART_START_ALPHA, 1.0, PSYS_PART_START_SCALE, <0.1, BRANCH_LENGTH, 0.0>, PSYS_PART_MAX_AGE, 30.0, PSYS_SRC_ACCEL, <0.00,0.00,0.0>, PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE_CONE, PSYS_SRC_ANGLE_BEGIN, PI * (0.5 + z * 0.4), PSYS_SRC_ANGLE_END, PI * (0.5 + z * 0.4), PSYS_SRC_BURST_RATE, 0.05, PSYS_SRC_BURST_PART_COUNT, BRANCH_DENSITY, PSYS_SRC_BURST_RADIUS, BRANCH_LENGTH * 0.62, PSYS_SRC_BURST_SPEED_MIN, 0.0, PSYS_SRC_BURST_SPEED_MAX, 0.05, PSYS_SRC_MAX_AGE, 0.0 ]); llSleep(0.8); llParticleSystem([]); } //--------------------------------------------------------------------- default { state_entry() { llSetAlpha(0.0, ALL_SIDES); llSetRot(ZERO_ROTATION); vector startPos = llGetPos(); vector pos = startPos; pos.z += 1.0; rotation direction = llEuler2Rot(<0.0, 0.0, llFrand(TWO_PI)>); float bendiness = llFrand(MAX_BEND); llSetRot(direction); while (pos.z < startPos.z + HEIGHT) { llSetPos(pos); leaves(pos.z - startPos.z); llSetRot(llEuler2Rot(<0.0, bendiness + llFrand(0.05), 0.0>) * llGetRot()); pos += <0.0, 0.0, 0.5> * llGetRot(); } llSetRot(ZERO_ROTATION); llSetPos(startPos); llSetAlpha(1.0, ALL_SIDES); } on_rez(integer p) { llResetScript(); } touch_start(integer n) { llResetScript(); } }
Syndicate content