Difference between revisions of "Modding:sID"
From DoomRL Wiki
(Finished new item ids) |
Rabinowitz (Talk | contribs) (adding new monsters; nano and onyx to exotic) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
Objects in DoomRL have unique identifiers. | Objects in DoomRL have unique identifiers. | ||
Line 19: | Line 17: | ||
|[[Effects#Invulnerable|invulnerable]]|inv | |[[Effects#Invulnerable|invulnerable]]|inv | ||
|[[Effects#Envirosuit|envirosuit]]|enviro | |[[Effects#Envirosuit|envirosuit]]|enviro | ||
+ | |[[Effects#Light-Amp|light-amp]]|light | ||
}} | }} | ||
|} | |} | ||
Line 37: | Line 36: | ||
|[[lost soul]]|lostsoul | |[[lost soul]]|lostsoul | ||
|[[cacodemon]]|cacodemon | |[[cacodemon]]|cacodemon | ||
+ | |[[hell knight]]|knight | ||
|[[baron of hell]]|baron | |[[baron of hell]]|baron | ||
− | |||
− | |||
|[[arachnotron]]|arachno | |[[arachnotron]]|arachno | ||
− | |||
|[[former commando]]|commando | |[[former commando]]|commando | ||
− | |||
|[[pain elemental]]|pain | |[[pain elemental]]|pain | ||
+ | |[[revenant]]|revenant | ||
+ | |[[mancubus]]|mancubus | ||
|[[arch-vile]]|arch | |[[arch-vile]]|arch | ||
− | |||
− | |||
|[[nightmare imp]]|nimp | |[[nightmare imp]]|nimp | ||
|[[nightmare cacodemon]]|ncacodemon | |[[nightmare cacodemon]]|ncacodemon | ||
− | + | |[[nightmare demon]]|ndemon | |
+ | |[[nightmare arachnotron]]|narachno | ||
+ | |[[nightmare arch-vile]]|narch | ||
+ | |[[elite former human]]|eformer | ||
+ | |[[elite former sergeant]]|esergeant | ||
+ | |[[elite former captain]]|ecaptain | ||
+ | |[[elite former commando]]|ecommando | ||
+ | }} | ||
{{Table2Col | {{Table2Col | ||
|es=background: #333; | |es=background: #333; | ||
|c1=text-align:right; vertical-align:top; padding:0px 2px; | |c1=text-align:right; vertical-align:top; padding:0px 2px; | ||
|c2=vertical-align:top; padding:0px 2px; | |c2=vertical-align:top; padding:0px 2px; | ||
− | |||
− | |||
− | |||
|[[bruiser brother]]|bruiser | |[[bruiser brother]]|bruiser | ||
|[[shambler]]|shambler | |[[shambler]]|shambler | ||
|[[lava elemental]]|lava_elemental | |[[lava elemental]]|lava_elemental | ||
|[[agony elemental]]|agony | |[[agony elemental]]|agony | ||
+ | |[[Angel of Death]]|angel | ||
+ | |[[Cyberdemon]]|cyberdemon | ||
+ | |[[Spider Mastermind]]|mastermind | ||
+ | |[[John Carmack]]|jc | ||
|[[Arena Master]]|arenamaster | |[[Arena Master]]|arenamaster | ||
− | |[[ | + | |[[Apostle]]|apostle |
+ | |[[player]]|soldier | ||
}} | }} | ||
− | |} | + | |} |
== [[Modding:Cell|Cells]] == | == [[Modding:Cell|Cells]] == | ||
Line 76: | Line 81: | ||
|c2=vertical-align:top; padding:0px 2px; | |c2=vertical-align:top; padding:0px 2px; | ||
|[[Levels#Basic Objects|floor]]|floor | |[[Levels#Basic Objects|floor]]|floor | ||
− | |||
− | |||
|[[Levels#Basic Objects|stone wall]]|wall | |[[Levels#Basic Objects|stone wall]]|wall | ||
+ | |[[Levels#Basic Objects|blooded wall]]|bwall | ||
+ | |[[Levels#Basic Objects|base wall]]|dwall | ||
+ | |[[Levels#Basic Objects|blooded base wall]]|bdwall | ||
|[[Levels#Basic Objects|ice wall]]|iwall | |[[Levels#Basic Objects|ice wall]]|iwall | ||
|[[Levels#Basic Objects|blooded ice wall]]|biwall | |[[Levels#Basic Objects|blooded ice wall]]|biwall | ||
− | |[[Levels#Basic Objects| | + | |[[Levels#Basic Objects|green wall]]|gwall |
+ | |[[Levels#Basic Objects|blooded green wall]]|bgwall | ||
+ | |[[Levels#Basic Objects|bloodstone]]|rwall | ||
+ | |[[Levels#Basic Objects|blooded wall (bloodstone)]]|brwall | ||
|[[Levels#Basic Objects|crate (blue)]]|crate | |[[Levels#Basic Objects|crate (blue)]]|crate | ||
|[[Levels#Basic Objects|blooded crate (blue)]]|bcrate | |[[Levels#Basic Objects|blooded crate (blue)]]|bcrate | ||
|[[Levels#Basic Objects|crate (yellow)]]|ycrate | |[[Levels#Basic Objects|crate (yellow)]]|ycrate | ||
|[[Levels#Basic Objects|blooded crate (yellow)]]|bycrate | |[[Levels#Basic Objects|blooded crate (yellow)]]|bycrate | ||
− | |||
− | |||
− | |||
|[[Levels#Basic Objects|closed door]]|door | |[[Levels#Basic Objects|closed door]]|door | ||
|[[Levels#Basic Objects|open door]]|odoor | |[[Levels#Basic Objects|open door]]|odoor | ||
− | |[[Levels#Basic Objects| | + | |[[Levels#Basic Objects|locked door]]|ldoor |
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
{{Table2Col | {{Table2Col | ||
Line 100: | Line 103: | ||
|c1=text-align:right; vertical-align:top; padding:0px 2px; | |c1=text-align:right; vertical-align:top; padding:0px 2px; | ||
|c2=vertical-align:top; padding:0px 2px; | |c2=vertical-align:top; padding:0px 2px; | ||
+ | |[[Levels#Basic Objects|stairs]]|stairs | ||
+ | |[[Levels#Basic Objects|down stairs (yellow)]]|ystairs | ||
+ | |[[Levels#Basic Objects|down stairs (red)]]|rstairs | ||
+ | |[[Levels#Basic Objects|barrel of fuel]]|barrel | ||
+ | |[[Levels#Basic Objects|barrel of acid]]|barrela | ||
+ | |[[Levels#Basic Objects|barrel of napalm]]|barreln | ||
|[[Levels#Basic Objects|water]]|water | |[[Levels#Basic Objects|water]]|water | ||
|[[Levels#Basic Objects|acid]]|acid | |[[Levels#Basic Objects|acid]]|acid | ||
Line 106: | Line 115: | ||
|[[Levels#Basic Objects|acid (indestructible)]]|pacid | |[[Levels#Basic Objects|acid (indestructible)]]|pacid | ||
|[[Levels#Basic Objects|lava (indestructible)]]|plava | |[[Levels#Basic Objects|lava (indestructible)]]|plava | ||
− | |[[Levels#Basic Objects| | + | |[[Levels#Basic Objects|bridge]]|bridge |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|[[Levels#Basic Objects|Phobos rock]]|rock | |[[Levels#Basic Objects|Phobos rock]]|rock | ||
|[[thermonuclear bomb|a nuke!]]|nukecell | |[[thermonuclear bomb|a nuke!]]|nukecell | ||
− | |[[Levels#Basic Objects | + | |[[Levels#Basic Objects]]|tree |
− | + | ||
|[[Levels#Basic Objects|bloody corpse]]|corpse | |[[Levels#Basic Objects|bloody corpse]]|corpse | ||
+ | |[[Levels#Basic Objects|blood]]|blood | ||
+ | |[[Levels#Basic Objects|blood pool]]|bloodpool | ||
}} | }} | ||
|} | |} | ||
− | Most beings have automatically generated corpse cells. These cells have sID being.id .. "corpse". | + | Most beings have automatically generated corpse cells. These cells have sID <tt>being.id .. "corpse"</tt>. |
== [[Modding:Item|Items]] == | == [[Modding:Item|Items]] == | ||
Line 146: | Line 150: | ||
|[[Computer Map]]|map | |[[Computer Map]]|map | ||
|[[Tracking Map]]|pmap | |[[Tracking Map]]|pmap | ||
+ | |[[Light-Amp Goggles]]|gpack | ||
|[[armor shard]]|ashard | |[[armor shard]]|ashard | ||
|[[10mm ammo]]|ammo | |[[10mm ammo]]|ammo | ||
− | |||
− | |||
− | |||
}} | }} | ||
{{Table2Col | {{Table2Col | ||
Line 156: | Line 158: | ||
|c1=text-align:right; vertical-align:top; padding:0px 2px; | |c1=text-align:right; vertical-align:top; padding:0px 2px; | ||
|c2=vertical-align:top; padding:0px 2px; | |c2=vertical-align:top; padding:0px 2px; | ||
+ | |[[shotgun shell]]|shell | ||
+ | |[[rocket]]|rocket | ||
+ | |[[power cell]]|cell | ||
|[[10mm ammo chain]]|pammo | |[[10mm ammo chain]]|pammo | ||
|[[shell box]]|pshell | |[[shell box]]|pshell | ||
Line 169: | Line 174: | ||
|[[small med-pack]]|smed | |[[small med-pack]]|smed | ||
|[[large med-pack]]|lmed | |[[large med-pack]]|lmed | ||
+ | }} | ||
+ | {{Table2Col | ||
+ | |es=background: #333; | ||
+ | |c1=text-align:right; vertical-align:top; padding:0px 2px; | ||
+ | |c2=vertical-align:top; padding:0px 2px; | ||
|[[phase device]]|phase | |[[phase device]]|phase | ||
|[[homing phase device]]|hphase | |[[homing phase device]]|hphase | ||
Line 182: | Line 192: | ||
|c2=vertical-align:top; padding:0px 2px; | |c2=vertical-align:top; padding:0px 2px; | ||
|[[bulk mod pack]]|mod_bulk | |[[bulk mod pack]]|mod_bulk | ||
− | |[[ | + | |[[Lever|lever (floods with water)]]|lever_flood_water |
− | |[[ | + | |[[Lever|lever (floods with acid)]]|lever_flood_acid |
− | |[[ | + | |[[Lever|lever (floods with lava)]]|lever_flood_lava |
− | |[[ | + | |[[Lever|lever (harms creatures)]]|lever_kill |
− | |[[ | + | |[[Lever|lever (forces explosions)]]|lever_explode |
− | |[[ | + | |[[Lever|lever (destroys walls)]]|lever_walls |
− | |[[ | + | |[[Lever|lever (summons enemies)]]|lever_summon |
− | |[[ | + | |[[Lever|lever (Armor depot)]]|lever_repair |
− | |[[ | + | |[[Lever|lever (MediTech depot)]]|lever_medical |
|[[Hell's Armory|lever (opens the lab)]]|lever_spec3 | |[[Hell's Armory|lever (opens the lab)]]|lever_spec3 | ||
+ | |[[Dis|lever (lowers walls)]]|dis_switch | ||
|[[schematics|schematics (basic)]]|schematic_0 | |[[schematics|schematics (basic)]]|schematic_0 | ||
|[[schematics|schematics (advanced)]]|schematic_1 | |[[schematics|schematics (advanced)]]|schematic_1 | ||
Line 207: | Line 218: | ||
|c1=text-align:right; vertical-align:top; padding:0px 2px; | |c1=text-align:right; vertical-align:top; padding:0px 2px; | ||
|c2=vertical-align:top; padding:0px 2px; | |c2=vertical-align:top; padding:0px 2px; | ||
+ | |[[chainsaw]]|chainsaw | ||
+ | |[[combat pistol]]|ucpistol | ||
|[[blaster]]|ublaster | |[[blaster]]|ublaster | ||
+ | |[[super shotgun]]|udshotgun | ||
|[[assault shotgun]]|uashotgun | |[[assault shotgun]]|uashotgun | ||
|[[plasma shotgun]]|upshotgun | |[[plasma shotgun]]|upshotgun | ||
− | |||
− | |||
|[[tristar blaster]]|utristar | |[[tristar blaster]]|utristar | ||
|[[minigun]]|uminigun | |[[minigun]]|uminigun | ||
|[[missile launcher]]|umbazooka | |[[missile launcher]]|umbazooka | ||
+ | |[[napalm launcher]]|unapalm | ||
|[[nuclear plasma rifle]]|unplasma | |[[nuclear plasma rifle]]|unplasma | ||
− | |[[ | + | |[[laser rifle]]|ulaser |
|[[combat translocator]]|utrans | |[[combat translocator]]|utrans | ||
− | |[[ | + | |[[BFG 9000]]|bfg9000 |
− | |[[ | + | |[[nuclear BFG 9000]]|unbfg9000 |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
{{Table2Col | {{Table2Col | ||
Line 232: | Line 238: | ||
|c1=text-align:right; vertical-align:top; padding:0px 2px; | |c1=text-align:right; vertical-align:top; padding:0px 2px; | ||
|c2=vertical-align:top; padding:0px 2px; | |c2=vertical-align:top; padding:0px 2px; | ||
+ | |[[medical armor]]|umedarmor | ||
+ | |[[duelist armor]]|uduelarmor | ||
+ | |[[bullet-proof vest]]|ubulletarmor | ||
|[[ballistic vest]]|uballisticarmor | |[[ballistic vest]]|uballisticarmor | ||
|[[energy-shielded vest]]|ueshieldarmor | |[[energy-shielded vest]]|ueshieldarmor | ||
+ | |[[ballistic shield]]|ubalshield | ||
|[[plasma shield]]|uplasmashield | |[[plasma shield]]|uplasmashield | ||
|[[energy shield]]|uenergyshield | |[[energy shield]]|uenergyshield | ||
− | |[[ | + | |[[onyx armor]]|uoarmor |
+ | |[[phaseshift armor]]|uparmor | ||
+ | |[[phaseshift boots]]|upboots | ||
+ | |[[gothic armor]]|ugarmor | ||
+ | |[[gothic boots]]|ugboots | ||
|[[acid-proof boots]]|uacidboots | |[[acid-proof boots]]|uacidboots | ||
|[[firestorm weapon pack]]|umod_firestorm | |[[firestorm weapon pack]]|umod_firestorm | ||
|[[sniper weapon pack]]|umod_sniper | |[[sniper weapon pack]]|umod_sniper | ||
+ | |[[Onyx Armor Pack]]|umod_onyx | ||
+ | |[[Nano Pack]]|umod_nano | ||
|[[shockwave pack]]|uswpack | |[[shockwave pack]]|uswpack | ||
|[[blood skull]]|ubskull | |[[blood skull]]|ubskull | ||
|[[fire skull]]|ufskull | |[[fire skull]]|ufskull | ||
|[[hatred skull]]|uhskull | |[[hatred skull]]|uhskull | ||
− | |||
− | |||
}} | }} | ||
|} | |} | ||
Line 254: | Line 268: | ||
|c1=text-align:right; vertical-align:top; padding:0px 2px; | |c1=text-align:right; vertical-align:top; padding:0px 2px; | ||
|c2=vertical-align:top; padding:0px 2px; | |c2=vertical-align:top; padding:0px 2px; | ||
− | |||
|[[Butcher's Cleaver]]|ubutcher | |[[Butcher's Cleaver]]|ubutcher | ||
+ | |[[Subtle Knife]]|usubtle | ||
+ | |[[Mjollnir]]|umjoll | ||
|[[Trigun]]|utrigun | |[[Trigun]]|utrigun | ||
− | |||
|[[Grammaton Cleric Beretta]]|uberetta | |[[Grammaton Cleric Beretta]]|uberetta | ||
+ | |[[Anti-Freak Jackal]]|ujackal | ||
|[[Jackhammer]]|usjack | |[[Jackhammer]]|usjack | ||
+ | |[[Frag Shotgun]]|ufshotgun | ||
+ | |[[Mega Buster]]|umega | ||
|[[Revenant's Launcher]]|urbazooka | |[[Revenant's Launcher]]|urbazooka | ||
+ | |[[Railgun]]|urailgun | ||
+ | |[[BFG 10K]]|ubfg10k | ||
|[[Acid Spitter]]|uacid | |[[Acid Spitter]]|uacid | ||
− | |[[ | + | |[[Charch's Null Pointer]]|unullpointer |
− | + | ||
− | + | ||
|[[Cybernetic Armor]]|ucarmor | |[[Cybernetic Armor]]|ucarmor | ||
+ | |[[Medical Powerarmor]]|umedparmor | ||
+ | |[[Shielded Armor]]|ushieldarmor | ||
|[[Necroarmor]]|unarmor | |[[Necroarmor]]|unarmor | ||
− | |||
|[[Lava Armor]]|ulavaarmor | |[[Lava Armor]]|ulavaarmor | ||
+ | |[[Malek's Armor]]|umarmor | ||
|[[Enviroboots]]|uenviroboots | |[[Enviroboots]]|uenviroboots | ||
− | |[[ | + | |[[Nyarlaptotep's Boots]]|unboots |
|[[Hellwave Pack]]|uhwpack | |[[Hellwave Pack]]|uhwpack | ||
− | |[[ | + | |[[Hell Staff]]|umodstaff |
− | + | ||
}} | }} | ||
{{Table2Col | {{Table2Col | ||
Line 290: | Line 308: | ||
The Berserker Armor and Dragonslayer are not loaded in custom modules. | The Berserker Armor and Dragonslayer are not loaded in custom modules. | ||
− | Natural enemy weapons (such as the imp's fireball or the mancubus's launcher) are autogenerated. If you want to use an natural weapon directly (for whatever reason) they are named "nat_" .. being.id | + | Natural enemy weapons (such as the imp's fireball or the mancubus's launcher) are autogenerated. If you want to use an natural weapon directly (for whatever reason) they are named <tt>"nat_" .. being.id</tt>. |
== [[Modding:Missile|Missiles]] == | == [[Modding:Missile|Missiles]] == | ||
Line 330: | Line 348: | ||
|} | |} | ||
− | Autogenerated missiles | + | Autogenerated missiles are similar to the sID of the weapon to which they are assigned, but an "m" is included before the name. Thus, for autogenerated missiles from autogenerated natural weapons, you'll use the use <tt>"mnat_" .. being.id</tt>. |
Latest revision as of 11:43, 15 June 2013
Objects in DoomRL have unique identifiers.
One is the ID, a number used by the engine to track the item.
The other is the sID, a string which is used by the API to track the item, and what you define as id in most of the prototypes.
With the notable exception of defining a weapon's ammotype the sID is what the sandbox uses. You can use numerical IDs or constants that represent them; it's a legacy feature from the early sandbox days. But those aren't listed on this page, and string IDs are, so if you don't want to define your own building blocks, enjoy.
Contents |
Affects
Affects | |
---|---|
berserk | berserk |
invulnerable | inv |
envirosuit | enviro |
light-amp | light |
Beings
Beings | |
---|---|
former human | former |
former sergeant | sergeant |
former captain | captain |
imp | imp |
demon | demon |
lost soul | lostsoul |
cacodemon | cacodemon |
hell knight | knight |
baron of hell | baron |
arachnotron | arachno |
former commando | commando |
pain elemental | pain |
revenant | revenant |
mancubus | mancubus |
arch-vile | arch |
nightmare imp | nimp |
nightmare cacodemon | ncacodemon |
nightmare demon | ndemon |
nightmare arachnotron | narachno |
nightmare arch-vile | narch |
elite former human | eformer |
elite former sergeant | esergeant |
elite former captain | ecaptain |
elite former commando | ecommando |
bruiser brother | bruiser |
shambler | shambler |
lava elemental | lava_elemental |
agony elemental | agony |
Angel of Death | angel |
Cyberdemon | cyberdemon |
Spider Mastermind | mastermind |
John Carmack | jc |
Arena Master | arenamaster |
Apostle | apostle |
player | soldier |
Cells
Cells | |
---|---|
floor | floor |
stone wall | wall |
blooded wall | bwall |
base wall | dwall |
blooded base wall | bdwall |
ice wall | iwall |
blooded ice wall | biwall |
green wall | gwall |
blooded green wall | bgwall |
bloodstone | rwall |
blooded wall (bloodstone) | brwall |
crate (blue) | crate |
blooded crate (blue) | bcrate |
crate (yellow) | ycrate |
blooded crate (yellow) | bycrate |
closed door | door |
open door | odoor |
locked door | ldoor |
stairs | stairs |
down stairs (yellow) | ystairs |
down stairs (red) | rstairs |
barrel of fuel | barrel |
barrel of acid | barrela |
barrel of napalm | barreln |
water | water |
acid | acid |
lava | lava |
water (indestructible) | pwater |
acid (indestructible) | pacid |
lava (indestructible) | plava |
bridge | bridge |
Phobos rock | rock |
a nuke! | nukecell |
Levels#Basic Objects | tree |
bloody corpse | corpse |
blood | blood |
blood pool | bloodpool |
Most beings have automatically generated corpse cells. These cells have sID being.id .. "corpse".
Items
Exotic Items | |
---|---|
chainsaw | chainsaw |
combat pistol | ucpistol |
blaster | ublaster |
super shotgun | udshotgun |
assault shotgun | uashotgun |
plasma shotgun | upshotgun |
tristar blaster | utristar |
minigun | uminigun |
missile launcher | umbazooka |
napalm launcher | unapalm |
nuclear plasma rifle | unplasma |
laser rifle | ulaser |
combat translocator | utrans |
BFG 9000 | bfg9000 |
nuclear BFG 9000 | unbfg9000 |
medical armor | umedarmor |
duelist armor | uduelarmor |
bullet-proof vest | ubulletarmor |
ballistic vest | uballisticarmor |
energy-shielded vest | ueshieldarmor |
ballistic shield | ubalshield |
plasma shield | uplasmashield |
energy shield | uenergyshield |
onyx armor | uoarmor |
phaseshift armor | uparmor |
phaseshift boots | upboots |
gothic armor | ugarmor |
gothic boots | ugboots |
acid-proof boots | uacidboots |
firestorm weapon pack | umod_firestorm |
sniper weapon pack | umod_sniper |
Onyx Armor Pack | umod_onyx |
Nano Pack | umod_nano |
shockwave pack | uswpack |
blood skull | ubskull |
fire skull | ufskull |
hatred skull | uhskull |
Unique Items | |
---|---|
Butcher's Cleaver | ubutcher |
Subtle Knife | usubtle |
Mjollnir | umjoll |
Trigun | utrigun |
Grammaton Cleric Beretta | uberetta |
Anti-Freak Jackal | ujackal |
Jackhammer | usjack |
Frag Shotgun | ufshotgun |
Mega Buster | umega |
Revenant's Launcher | urbazooka |
Railgun | urailgun |
BFG 10K | ubfg10k |
Acid Spitter | uacid |
Charch's Null Pointer | unullpointer |
Cybernetic Armor | ucarmor |
Medical Powerarmor | umedparmor |
Shielded Armor | ushieldarmor |
Necroarmor | unarmor |
Lava Armor | ulavaarmor |
Malek's Armor | umarmor |
Enviroboots | uenviroboots |
Nyarlaptotep's Boots | unboots |
Hellwave Pack | uhwpack |
Hell Staff | umodstaff |
Berserker Armor | uberarmor |
Dragonslayer | udragon |
Angelic Armor | aarmor |
Longinus Spear | spear |
Azrael's Scythe | uscythe |
Arena Master's Staff | uarenastaff |
The Berserker Armor and Dragonslayer are not loaded in custom modules.
Natural enemy weapons (such as the imp's fireball or the mancubus's launcher) are autogenerated. If you want to use an natural weapon directly (for whatever reason) they are named "nat_" .. being.id.
Missiles
Missiles | |
gun | |
chaingun | |
plasma | |
rocket | |
bazooka_alternative | |
explround | |
bfg | |
bfgover | |
blaster | |
knife_thrown |
Shotgun Missiles | |
normal | |
wide | |
focused | |
splasma |
Autogenerated missiles are similar to the sID of the weapon to which they are assigned, but an "m" is included before the name. Thus, for autogenerated missiles from autogenerated natural weapons, you'll use the use "mnat_" .. being.id.