EDF player reference: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
Line 48: Line 48:
Any skin you define will appear in the menu in the "Player Setup" section as an option.
Any skin you define will appear in the menu in the "Player Setup" section as an option.


The default skins are ''marine'' for Doom and ''corvus'' for Heretic.
The default skins are ''marine'' for Doom and ''corvus'' for Heretic. You can define your own ''marine'' or ''corvus'' skin in your mod's EDF and it will replace the default player skin. Do this if you want to change the sprite and sound of the protagonist.

Revision as of 16:08, 31 July 2017

Player class

playerclass name
{
    defaultskin name
    thingtype name
    altattackstate name
    initialhealth number  // default: 100

    speedwalk number      // default: 25
    speedrun number       // default: 50
    speedstrafe number    // default: 24
    speedstraferun number // default: 40
    speedturn number      // default: 640
    speedturnfast number  // default: 1280
    speedturnslow number  // default: 320
    speedlookslow number  // default: 450
    speedlookfast number  // default: 512

    default boolean       // default: false

    rebornitem name, amount
}

By default, under the base folder, in the root player.edf, there are two classes defined: DoomMarine (only if game is Doom) and Corvus (only if game is Heretic).

Player skin

skin name
{
    sprite name      // default: PLAY
    faces prefix     // default: STF
    sounds
    {
        pain name    // default: plpain
        diehi name   // default: pdiehi
        oof name     // default: oof
        gib name     // default: slop
        punch name   // default: punch
        radio name   // default: radio
        die name     // default: pldeth
        fall name    // default: plfall
        feet name    // default: plfeet
        fallhit name // default: fallht
        plwdth name  // default: plwdth
        noway name   // default: noway
    }
}

Any skin you define will appear in the menu in the "Player Setup" section as an option.

The default skins are marine for Doom and corvus for Heretic. You can define your own marine or corvus skin in your mod's EDF and it will replace the default player skin. Do this if you want to change the sprite and sound of the protagonist.