+ Reply to Thread
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: No Collide Addon

  1. #1
    Wire Noob splat2010's Avatar
    Join Date
    Apr 2008
    Posts
    6

    Default No Collide Addon (Updated)

    Hey guys,

    I've made an addon which you may find useful. Basically it sets an entity to no collide based on a wire input. It also saves the material and colour used in each state, so you can make a force field type thing which goes invisible or changes colour when deactivated.


    ~ wire_no_collide ~

    [UPDATE]

    New in version 2:
    - You can select multiple entities to no collide
    - Code has been cleaned up a bit (no more commented old code BlackPhoenix :P)
    - A couple of bug fixes

    To install:
    - Extract the zip file contents into %steam directory%\steamapps\%email%\garrysmod\garrysmod\a ddons
    To use:
    - Select the 'No Collide' tool under the 'Wire - Physics' section of the wiremod tab
    - Left click on the entities you want to no collide
    - Right click where you want to weld the controller
    - Wire the 'Activated' input to whatever you want!
    (Optional)
    - Set the No Collide Controller to deactivated
    - Change the material and colour for entities in their normal state using the normal material and colour tools
    - Set the No Collide Controller to activated
    - Set the material and colour for entities when they are no collided
    --> The material and colours will be saved when the no collide state is changed, allowing a force field like effect when turned on and off
    Inputs:
    Activate :
    0 - Entities have normal collisions
    >0 - Entities will not collide with other players or props

    If anyone wants to include this in a bundle addon (or even in the wiremod svn ) then feel free. Give me an email if you do.

    Hope you find this useful!

    - Mat
    Attached Files Attached Files
    Last edited by splat2010; 06-03-2008 at 10:24 AM. Reason: Forgot to upload the zip duh!

  2. #2
    Wire Noob Mr. Fargun's Avatar
    Join Date
    Mar 2008
    Posts
    2

    Default Re: No Collide Addon

    Nice!!
    I specially liked your idea of a material changing force field, very well thought!
    Thanks!

  3. #3
    Wire Noob bob121's Avatar
    Join Date
    Mar 2008
    Posts
    7

    Default Re: No Collide Addon

    Love it!

    Been waiting for something like this for ages, great for base doors.
    Great stuff

  4. #4
    Wire Weeaboo Pyro-Fire's Avatar
    Join Date
    Aug 2007
    Location
    WA, Australia
    Posts
    1,804

    Default Re: No Collide Addon

    i would have called it configurable door.



  5. #5
    Wirererer drpepper's Avatar
    Join Date
    Nov 2007
    Location
    Made in the USA
    Posts
    137

    Default Re: No Collide Addon

    AH finally! There were so many posts regarding the creation of a no-collide latch, tell me is it possible to create one similar to a weld latch? For instance click on two props that you can toggle the no collide on and off? Great work!

  6. #6
    Wire Noob INGY's Avatar
    Join Date
    Mar 2008
    Posts
    7

    Default Re: No Collide Addon

    I think this should be put into svn as it has got a lot of uses i like the idea of been able to colour the prop when in no-collide. So if it is ok with splat i think it would be a very good addition to the wire mod addon.

  7. #7
    Wire Noob splat2010's Avatar
    Join Date
    Apr 2008
    Posts
    6

    Default Re: No Collide Addon

    Thanks for the positive feedback

    drpepper: That is certainly something that I could add in. Where would you use it though?

    My next idea was to make it so that you can left click multiple entities to no collide (with all other ents), and right click to place the controller instead of just being limited to one no collide per controller. Having this and being able to no collide two specific entities could be a little tricky though - i wouldn't be sure how the controls would work...

    As for adding this to the svn, I would be happy with that. Would be nice to use this on some of the servers . Does anyone know how to go about it? I'm assuming we have to ask one of the devs nicely!

    Mat

  8. #8
    Wire Sofaking IEF015's Avatar
    Join Date
    Feb 2008
    Location
    London, ON (Canada, eh?)
    Posts
    1,640

    Default Re: No Collide Addon

    I think this is SVN worthy.

    Well made.
    "It's my favourite country song. And I hate it."

  9. #9
    That furred thing Black Phoenix's Avatar
    Join Date
    Feb 2007
    Location
    Kyiv, Ukraine
    Posts
    3,563

    Default Re: No Collide Addon

    Geh, clean your code from old commented code before releasing :P
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  10. #10
    Wire Noob Shadow45's Avatar
    Join Date
    Dec 2007
    Posts
    24

    Default Re: No Collide Addon

    Nice !!

+ Reply to Thread
Page 1 of 4 123 ... LastLast

LinkBacks (?)

  1. 01-28-2010, 12:08 PM

Similar Threads

  1. Wired Turrets do not like to no-collide.
    By Gunnanmon in forum Bug Reports
    Replies: 0
    Last Post: 08-28-2008, 01:42 AM
  2. addon downloads
    By wpgguy in forum Installation and Malfunctions Support
    Replies: 1
    Last Post: 05-31-2008, 06:41 PM
  3. No collide wire !
    By Shadow45 in forum Ideas & Suggestions
    Replies: 8
    Last Post: 01-17-2008, 06:30 PM
  4. Addon help
    By UltimateUnLTD in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 08-03-2007, 06:27 AM
  5. Addon's
    By mrfye in forum Installation and Malfunctions Support
    Replies: 4
    Last Post: 07-04-2007, 02:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots