Garry's Mod

Garry's Mod

2,771 ratings
Doors Crucifix
9
6
3
17
7
7
6
3
4
2
4
4
3
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun
File Size
Posted
Updated
16.174 MB
9 Feb, 2023 @ 9:03am
10 Apr, 2024 @ 8:50am
29 Change Notes ( view )

Subscribe to download
Doors Crucifix

Description
new update : ragdolls can be crucified also can be toggled in behaviour

THANK YOU :
I cannot thank this community enough for liking this mod, we have hit 1.9K likes!!!!!

INFO :
This contains a crucifix weapon (based off of a game called 'DOORS' made for roblox), it is located under Weapons->Doors->Crucifix
Designed to work with Temy's Doors and Doors Nextbots. Also try these guys as a recent patch to the crucifix made them work properly!
It also contains settings, it is located under Options->Crucifix
Any bugs should include console logs and be sent in the 'Bugs discussion'

The Crucifix is fragmented....
Go to Tools->Doors->Spawn Crucifix Fragment
There are 5 fragments, gather them all and find out what happens.

CUSTOMISATION :
If you want to use the material tool manually spawn the crucifix on the floor in front of you, once it is picked up material and colour changes SHOULD apply.

If you want a default texture then find the texture you want in the material tool's options and copy it into Options->Crucifix->Graphics->Default Crucifix Material. The next time you pickup the crucifix it should have the new material applied.

If you want to change certain colours (like chains) you can do so in Options->Crucifix->Graphics->[Color option name here].MAKE SURE THERE ARE 4 NUMBERS SEPARATED WITH SPACES (NO COMMAS!)

The colour format is:
RED GREEN BLUE ALPHA
with a range between 0-255

Here is an example colour for reference:
0 255 0 255 <- Solid Green (not transparent)
173 229 244 255 <- Default Crucifixion Colour

AN ERROR?
Running the command doors_developer [level] will let you figure out what is going on if the addon acts odd.
The doors_developer command has several levels:
1 - Lots of printing
1+ - visual elements show more the higher the number
It is also recommended you use 'developer 1' for visual debugging elements to show

COMMANDS :
use these if you don't want to use the options menu ui

The prefix for all commands 'doors_crucifix_'

usedistance - How far away from which the crucifix can be used.
uses How many times - can the crucifix be used for?
can_crucifyself - Should we crucifix to be used on self by reloading.

usetime - How long does the crucifix last?

auto_attack - Should the crucifix automatically attack (see ranged and attack for more).
auto_attackranged - Should the crucifix automatically attack when a nextbot is in range? (only works on image nextbots)
auto_attackranged_range - Crucifix auto attack range.
auto_attackattack Should - the crucifix automatically attack when the player is attacked? (blocks damage and crucifies inflictor)

use_special_behaviour - Special behaviour is when the crucifix detects the entities name and acts upon it.
For example, npc_rush would be killed but npc_seek would be released.

use_special_behavioursounds - Play a sound from doors depending on the npc. (For example, if ambush got crucified he would scream)

customisation_only_admin - Make the customisation options only for admin. (Doesn't affect how commands work)",0,1)

use_only - Only pickup when weapon is 'used' (usually this means when you press E on it).",0,1)

force_kill - This will override special behaviour and cause any entity to be killed on curcifix.
only_npcs - Should we only allow npcs, nextbots and players to be crucified?",0,1)
breakout_chance - % chance of an entity breaking out of crucifix, 0 disabled.

use_experimental_lighting - Should a light be placed on crucify?
experimental_lighting_brightness - Brightness of lighting.
place_chains_onground - Should the chains (and the symbols) be placed on the ground?
force_nextbot_images - Should all nextbots be treated as image nextbots. (only use if you are having issues)
disable_animations - Disable crucifix and chains spinning.

auto_material - Detects if the entity is ambush,rush,eyes,halt or glitch and replaces the texture with a one from this addon.
Useful for when an entity from doors has an incorrect texture.

default_material - Default material for crucifix
default_color - Default color for crucifix. RBGA FORMAT Example : 0 0 255 255 (green and opaque).
BUG : Transparency only visble in the viewmodel.
disable_star_circlespin - Disable the star (on the floor) spinning in a circle.
reduce_dynamic_chains - Reduces amount of dynamic chains for performance.
dynamic_chains_gfxlevel - Sets dynamic chains gfx level. 0 off, 1 low quality, 2 max quality (LAGGY IN LARGE NUBMERS OR WITH LARGE OBJECTS)

crucifiy_color - The color of the chains and crucifix during crucifixion.
crucifiy_failcolor - The color of the chains and crucifix when crucifixion fails.
animation_spinspeed - How fast the crucifix/chains gain spin.NUBMERS OR WITH LARGE OBJECTS)

