Shadeto - EDukeWiki

# Shadeto

From EDukeWiki

shadeto <value>

In EDuke32, this is a dummy command that does nothing with <value>.

shadeto, though originally in early versions of Duke Nukem 3D, was removed after v1.1. It appears to function in a similar way as sizeto, though with shade. It was only used with FLOORFLAME, an actor taken from Rise of the Triad, still found in the art and CON code of the final game, though never used, and the Octabrain, then named JELLYFISH. In both cases, the only values used are 127 and -127.

    action FFLAME_FR 0 16 1 1 1
    action FFLAME 0 1 1 1 1

    actor FLOORFLAME 0 FFLAME_FR
            ifaction FFLAME_FR
            {
                    shadeto -127
                    ifpdistl 1024 hitradius 1024 WEAKEST WEAKEST WEAKEST WEAKEST
                    ifactioncount 16
                        action FFLAME
            }
            ifaction FFLAME ifrnd 4
            {
                 action FFLAME_FR
                 sound CAT_FIRE
                 resetactioncount
            }

    enda

    state jellyshootenemystate
        ifcount 25 { ifcount 27 ai AIJELLYGETENEMY }
        else ifcount 24 shoot COOLEXPLOSION1
        else
        {
            ifactioncount 6 resetactioncount
            else ifactioncount 3 { shadeto -127 shadeto -127 shadeto -127 shadeto -127 }
            else { shadeto 127 shadeto 127 shadeto 127 shadeto 127 }
        }
    ends

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Shadeto&oldid=11644"
Category:

- EDuke32 specific commands