Talk:Modding:Module

From DoomRL Wiki

Jump to: navigation, search

Module Changes for 0.9.9.7

New module meta-data fields and the version they were introduced:

gsupport (0.9.9.5): Boolean value. True marks this module as Graphics-Supported. False or omit it and a warning will appear when someone tries to run this module in graphics mode.

klass (0.9.9.7): Integer value. Forces the player to be a certain class. 1 = Marine, 2 = Scout, 3 = Technician, 4 = "Solider" (used to implement classic mode -- No master traits or special bonuses).

award (0.9.9.7): Table. Has two fields: name, which is the friendly and ID name of the award, and levels, which is another table. The levels table consists of 1 or more tables that each have two fields: name, the displayed name for this level of the award, and desc, the description on how to earn it. These should be placed in order of increasing prestige (the best award level should be last). The classic mode award table is shown as an example:

award = {
    name = "Classicist",
    levels = {
        { name = "Bronze",   desc = "Complete on ITYTD" },
        { name = "Silver",   desc = "Complete on HMP" },
        { name = "Gold",     desc = "Complete on UV" },
        { name = "Platinum", desc = "Complete on UV/100%" },
        { name = "Diamond",  desc = "Complete on N!/90%" },
        { name = "Angelic",  desc = "Complete on N! w/o damage" },
    },
},
Personal tools