crucifiy_color - The color of the chains and crucifix during crucifixion.
crucifiy_failcolor - The color of the chains and crucifix when crucifixion fails.
animation_spinspeed - How fast the crucifix/chains gain spin.

DEVELOPMENT:
MARKING YOUR ENTITY AS A NEXTBOT :
--non DrGBase specific--
- If you set DC_ImageNextbot on your entity to true (in the server code) the crucifix will treat your nextbot as an image nextbot.
--DrGBase specific--
- Having the faction 'DOORS_CRUCIFIX_IMAGE_NEXTBOT' added to your list or having your base be 'drgbase_nextbot_sprite' will make the crucifix will treat your nextbot as an image nextbot.

MODFIYING THE CRUCIFIX DATA :
When your entity is being crucified it should run a function on the entity called DC_Crucify
This passes in the table of crucifixion data you should be able to modify. If you need any more help adding special functionality to your entity contact me on steam.

FAQ :
The crucifix is acting weirdly?!?!
See 'AN ERROR?'

Where are my custom textures!?
See 'Customisation'

I want to suggest new features
I removed the 'Suggestions' discussions as I will be moving on from this addon (no big features, I'll still tweak stuff and bug fix if needed). However, if your suggestion is good enough/sounds fun/isn't a pain to code I might add it.

I want to customise the crucifix in other game modes.
You can use the command 'doors_crucifix_open_customisationmenu' to open the customisation menu in a popup window. This window is not resizeable and my restrict certain elements on small screen sizes!

When new item!?!?!
soon

I want to add support for my addon
I plan on making better "APIs" for the crucifix but for now it calls entity.DC_Crucify if it exists as a function. The params are ([crucify info], player cause). Any issues with this should be reported as an API bug.
More info in 'ADDING SUPPORT'

My question isn't listed here?
I am mainly active in the comments (less so in the discussions) so feel free to ask a question. Although please keep bugs in the 'Bugs' discussion.
Popular Discussions View All (27)
208
18 Jul @ 12:58pm
PINNED: Bugs
triggered∞idiot
137
1
20 Jan @ 3:52pm
Should i make a doors mod?
j3fh4l
82
8 Apr, 2024 @ 4:21pm
other tools
ekspa.jetta
1,409 Comments
triggered∞idiot  [author] 28 Sep @ 8:00am 
i dont mod garrysmod anymore
moferr! 26 Sep @ 2:27pm 
will you fix the fact that it uses the old crucifix emblem? i can send you the new one if you want (rbxm file)
chefduperon1 25 Sep @ 3:32pm 
make it work for everything
triggered∞idiot  [author] 1 Sep @ 5:01am 
what the flip
markinger1966 30 Aug @ 8:37am 
Will you add the J*b skin for the Crucifix? (It's just a reskin)
Adknvk 15 Aug @ 1:25am 
I haven't model for Crucifix, on the server it not spawns, but in the sandbox it just an ERROR
CITY 17 21 Jul @ 8:03am 
найс
Mr.форти 23 May @ 2:43pm 
good mod:steamthumbsup:
osee277 10 Apr @ 3:50pm 
We need a doors flashlight
ianf7791 5 Mar @ 8:23am 
CG 100 do you mean [as in the red one] mescevious light