Zandronum games' source?

Discuss all aspects related to modding Zandronum here.
Post Reply
LanHikariDS
New User
Posts: 16
Joined: Thu Aug 11, 2016 7:52 am
Contact:

Zandronum games' source?

#1

Post by LanHikariDS » Sun Mar 26, 2017 5:41 am

Why isn't the code for gamemodes/Zandronum things on the Wiki? Like, Skulltag Spheres for example, the wikipage tells you a bit about what they do, and that's it. No code to learn from. Or maybe it's somewhere less obvious, then could someone please direct me to it and tell me I'm an idiot?

User avatar
Combinebobnt
Retired Staff / Community Team Member
Posts: 1893
Joined: Mon Jun 04, 2012 3:37 am
Location: Erth
Contact:

Re: Zandronum games' source?

#2

Post by Combinebobnt » Sun Mar 26, 2017 5:55 am

https://bitbucket.org/Torr_Samaho/zandronum

dont worry u are not an idiot u are just smart in the not right direction maybe

LanHikariDS
New User
Posts: 16
Joined: Thu Aug 11, 2016 7:52 am
Contact:

Re: Zandronum games' source?

#3

Post by LanHikariDS » Sun Mar 26, 2017 3:33 pm

I maybe should've clarified that better, I meant the Decorate and ACS source for the actual game modes in Zandronum, like Last Man Standing's ACS

EDIT: I take it back, Thanks! the game modes' source code is hiding in there as well. For anyone here looking for the answer as well, it's in the src folder of Zandronum's souce code, the .cpp files (example: "lastmanstanding.cpp")

User avatar
Hypnotoad
Retired Staff / Community Team Member
Posts: 528
Joined: Tue May 29, 2012 8:50 pm
Location: Britland

Re: Zandronum games' source?

#4

Post by Hypnotoad » Sun Mar 26, 2017 3:53 pm

Some of the decorate is in zandronum.pk3, and other older skulltag decorate is in skulltag_actors.pk3

LanHikariDS
New User
Posts: 16
Joined: Thu Aug 11, 2016 7:52 am
Contact:

Re: Zandronum games' source?

#5

Post by LanHikariDS » Sun Mar 26, 2017 4:07 pm

I checked Skulltag_actors.pk3, and it's just the names of Skulltag actors inheriting from some internally defined class.
For example, here is a section of skulltagrunes.txt, called by that pk3's DECORATE:
[spoiler]

Code: Select all

ACTOR Rune : Powerup
{
}

ACTOR RuneDoubleDamage : PowerDamage
{
	Damagefactor normal, 2.0
}

ACTOR RuneDoubleFiringSpeed : PowerDoubleFiringSpeed
{
}

ACTOR RuneDrain : PowerDrain
{
}

ACTOR RuneSpread : PowerSpread
{
}

ACTOR RuneHalfDamage : PowerProtection
{
	Damagefactor normal, 0.5
}

ACTOR RuneRegeneration : PowerRegeneration
{
}

ACTOR RuneProsperity : PowerProsperity
{
}

ACTOR RuneReflection : PowerReflection
{
}

ACTOR RuneHighJump : PowerHighJump
{
}

ACTOR RuneSpeed25 : PowerSpeed
{
	Speed 1.25
}
[/spoiler]
Not very helpful to look through. However, Zandronum.pk3 does have a hefty amount of actual code, so I'll poke through that.

User avatar
Hypnotoad
Retired Staff / Community Team Member
Posts: 528
Joined: Tue May 29, 2012 8:50 pm
Location: Britland

Re: Zandronum games' source?

#6

Post by Hypnotoad » Sun Mar 26, 2017 4:14 pm

You can find more info about the Powerups classes here: https://zdoom.org/wiki/Classes:Powerup

Post Reply