Discuss all aspects related to modding Zandronum here.
-
Ænima
- Addicted to Zandronum
- Posts: 3579
- Joined: Tue Jun 05, 2012 6:12 pm
#1
Post
by Ænima » Wed Sep 26, 2012 9:15 pm
Pic unrelated.
-
Llewellyn
- Forum Regular
- Posts: 578
- Joined: Mon Jul 02, 2012 7:12 am
#2
Post
by Llewellyn » Thu Sep 27, 2012 12:50 am
Keyconf is just a limited list of ConsoleCommands that are executed upon entering the game... so I would assume not, since YOU could enter these commands...
but why don't you try it?
-
Torr Samaho
- Lead Developer
- Posts: 1543
- Joined: Fri May 25, 2012 6:03 pm
- Location: Germany
#3
Post
by Torr Samaho » Thu Sep 27, 2012 5:38 pm
No. At the moment the protected lumps are (you can see this in network.cpp) COLORMAP, PLAYPAL, HTICDEFS, HEXNDEFS, STRFDEFS, DOOMDEFS, GLDEFS, DECORATE, LOADACS, DEHACKED and GAMEMODE.
BTW: Would be nice if somebody adds this to the wiki.
-
Ænima
- Addicted to Zandronum
- Posts: 3579
- Joined: Tue Jun 05, 2012 6:12 pm
#4
Post
by Ænima » Thu Sep 27, 2012 6:57 pm
So, in theory, I could make a Skins wad with useful bindings and aliases in it to distribute for other players to use?
-
Torr Samaho
- Lead Developer
- Posts: 1543
- Joined: Fri May 25, 2012 6:03 pm
- Location: Germany
#5
Post
by Torr Samaho » Thu Sep 27, 2012 7:42 pm
In theory yes, but I don't give you any guarantees that it'll work. I'm pretty sure that the KEYCONF lump was never intended for this...
-
Ænima
- Addicted to Zandronum
- Posts: 3579
- Joined: Tue Jun 05, 2012 6:12 pm
#6
Post
by Ænima » Thu Sep 27, 2012 7:58 pm
Aw. I remember that WastedYouth made some useful aliases in his "Skulltag Expansion Pack" a veeery long time ago, but i think he used autoloaded .cfg files or something and I have no idea how to do this with Zandronum.
-
Llewellyn
- Forum Regular
- Posts: 578
- Joined: Mon Jul 02, 2012 7:12 am
#7
Post
by Llewellyn » Fri Sep 28, 2012 2:33 am
Torr Samaho wrote:
In theory yes, but I don't give you any guarantees that it'll work. I'm pretty sure that the KEYCONF lump was never intended for this...
It seems to work fine, I've been using this (without realizing it was KeyCONF) for sr50 for a LONG time:
Code: Select all
addkeysection "SR50" SR50
addmenukey "Strafe Left" +left2
addmenukey "Strafe Right" +right2
addmenukey "ACTIVATE SR50" +sr
alias +left2 "+left; +moveleft"
alias -sr "turnspeeds 0; -strafe"
alias +sr "turnspeeds 65536; +strafe"
alias +right2 "+right; +moveright"
alias -right2 "-right; -moveright"
alias -left2 "-left; -moveleft"
Torr Samaho wrote:
No. At the moment the protected lumps are COLORMAP, PLAYPAL
Any reason why?
I don't really see how it could be abused, what with GL allowing fullbright and UNTRANLATED PNGs...
Last edited by
Llewellyn on Fri Sep 28, 2012 2:35 am, edited 1 time in total.
-
Ænima
- Addicted to Zandronum
- Posts: 3579
- Joined: Tue Jun 05, 2012 6:12 pm
#8
Post
by Ænima » Fri Sep 28, 2012 2:55 am
Llewellyn wrote:
Torr Samaho wrote:
No. At the moment the protected lumps are COLORMAP, PLAYPAL
Any reason why?
I don't really see how it could be abused, what with GL allowing fullbright and UNTRANLATED PNGs...
Well, you used to be able to exploit COLORMAP and PLAYPAL to make it seem as if you always had Infrared on. (by making all colors fully bright) This could give you an advantage on darker maps. There was a similar dehacked exploit floating around during the 96f days where you could make a DEH patch that gives all player states the BRIGHT property. Useful on that one CTF map "Sewers Smell Bad" where you otherwise can't see your opponents very well from a distance.