Why Zandronum doesnt like the Spheres :(

Discuss all aspects related to modding Zandronum here.
Post Reply
De-M-oN
Forum Regular
Posts: 137
Joined: Fri Aug 10, 2012 10:04 pm
Location: Germany

Why Zandronum doesnt like the Spheres :(

#1

Post by De-M-oN » Mon Dec 08, 2014 5:08 pm

Code: Select all

ACTOR RageSphere : PowerupGiver 12572
{
  +COUNTITEM
  +INVENTORY.AUTOACTIVATE
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.BIGPOWERUP
  Inventory.MaxAmount 0
  Powerup.Duration -60
  Powerup.Color 255, 0, 0, 0.125
  Inventory.PickupMessage "Firerate Sphere(x2)"
  Powerup.Type "PowerDoubleFiringSpeed"
  States
  {
  Spawn:
    BLDS ABCDCB 6 Bright
    Loop
  Pickup:
	 TNT1 A 0 A_SelectWeapon("Melee")
	 TNT1 A 0 A_GiveInventory("PowerStrength")
     TNT1 A 0 HealThing(100,0)
	 Stop
  }
}
ACTOR PowerDoubleFiringSpeed : Powerup native {}
For example this sphere. This sphere is of realm667, except the last line. I added this line, because zandronum moaned about sth like it was referenced, but not defined and found in wiki this line.

Now it does this:

Image

What is zandronum's problem with my (or better said realm667's) Spheres? :(

This one doesnt work either:

Code: Select all

ACTOR PowerUberAmmo : PowerupGiver
{
	Inventory.Amount 1
	powerup.duration -120
	Powerup.Type PowerInfiniteAmmo
	Powerup.Color Green 0.15
	Inventory.PickupMessage "Backpack with so much Ammo that it bursts into pieces after 2 minutes!"
	+INVENTORY.AUTOACTIVATE
	+INVENTORY.ALWAYSPICKUP
}

actor Megapack : CustomInventory
{
  Inventory.PickupMessage "Backpack with so much Ammo that it bursts into pieces after 2 minutes!"
  Inventory.Amount 1
  Inventory.PickupSound "misc/megapack"
  +INVENTORY.FANCYPICKUPSOUND
  +INVENTORY.AUTOACTIVATE
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.BIGPOWERUP
  +COUNTITEM
  states
  {
  Spawn:
	BPK2 A -1
	Stop
  Use:
	TNT1 A 0 A_GiveInventory("PowerUberAmmo")
 	TNT1 A 0 A_GiveInventory("Backpack")
	Stop
  }
}
ACTOR PowerInfiniteAmmo : Powerup native {}
gives the same error.

Ijon Tichy
Frequent Poster Miles card holder
Posts: 901
Joined: Mon Jun 04, 2012 5:07 am

RE: Why Zandronum doesnt like the Spheres :(

#2

Post by Ijon Tichy » Mon Dec 08, 2014 5:47 pm

You can't define actors with the native keyword (because their behaviour is in the engine itself), and PowerDoubleFiringSpeed isn't in Zandronum. If you really need the effect, either code it into the weapons you're making or give RuneDoubleFiringSpeed and take it away after 30 or so seconds.

De-M-oN
Forum Regular
Posts: 137
Joined: Fri Aug 10, 2012 10:04 pm
Location: Germany

RE: Why Zandronum doesnt like the Spheres :(

#3

Post by De-M-oN » Mon Dec 08, 2014 6:52 pm

Code: Select all

ACTOR RageSphere : PowerupGiver 12572
{
  +COUNTITEM
  +INVENTORY.AUTOACTIVATE
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.BIGPOWERUP
  Inventory.MaxAmount 0
  Powerup.Duration -60
  Powerup.Color 255, 0, 0, 0.125
  Inventory.PickupMessage "Firerate Sphere(x2)"
  Powerup.Type "PowerStrength"
  States
  {
  Spawn:
    BLDS ABCDCB 6 Bright
    Loop
  Pickup:
	 TNT1 A 0 A_SelectWeapon("Melee")
	 TNT1 A 0 A_GiveInventory("PowerStrength")
	 TNT1 A 0 A_GiveInventory("PowerFirespeed")
     TNT1 A 0 HealThing(100,0)
	 Stop
  }
}
ACTOR PowerFireSpeed : what must be here?
{
	DamageFactor "Normal", 2    (now just for fire rate instead - is at least this possible? What to put in here, if so?)
}
And I assume for the backpack it is the same? PowerInfiniteAmmo unsupported - right? :(

Please help me a bit, I'm not good at coding at all.
Last edited by De-M-oN on Mon Dec 08, 2014 6:53 pm, edited 1 time in total.

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: Why Zandronum doesnt like the Spheres :(

#4

Post by -Jes- » Mon Dec 08, 2014 7:32 pm


De-M-oN
Forum Regular
Posts: 137
Joined: Fri Aug 10, 2012 10:04 pm
Location: Germany

RE: Why Zandronum doesnt like the Spheres :(

#5

Post by De-M-oN » Tue Dec 09, 2014 6:07 pm

So there is no way to make this sphere and backpack possible? :(

TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

RE: Why Zandronum doesnt like the Spheres :(

#6

Post by TerminusEst13 » Tue Dec 09, 2014 8:17 pm

Not without rewriting every single weapon.
The Ranger - New class for HeXen.
ZDoom Wars - I drew some pictures.
Samsara - Some class-based mod I guess?
Metroid: Dreadnought - I am a dumb fanboy.
DemonSteele - ~come with me to anime world~

De-M-oN
Forum Regular
Posts: 137
Joined: Fri Aug 10, 2012 10:04 pm
Location: Germany

RE: Why Zandronum doesnt like the Spheres :(

#7

Post by De-M-oN » Tue Dec 09, 2014 8:26 pm

Awesome.

dear zandronum - please get a newer gzdoom base :S

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: Why Zandronum doesnt like the Spheres :(

#8

Post by Ænima » Tue Dec 09, 2014 8:53 pm

De-M-oN wrote: Awesome.

dear zandronum - please get a newer gzdoom base :S
http://zandronum.com/forum/showthread.php?tid=5380
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

Post Reply