Skip to content

Commit

Permalink
add entityDef stubs for entities from misc.def and info.def
Browse files Browse the repository at this point in the history
they only contain the "spawnclass"/"inherit" properties specific to
the entity and generic placeholder properties for "editor_usage",
"editor_color", "editor_maxs" and "editor_mins".

to be replaced later by proper definitions with the missing properties,
proper descriptions etc

Updated COPYING.txt
  • Loading branch information
DanielGibson committed Jul 15, 2015
1 parent 454ba3c commit 23e9d3f
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 30 deletions.
16 changes: 12 additions & 4 deletions COPYING.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
TL;DR: all the assets provided here are under Public Domain/WTFPLv2.
If you use them, credit would be appreciated, but is not necessary.

Details:

The following license applies to:

def/ammo.def
def/engine.def
def/funcs.def
def/player.def
def/*.def

maps/test.map
maps/test.cm
Expand Down Expand Up @@ -35,6 +37,7 @@ The following license applies to:
textures/dummy_white.tga

textures/common/aasobstacle.tga
textures/common/aasportal.tga
textures/common/aassolid.tga
textures/common/clipplus.tga
textures/common/clip.tga
Expand Down Expand Up @@ -70,6 +73,11 @@ The following license applies to:
textures/triggers/trigtimer.tga
textures/triggers/trigtouch.tga

Copyright (C) 2011-2015, contributors of this project and
"doom3_minimal_assets.rar" from the iodoom3 wiki

Licensed under WTFPLv2:

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Expand Down
78 changes: 52 additions & 26 deletions sabase/def/engine.def
Original file line number Diff line number Diff line change
@@ -1,39 +1,65 @@
// recreated definitions of entities of Doom3, mostly from misc.def
// (C) 2011-2015 contributors of d3-base-assets, licensed under WTFPL v2

entityDef worldspawn {
"editor_color" "0 .5 .8"
"editor_mins" "?"
"editor_maxs" "?"
"no_stamina" "1"
"spawnclass" "idWorldspawn"
"spawnclass" "idWorldspawn"

"editor_usage" "TODO: Meaningful description, this is a stub!"

"editor_maxs" "?"
"editor_mins" "?"
"editor_color" "0 .5 .8"

"no_stamina" "1"

// TODO: This is just a stub - add proper entity definition and explanation!
}

entityDef light {
"editor_color" "0 1 0"
"editor_mins" "-8 -8 -8"
"editor_maxs" "8 8 8"
"spawnclass" "idLight"
}
"spawnclass" "idLight"

entityDef info_player_start {
"editor_color" "1 0 0"
"editor_mins" "-16 -16 0"
"editor_maxs" "16 16 64"
"editor_showangle" "1"
"spawnclass" "idPlayerStart"
}
"editor_usage" "TODO: Meaningful description, this is a stub!"

entityDef info_player_deathmatch {
"editor_color" "1 0 0"
"editor_mins" "-16 -16 0"
"editor_maxs" "16 16 64"
"editor_showangle" "1"
"spawnclass" "idPlayerStart"
"editor_color" "0 1 0"
"editor_mins" "-8 -8 -8"
"editor_maxs" "8 8 8"

// TODO: This is just a stub - add proper entity definition and explanation!
}

entityDef player_doommarine {
"spawnclass" "idPlayer"
"scriptobject" "player"
"spawnclass" "idPlayer"
"scriptobject" "player"

// TODO: This is just a stub - add proper entity definition and explanation!
}

entityDef player_doommarine_mp {
"inherit" "player_doommarine"
"inherit" "player_doommarine"

// TODO: This is just a stub - add proper entity definition and explanation!
}

entityDef speaker {
"spawnclass" "idSound"

"editor_usage" "TODO: Meaningful description, this is a stub!"

"editor_color" "0.0 0.5 0.8"
"editor_maxs" "8 8 8"
"editor_mins" "-8 -8 -8"

// TODO: This is just a stub - add proper entity definition and explanation!
}

entityDef text {
"spawnclass" "idTextEntity"

"editor_usage" "TODO: Meaningful description, this is a stub!"

"editor_color" "0.0 0.5 0.8"
"editor_maxs" "8 8 8"
"editor_mins" "-8 -8 -8"

// TODO: This is just a stub - add proper entity definition and explanation!
}
1 change: 1 addition & 0 deletions sabase/def/funcs.def
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ entityDef func_mountedobject {
"editor_color" "0 0.5 0.8"

"editor_var bindJoint" "model bone to use as view position"
"editor_var call" "name of script function to call"
"editor_var def_projectile" "the kind of projectile to shoot"
"editor_float firerate" "the rate of fire, I guess..."
"editor_int harc" "restrict horizontal view by +/- this angle"
Expand Down
94 changes: 94 additions & 0 deletions sabase/def/info.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
// recreated definitions of entities of Doom3, originally in info.def and misc.def
// (C) 2015 Daniel Gibson and Yamagi Burmeister, licensed under WTFPL v2

// from info.def:

entityDef info_player_start {
"spawnclass" "idPlayerStart"

"editor_usage" "TODO!"

"editor_color" "1 0 0"
"editor_maxs" "16 16 64"
"editor_mins" "-16 -16 0"
"editor_showangle" "1"


// TODO: still incomplete
}

entityDef info_player_deathmatch {
"spawnclass" "idPlayerStart"

"editor_usage" "TODO!"

"editor_color" "1 0 0"
"editor_maxs" "16 16 64"
"editor_mins" "-16 -16 0"

"editor_showangle" "1"

// TODO: still incomplete
}

entityDef info_player_teleport {
"spawnclass" "idPlayerStart"

"editor_usage" "TODO: Meaningful description, this is a stub!"

"editor_color" "0.0 0.5 0.8"
"editor_maxs" "8 8 8"
"editor_mins" "-8 -8 -8"

// TODO: This is just a stub - add proper entity definition and explanation!
}

// from misc.def:

entityDef info_location {
"spawnclass" "idLocationEntity"

"editor_usage" "TODO: Meaningful description, this is a stub!"

"editor_color" "0.0 0.5 0.8"
"editor_maxs" "8 8 8"
"editor_mins" "-8 -8 -8"

// TODO: This is just a stub - add proper entity definition and explanation!
}

entityDef info_locationSeparator {
"spawnclass" "idLocationSeparatorEntity"

"editor_usage" "TODO: Meaningful description, this is a stub!"

"editor_color" "0.0 0.5 0.8"
"editor_maxs" "8 8 8"
"editor_mins" "-8 -8 -8"

// TODO: This is just a stub - add proper entity definition and explanation!
}

entityDef info_vacuum {
"spawnclass" "idVacuumEntity"

"editor_usage" "TODO: Meaningful description, this is a stub!"

"editor_color" "0.0 0.5 0.8"
"editor_maxs" "8 8 8"
"editor_mins" "-8 -8 -8"

// TODO: This is just a stub - add proper entity definition and explanation!
}

entityDef info_vacuumSeparator {
"spawnclass" "idVacuumSeparatorEntity"

"editor_usage" "TODO: Meaningful description, this is a stub!"

"editor_color" "0.0 0.5 0.8"
"editor_maxs" "8 8 8"
"editor_mins" "-8 -8 -8"

// TODO: This is just a stub - add proper entity definition and explanation!
}

0 comments on commit 23e9d3f

Please sign in to comment.