CoTS

From Pool's Closed Wiki
Jump to: navigation, search

Children of the Sky Cubes

Fearofgod.swf adapted to SL. It was designed to be as close a reproduction as possible.

The current texture holds the original format but can't fit a lot of frames in; PN has a texture with more frames (smoother animation) but with half the image cut off. Take your pick. The sound work is superior to the short loop commonly used though.

Cots-cube.jpg


default{state_entry(){
    llPreloadSound("a6e945b2-c244-e3f3-5df4-98fbdf56d7cf");
    llPreloadSound("a397fa26-0dad-3f63-d720-e8b4fa8377d9");
    llPreloadSound("427c186b-3e4b-d2c8-f5b7-f4a0fc7d646a");
        llSetTexture("33748f4e-42ee-4b54-06d6-6ec244b54480",ALL_SIDES);
        llSetTextureAnim(ANIM_ON | LOOP, ALL_SIDES, 4, 4, 0, 0, 8);
llSetTimerEvent(20); // Total length of all sounds
}timer(){
llPlaySound("a6e945b2-c244-e3f3-5df4-98fbdf56d7cf",1.0);
llSleep(9.86);
llPlaySound("a397fa26-0dad-3f63-d720-e8b4fa8377d9",1.0);
llSleep(9.86);
llPlaySound("427c186b-3e4b-d2c8-f5b7-f4a0fc7d646a",1.0);
 llSleep(0.47);
 }
}