Zandronum games' source?
-
- New User
- Posts: 16
- Joined: Thu Aug 11, 2016 7:52 am
- Contact:
Zandronum games' source?
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?
- Combinebobnt
- Retired Staff / Community Team Member
- Posts: 1893
- Joined: Mon Jun 04, 2012 3:37 am
- Location: Erth
- Contact:
Re: Zandronum games' source?
https://bitbucket.org/Torr_Samaho/zandronum
dont worry u are not an idiot u are just smart in the not right direction maybe
dont worry u are not an idiot u are just smart in the not right direction maybe
SUPERFAST: DUEL DM CTF DOM
Zdoomwars Kosher Maps
Naturemod LMS
-
- New User
- Posts: 16
- Joined: Thu Aug 11, 2016 7:52 am
- Contact:
Re: Zandronum games' source?
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")
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")
- Hypnotoad
- Retired Staff / Community Team Member
- Posts: 528
- Joined: Tue May 29, 2012 8:50 pm
- Location: Britland
Re: Zandronum games' source?
Some of the decorate is in zandronum.pk3, and other older skulltag decorate is in skulltag_actors.pk3
-
- New User
- Posts: 16
- Joined: Thu Aug 11, 2016 7:52 am
- Contact:
Re: Zandronum games' source?
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][/spoiler]
Not very helpful to look through. However, Zandronum.pk3 does have a hefty amount of actual code, so I'll poke through that.
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
}
Not very helpful to look through. However, Zandronum.pk3 does have a hefty amount of actual code, so I'll poke through that.
- Hypnotoad
- Retired Staff / Community Team Member
- Posts: 528
- Joined: Tue May 29, 2012 8:50 pm
- Location: Britland
Re: Zandronum games' source?
You can find more info about the Powerups classes here: https://zdoom.org/wiki/Classes:Powerup