Jump to content

A very odd editing problem...need help badly. I am at the point where I will pay for answers


Trudaddy

Recommended Posts

So this is quite the weird problem.

 

Here's the short of it:

 

My mod was in .wad. I converted it to .pk3/.zip

 

Originally I had one player class specified in a decorate. It gave the player a shotgun, 13 shells, green armor and one grenade. I added another player class. I also have a baseclass that they inherit from. I got rid of the original player class that I made, the file doesn't even exist in the .pk3 or working folders anymore. No matter what I do I cannot change the starting items - all player classes somehow revert to the ORIGINAL class that gets the shotgun and 13 shells etc. The classes cannot be given other starting items, no matter what I have done. The weirdest part is that the starting health, speed, etc all change to the proper amounts for the selected player class! It's like that original player class is still somewhere, yet I can't see it anywhere. I have removed any starting items from all classes, yet they still start with items that I don't even have as starting items anywhere, anymore. Thoughts? *I can send you the whole working folder or .pk3

Spoiler

//===========================================================================
//
// Player
//
//===========================================================================
ACTOR BaseClass : PlayerPawn
{
    Speed 1
    Health 100
    Radius 16
    Height 56
    Mass 100
    PainChance 255
    
    
    Player.DisplayName "Base"
    Player.CrouchSprite "PLYC"
    Player.WeaponSlot 1, knife, Chainsaw
    Player.WeaponSlot 2, Pistol, Uzi
    Player.WeaponSlot 3, SAShotgun, Egosmasher
    Player.WeaponSlot 4, Chaingun, Butchergun            
    Player.WeaponSlot 5, 40mmGrenadeLauncher    
    Player.WeaponSlot 6, PlasmaRifle    
    Player.WeaponSlot 7, BFG9000
    Player.WeaponSlot 9, SniperRifle
    Player.WeaponSlot 0, Fraggrenade      
    
    Player.ColorRange 112, 127
    Player.Colorset 0, "Green",            0x70, 0x7F,  0x72
    Player.Colorset 1, "Gray",            0x60, 0x6F,  0x62
    Player.Colorset 2, "Brown",            0x40, 0x4F,  0x42
    Player.Colorset 3, "Red",            0x20, 0x2F,  0x22
    // Doom Legacy additions
    Player.Colorset 4, "Light Gray",    0x58, 0x67,  0x5A
    Player.Colorset 5, "Light Brown",    0x38, 0x47,  0x3A
    Player.Colorset 6, "Light Red",        0xB0, 0xBF,  0xB2
    Player.Colorset 7, "Light Blue",    0xC0, 0xCF,  0xC2
    States
    {
    Spawn:
        PLAY A -1
        Loop
    See:
        PLAY ABCD 4
        Loop
    Missile:
        PLAY E 12
        Goto Spawn
    Melee:
        PLAY F 6 BRIGHT
        Goto Missile
    Pain:
        PLAY G 4
        PLAY G 4 A_Pain
        Goto Spawn
    Death:
        PLAY H 0 A_PlayerSkinCheck("AltSkinDeath")
    Death1:
        PLAY H 10
        PLAY I 10 A_PlayerScream
        PLAY J 10 A_NoBlocking
        PLAY KLM 10
        PLAY N -1
        Stop
    XDeath:
        PLAY O 0 A_PlayerSkinCheck("AltSkinXDeath")
    XDeath1:
        PLAY O 5
        PLAY P 5 A_XScream
        PLAY Q 5 A_NoBlocking
        PLAY RSTUV 5
        PLAY W -1
        Stop
    AltSkinDeath:
        PLAY H 6
        PLAY I 6 A_PlayerScream
        PLAY JK 6
        PLAY L 6 A_NoBlocking
        PLAY MNO 6
        PLAY P -1
        Stop
    AltSkinXDeath:
        PLAY Q 5 A_PlayerScream
        PLAY R 0 A_NoBlocking
        PLAY R 5 A_SkullPop
        PLAY STUVWX 5
        PLAY Y -1
        Stop
    }
}


/////////////////////////////////////////////////////////////////private
ACTOR private : Baseclass
{
    Speed .87
    Health 95
    Radius 16
    Height 56
    Mass 100
    PainChance 200
    Player.DisplayName "Private"
    Player.SpawnClass "Private"
    
    
    
    Player.CrouchSprite "PLYC"
    Player.WeaponSlot 1, knife, Chainsaw
    Player.WeaponSlot 2, UAWP, UZI
    Player.WeaponSlot 3, SAShotgun, Egosmasher
    Player.WeaponSlot 4, Chaingun, butchergun            
    Player.WeaponSlot 5, 40mmGrenadeLauncher    
    Player.WeaponSlot 6, PlasmaRifle        
    Player.WeaponSlot 7, BFG9000
    Player.WeaponSlot 9, SniperRifle
    Player.WeaponSlot 0, Fraggrenade
    Player.ColorRange 112, 127
    Player.Colorset 0, "Green",            0x70, 0x7F,  0x72
    Player.Colorset 1, "Gray",            0x60, 0x6F,  0x62
    Player.Colorset 2, "Brown",            0x40, 0x4F,  0x42
    Player.Colorset 3, "Red",            0x20, 0x2F,  0x22
    // Doom Legacy additions
    Player.Colorset 4, "Light Gray",    0x58, 0x67,  0x5A
    Player.Colorset 5, "Light Brown",    0x38, 0x47,  0x3A
    Player.Colorset 6, "Light Red",        0xB0, 0xBF,  0xB2
    Player.Colorset 7, "Light Blue",    0xC0, 0xCF,  0xC2
    States
    {
    Spawn:
        PLAY A -1
        Loop
    See:
        PLAY ABCD 4
        Loop
    Missile:
        PLAY E 12
        Goto Spawn
    Melee:
        PLAY F 6 BRIGHT
        Goto Missile
    Pain:
        PLAY G 4
        PLAY G 4 A_Pain
        Goto Spawn
    Death:
        PLAY H 0 A_PlayerSkinCheck("AltSkinDeath")
    Death1:
        PLAY H 10
        PLAY I 10 A_PlayerScream
        PLAY J 10 A_NoBlocking
        PLAY KLM 10
        PLAY N -1
        Stop
    XDeath:
        PLAY O 0 A_PlayerSkinCheck("AltSkinXDeath")
    XDeath1:
        PLAY O 5
        PLAY P 5 A_XScream
        PLAY Q 5 A_NoBlocking
        PLAY RSTUV 5
        PLAY W -1
        Stop
    AltSkinDeath:
        PLAY H 6
        PLAY I 6 A_PlayerScream
        PLAY JK 6
        PLAY L 6 A_NoBlocking
        PLAY MNO 6
        PLAY P -1
        Stop
    AltSkinXDeath:
        PLAY Q 5 A_PlayerScream
        PLAY R 0 A_NoBlocking
        PLAY R 5 A_SkullPop
        PLAY STUVWX 5
        PLAY Y -1
        Stop
    }
}


/////////////////////////////////////////////////////////////////private
ACTOR heavyarms : Baseclass
{
    Speed .83
    Health 110
    Radius 16
    Height 56
    Mass 101
    PainChance 255
    Player.DisplayName "Heavyarms"
    Player.SpawnClass "Heavyarms"
    Player.CrouchSprite "PLYC"
    Player.WeaponSlot 1, knife, Chainsaw
    Player.WeaponSlot 2, UZI
    Player.WeaponSlot 3, Egosmasher
    Player.WeaponSlot 4, Chaingun            
    Player.WeaponSlot 5, 40mmGrenadeLauncher    
    Player.WeaponSlot 6, PlasmaRifle        
    Player.WeaponSlot 7, BFG9000
    Player.WeaponSlot 0, Fraggrenade
    Player.ColorRange 112, 127
    Player.Colorset 0, "Green",            0x70, 0x7F,  0x72
    Player.Colorset 1, "Gray",            0x60, 0x6F,  0x62
    Player.Colorset 2, "Brown",            0x40, 0x4F,  0x42
    Player.Colorset 3, "Red",            0x20, 0x2F,  0x22
    // Doom Legacy additions
    Player.Colorset 4, "Light Gray",    0x58, 0x67,  0x5A
    Player.Colorset 5, "Light Brown",    0x38, 0x47,  0x3A
    Player.Colorset 6, "Light Red",        0xB0, 0xBF,  0xB2
    Player.Colorset 7, "Light Blue",    0xC0, 0xCF,  0xC2
    States
    {
    Spawn:
        CHMR A -1
        Loop
    See:
        CHMR ABCD 4
        Loop
    Missile:
        CHMR E 12
        Goto Spawn
    Melee:
        CHMR F 6 BRIGHT
        Goto Missile
    Pain:
        CHMR G 4
        CHMR G 4 A_Pain
        Goto Spawn
    Death:
        CHMR H 0 A_PlayerSkinCheck("AltSkinDeath")
    Death1:
        CHMR H 10
        CHMR I 10 A_PlayerScream
        CHMR J 10 A_NoBlocking
        CHMR KLM 10
        CHMR N -1
        Stop
    XDeath:
        CHMR O 0 A_PlayerSkinCheck("AltSkinXDeath")
    XDeath1:
        CHMR O 5
        CHMR P 5 A_XScream
        CHMR Q 5 A_NoBlocking
        CHMR RSTUV 5
        CHMR W -1
        Stop
    AltSkinDeath:
        CHMR H 6
        CHMR I 6 A_PlayerScream
        CHMR JK 6
        CHMR L 6 A_NoBlocking
        CHMR MNO 6
        CHMR P -1
        Stop
    AltSkinXDeath:
        CHMR Q 5 A_PlayerScream
        CHMR R 0 A_NoBlocking
        CHMR R 5 A_SkullPop
        CHMR STUVWX 5
        CHMR Y -1
        Stop
    }
}

 

 

Edited by Trudaddy

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...