Modding:sID

From DoomRL Wiki

Revision as of 19:55, 18 April 2013 by Evilpotatoe (Talk | contribs)

Jump to: navigation, search

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
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

Basic Items
combat knife knife
green armor garmor
blue armor barmor
red armor rarmor
steel boots sboots
protective boots pboots
plasteel boots psboots
Small Health Globe shglobe
Berserk Pack bpack
Invulnerability Globe iglobe
Supercharge Globe scglobe
Large Health Globe lhglobe
Megasphere msglobe
Computer Map map
Tracking Map pmap
Light-Amp Goggles gpack
armor shard ashard
10mm ammo ammo
shotgun shell shell
rocket rocket
power cell cell
10mm ammo chain pammo
shell box pshell
rocket box procket
power battery pcell
pistol pistol
shotgun shotgun
double shotgun dshotgun
combat shotgun ashotgun
rocket launcher bazooka
chaingun chaingun
plasma rifle plasma
small med-pack smed
large med-pack lmed
phase device phase
homing phase device hphase
envirosuit pack epack
thermonuclear bomb nuke
power mod pack mod_power
technical mod pack mod_tech
agility mod pack mod_agility
bulk mod pack mod_bulk
lever (floods with water) lever_flood_water
lever (floods with acid) lever_flood_acid
lever (floods with lava) lever_flood_lava
lever (harms creatures) lever_kill
lever (forces explosions) lever_explode
lever (destroys walls) lever_walls
lever (summons enemies) lever_summon
lever (Armor depot) lever_repair
lever (MediTech depot) lever_medical
lever (opens the lab) lever_spec3
lever (lowers walls) dis_switch
schematics (basic) schematic_0
schematics (advanced) schematic_1
schematics (master) schematic_2
Backpack backpack
lava element lava_element
teleport teleport
stubitem stubitem
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
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
Onyx Armor Pack umod_onyx
Nano Pack umod_nano
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.

Personal tools