Skip to content

Commit

Permalink
#10: Include an invisible diamond selection in axis helpers for easie…
Browse files Browse the repository at this point in the history
…r targeting
  • Loading branch information
TeamSpen210 committed Mar 29, 2023
1 parent 0e7d495 commit d10817e
Show file tree
Hide file tree
Showing 11 changed files with 661 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Fix propcombine sometimes removing collisions entirely from component props.
* Add an option to allow the sources for compiled models to be preserved.
* #210: Add `OnFinished` output to `comp_numeric_transition`.
* #10: The center of the axis helper used for sprites can now be clicked on.

--------------------

Expand Down
5 changes: 5 additions & 0 deletions hammer/materials/models/editor/invisible.vmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
WriteZ
{
// Only writes to Z buffer, so it's invisible but can be selected.
"%noToolTexture" 1
}
Binary file modified hammer/models/editor/axis_helper_white.dx80.vtx
Binary file not shown.
Binary file modified hammer/models/editor/axis_helper_white.dx90.vtx
Binary file not shown.
Binary file modified hammer/models/editor/axis_helper_white.mdl
Binary file not shown.
Binary file modified hammer/models/editor/axis_helper_white.sw.vtx
Binary file not shown.
Binary file modified hammer/models/editor/axis_helper_white.vvd
Binary file not shown.
618 changes: 618 additions & 0 deletions modelsrc/editor/axis_helper_white/axis_helper.smd

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions modelsrc/editor/axis_helper_white/axis_helper_white.qc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// A version of the axis helper, designed to tint along with sprites etc.

$modelname "editor/axis_helper_white.mdl"

$bodygroup "Body"
{
studio "axis_helper.smd"
}


$surfaceprop "default"

$contents "solid"

$illumposition 0 0 0

$cdmaterials "models\editor\"

$cbox 0 0 0 0 0 0

$bbox -5.5 -5.5 -5.5 5.5 5.5 5.5

$sequence "idle" {
"idle.smd"
fadein 0.2
fadeout 0.2
fps 30
}
Binary file added modelsrc/editor/axis_helper_white/helper.blend
Binary file not shown.
9 changes: 9 additions & 0 deletions modelsrc/editor/axis_helper_white/idle.smd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Created by Crowbar 0.74
version 1
nodes
0 "root" -1
end
skeleton
time 0
0 0.000000 0.000000 0.000000 0 0 0
end

0 comments on commit d10817e

Please # to comment.