Removing Intel Outline

Discussion in 'Mapping Questions & Discussion' started by jandals, Dec 9, 2012.

  1. jandals

    jandals L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    Remove Intel Outline?

    Is there a way to remove the outline that shows where the intel is?

    I have a secret room (it's a fun map) where i'd like to have a prop you can pickup and wear. Currently I've just got it as an item_teamflag with a custom model, but it kind of gives the secret away if you can see the outline through the walls (I'm ok with the outline once it's been discovered).

    From what I've read, maybe having the flag model as a blank prop, and then parenting the actual prop to the flag? I'm still a bit newbie, so I'm not too sure if this would work/how I'd go about doing this.

    I'd also like the player to be able to carry multiple props (flags?), but by default it seems like you can only carry 1 flag at a time. The other thing is the hud icon of the briefcase, can this be disabled/changed? ... but to be honest, I can live with the hud icon.

    But in general, am I going about it the right way? The flag doesn't affect the gameplay, so if there's another way to attach a prop to a play, that'd probably be better.

    Thanks for any insights/help!
     
    Last edited: Dec 9, 2012
  2. PHISH

    PHISH L1: Registered

    Messages:
    41
    Positive Ratings:
    15
    I'm not sure...for some reason that outline never shows for me. I'm guessing it's a client setting but I'm wondering if by chance there is a server setting for it.
     
  3. jandals

    jandals L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    Yeah, it's a setting in Advanced Options "Use Glow Effect for Payload Objectives". I'm not sure what the corresponding cvar is though.

    I've been playing around with some alternative ideas and I might make the flag spawn when you enter the secret room, or on the player themselves.
     
  4. GPuzzle

    GPuzzle L9: Fashionable Member

    Messages:
    638
    Positive Ratings:
    134
    I think (think) that there is no way to force players to do this.
     
  5. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    You won't be able to allow multiple flags or remove/alter the hud.
     
  6. jandals

    jandals L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    I managed to hobble a solution together. I have a prop_dynamic of the flag, a trigger_multiple, and the item_teamflag itself all in one location. The prop is shown at the start (no outline) and when you touch the trigger, it swaps it out for the real flag.

    logic_auto
    OnMapSpawn > flag1_prop > SetAnimation > Spin
    OnMapSpawn > flag1 > Disable

    trigger_multiple
    OnStartTouch > flag1 > Enable
    OnStartTouch > flag1_prop > Disable

    flag1 (item_teamflag)
    OnReturn > flag1 > Disable
    OnReturn > flag1_prop > Enable

    It might not be ideal, but it suits my needs of having a hidden flag :)