Thread: [Custom Entity] Payload

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2018
    Posts
    2

    Smile [Custom Entity] Payload

    Func_Payload

    Github Repo (Download)



    Goals:
    1. Introduce a new gameplay objective (to Sven Co-op, anyway) for level designers to use, which they could just put in their map with minimal scripting.
    2. Write the code in such a way that it is reusable and can be more easily referenced by other developers when creating similar entities.


    The idea behind this entity isn't exactly new or groundbreaking; it's a train which moves forward when friendly entities are within a particular range, and is blocked by enemies which are within the same range. The behavior models more closely to the payloads from Overwatch, but the concept is similar to the payload mode from Team Fortress 2.

    The biggest difference of this implementation is that it uses Half-Life's classification system in order to determine what is friendly or an enemy, giving the level designer more choices. The payload can also hurt or heal friendly and enemy entities within its detection range.

    Some ideas I had as to how this entity could be used:
    • The players are tasked with removing radioactive material from within Black Mesa, damaging them over time as they push it.
    • A task force of grunts are trying to push a massive explosive into a research lab, and the players have to prevent them by delaying the payload until they run out of forces.


    Use:
    I've detailed out the various properties and other details on the Github repo, which will be kept up-to-date as I work on it.
    Last edited by Jagaimo; 14-04-2018 at 04:06 PM.

  2. #2
    Super moderator Hezus's Avatar
    Join Date
    Aug 2001
    Location
    The Netherlands
    Posts
    8,976

    Re: [Custom Entity] Payload

    Great job on this one! Hope to see it in action somewhere soon.

  3. #3
    Registered User
    Join Date
    Apr 2018
    Posts
    2

    Re: [Custom Entity] Payload

    Thank you! I'll work on getting an example map together to share.

  4. #4
    Administrator JPolito's Avatar  
    Manager
    Join Date
    Apr 2004
    Posts
    7,517

    Re: [Custom Entity] Payload

    I like this. I've been bouncing an idea around in my head that uses this exact entity setup, but haven't had a chance to put it together yet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •