Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Gaia74

Custom Ammo Dont Work In Some Maps

Recommended Posts

I make a new ammo, but in certain maps dont work, i dont know why happen

 

i tried in doom original and worked but in eviternity and slaughterfest2012 dont work for example and it's made for zandronum 3.0 

 

here the code

 

Spoiler

ACTOR BlueMana : Ammo 
{
  Inventory.PickupMessage "You Got Blue Mana"
  Inventory.Amount 100
  Inventory.MaxAmount 100
  Ammo.BackpackAmount 10
  Ammo.BackpackMaxAmount 100
  Inventory.Icon "BLMAA0"
  States
  {
  Spawn:
    BLMA A -1
    Stop
  }
}

ACTOR RedMana : Ammo 
{
  Inventory.PickupMessage "You Got Red Mana"
  Inventory.Amount 1000
  Inventory.MaxAmount 1000
  Ammo.BackpackAmount 100
  Ammo.BackpackMaxAmount 1000
  Inventory.Icon "REMAA0"
  States
  {
  Spawn:
    REMA A -1
    Stop
  }
}

ACTOR YellowMana : Ammo 
{
  Inventory.PickupMessage "You Got Yellow Mana"
  Inventory.Amount 500
  Inventory.MaxAmount 500
  Ammo.BackpackAmount 50
  Ammo.BackpackMaxAmount 500
  Inventory.Icon "YEMAA0"
  States
  {
  Spawn:
    YEMA A -1
    Stop
  }
}
 

And Is Used Here:

 

actor KaiserEliteGuardClass : Playerpawn
{
  health 7000
  radius 24
  height 64
  mass 1000
  speed 1.00
  painchance 20
  Player.DisplayName "KaiserEliteGuard"
  Player.MaxHealth 7000
  Player.ViewHeight 60
  Player.SoundClass "Elite"
  Player.JumpZ 12
  player.startitem "BlueMana", 100
  player.startitem "RedMana", 1000
  player.startitem "YellowMana", 500
  player.startitem "CyberAttack"
  player.startitem "ShockTeleport"
  player.startitem "LightAttack"
  Player.StartItem "GasterBlasterWeapon"
  Player.StartItem "GasterBlasterSecondaryWeapon"
  Player.StartItem "GasterCannon"
  Player.StartItem "ChainWeapon"
  Player.StartItem "ThamuzAttack"
  Player.StartItem "CannonBaron"
  Player.StartItem "BouncingWeapon"
  Player.StartItem "HellGrenadeWeapon"
  Player.StartItem "EliteMeleeWeapon"
  Player.StartItem "SecondaryChainWeapon"
  Player.WeaponSlot 1, ShockTeleport, CyberAttack
  Player.WeaponSlot 2, LightAttack  
  Player.WeaponSlot 3, GasterBlasterSecondaryWeapon, GasterBlasterWeapon
  Player.WeaponSlot 4, GasterCannon 
  Player.WeaponSlot 5, ChainWeapon, SecondaryChainWeapon
  Player.WeaponSlot 6, ThamuzAttack  
  Player.WeaponSlot 7, CannonBaron  
  Player.WeaponSlot 8, BouncingWeapon  
  Player.WeaponSlot 9, HellGrenadeWeapon  
  Player.WeaponSlot 0, EliteMeleeWeapon 
  BloodColor "darkgreen" 
  DamageFactor "BruiserFire", 0.0
  +NOTELEFRAG
  +PICKUP
  +NOSKIN
  +FRIENDLY
  +DONTMORPH
  +NORADIUSDMG
  +NOTARGET
  states
  {
  Spawn:
    CBOS A 24
    TNT1 A 0 HealThing(20)
    TNT1 A 0 A_GiveInventory ("BlueMana", 2)
    TNT1 A 0 A_GiveInventory ("RedMana", 20)
    TNT1 A 0 A_GiveInventory ("YellowMana", 5)
    loop
  See:
    CBOS A 3 
    CBOS A 3    
    CBOS B 0 A_playsound("cbaron/metal")
    CBOS BB 3 
    CBOS CC 3     
    CBOS D 3 
    CBOS D 3 A_playsound("cyber/hoof")
    CBOS D 0 Bright A_CustomMissile(BruiserFire,0,16,0) 
    TNT1 A 0 HealThing(10)
    TNT1 A 0 A_GiveInventory ("BlueMana", 1)
    TNT1 A 0 A_GiveInventory ("RedMana", 10)
    TNT1 A 0 A_GiveInventory ("YellowMana", 3)
    loop

 

Help :"v

Edited by Gaia74

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×