HL2DM CTF Prefab

A Map for Half-Life 2: Deathmatch

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Jora_ points.
  • Post: Give Jora_ your thoughts on this Map.
  • Vote: Help Jora_ win the Monthly Awards.
  • Rate: Give this Map a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Map.
  • Watch: Get notified when this Map is updated.
Mascot

Join the community!

Sign up

Already a Bananite? Login

Updates

b2
  • map will restart after winning, game_end added
  • mp3 sounds converted to wav
  • score limit changed from 15 to 10
  • auto timilimit 0
  • +2 points for picking flag
Jora_ avatar
Jora_ Offline
Member Joined 5y
Jora_
6mo

NEW "HL2DM CTF Prefab"!

More fun in the old great game with a new CTF mode!

Features:
- pure i/o valve hammer system
 (no additional server plugins\scripts needed)
- flag is parents on your back like in all CTF games
- awesome scoreboard maded from brushes and logic entities
- informative "fake-hud" screen elements 
  (score text, flag status indicator)
- sounds from Unreal Tournament for each team 
  (flag taken, returned, dropped, scored, etc)
- custom physics flag model 
   (no-solid to player and bullets, affected by gravygun, with spritetrail and glowing effects)
- through-wall flag indicator 
  (not working through vis-portals :( )
- 15 second sprite-timer indicator 
  (shooting on flag will reseting timer)
- scoring system
 +2 points for returning the flag
+2 pionts for picking the flag
+10 points for capture the flag
-2 points for dropping the flag

- full screen overlay with "winning" text and random music

+ bonus features
- Dead players dropping HP kit
- Dissolve ragdoll effect for dead players.
- Auto Teamplay by gtamike_TSGK http://gamebanana.com/maps/195399

NOTES:
1) if flag goes outside map(special trigger) or player crashed\disconnected with a flag on his back,
flag will respawn in 15 seconds, anyway, so don't worry about it and wait.

2) for better hud-elements\text-notifications working, you need to disable all plugins whith uses game_text entities!
3) if you used\played previous versions of jora ctf maps and you got game crash or red errors in console sometimes,
you need to put Del_cache.cmd file in
Half-Life 2 Deathmatch\hl2mp\custom foldier and run.
This operation will clean old sound\models cache which can making in-game confclicts.

4) some of content (sounds, models) taken from AG2, UT3 games.
5) bugs are possible... please post your feedback if you'll find any.
----------------------------------------------------------------------------------------------
IN THE LAST VERSION (18 May 2017 update):
> new parrenting system 
(fixing problems, when flag spawns in player or
in different dinstance of player back)
> new sounds now comes from flag position (before it played everywhere) 
> earn\lose points for taking\dropping flag
> new text notifications 
"You've drop the flag"
"You returned the flag"
"You have the enemy flag"

----------------------------------------------------------------------------------------------
[!] (we are russians, so if you find any grammatical errors in
this description or game_text entities, please, feedback and we will fix all stuff for better undertanding) 
----------------------------------------------------------------------------------------------
INSTRUCTION (HOW TO USE):
put "_flag" foldier in your
Half-Life 2 Deathmatch\hl2mp\models\custom foldier
copy-paste groupped entities (both flags, scoreboard, mixed enities from center... and dont forget about three big trigger_multiple's covered all the map).

IF YOU WANT TO ROTATE FLAG, you should change angles in env_entity_maker entity named
blue_flag_maker_phys or red_flag_maker_phys ...

SCREENSHOT:


WARNING: Dont rotate flag groups in hammer ! You will broke everything! 

Files

Posts

  • 6mo
    Jora_ avatar
    Jora_ Offline
    Member Joined 5y
    I did so.
    But some sound cache is damaged after sv_pure 2
    Bananite
  • 6mo
    gtamike_TSGK avatar
    gtamike_TSGK avatar Mapping
    Member Joined 10y
    2,304 points Ranked 2038th
    16 medals 1 legendary 3 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    Test to see if you can convert the .wav sound files to .ogg it will lower size without sound loss. 
    http://audio.online-convert.com/convert-to-ogg

    P.S.
    I did this for some gmod and black mesa maps. 

    10/10

    HL2DM Source Mapper Since 2007 avatar
    Mantra
    HL2DM Source Mapper Since 2007
  • 6mo
    Jora_ avatar
    Jora_ Offline
    Member Joined 5y
    Hi there, tommytoy !

    yesterday we're tested CTF mode with HRCBOTS for 1 hour...  
    we took the bot's flags... and we gave flags to bots... and flags are captured well in both cases...
    funny fact: if you let play only bots on a small map, they can pick and capture flag without humans help... :) (They do it randomly, because the flag cant be the target for them)



     it's seems like your bots works in different way (maybe old version), or maybe it's another plugin conflict... idk 

     it would be easier to understand your problem, if you recorded a video, and send your plugin_print in console (list of your plugins on server) or IP of the server.

    p.s.
    not really best idea to play CTF maps with bots, coz bots can't recognize flags and physics... and also they are really stupid ;) a
    Bananite
  • 6mo
    tommytoy avatar
    tommytoy Offline
    Member Joined 11y
    815 points Ranked 5771st
    8 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    Yes it does it whit both maps 

    ctf_mini_fort_b4 and ctf_prefab_map_grouped_flag_b2

    Without the Bots it works like wonder.
    Bananite
  • 6mo
    Jora_ avatar
    Jora_ Offline
    Member Joined 5y
    Is there this problem on my map too?
    http://gamebanana.com/maps/192477

    without bots its okay?
    Bananite
  • 6mo
    tommytoy avatar
    tommytoy Offline
    Member Joined 11y
    815 points Ranked 5771st
    8 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    Hi again Jora_,

    It is strange that when we are playing with Bots (HRCBOT)  and take the flag from the opponnent is ok, but when we want to score in hour own drop zone it doesnt do anything.......we have to kill our self take back the flag and then it will score in the drop zone????
    Bananite
  • 6mo
    Jora_ avatar
    Jora_ Offline
    Member Joined 5y
    tommytoy, Thank you for feedback!
    Yea, there is a bug with a ladders...  now it's working better (in updated version), flag doesnt fall, but it's quickly dropping and taking... it's happened, cause player quickly dissapears  and appears on a ladder.
    i have some ideas, so maybe i will fix this problem later.

    flag should works fine in water 

    we tested flag long time on my map... ctf_mini_fort_b2_2 and no issues

    maybe you miss some triggers or stuff?
    what do you mean by "double jumping"?
    Bananite
  • 6mo
    tommytoy avatar
    tommytoy Offline
    Member Joined 11y
    815 points Ranked 5771st
    8 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    Famtastic work mate, like you have i've put the template in some old maps.

    I noticed the flag drops wen climbing a ladder, double jumping and in water.

    Is this part of the prefab or a bug?

    I didn't try this version yet, will try later tonight.

    Thank again...
    Bananite
  • 6mo
    Jora_ avatar
    Jora_ Offline
    Member Joined 5y
    Thx
    Bananite
  • 6mo
    gtamike_TSGK avatar
    gtamike_TSGK avatar Mapping
    Member Joined 10y
    2,304 points Ranked 2038th
    16 medals 1 legendary 3 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    Great work 

    10/10

    HL2DM Source Mapper Since 2007 avatar
    Mantra
    HL2DM Source Mapper Since 2007

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Submitter

Jora_ avatar
Jora_ Offline
Member Joined 5y

Jora_
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Details

Attributes

Development State
Beta

Stats

Posts
11
Views
1,139
Downloads
113
Total Downloads
113
Date Added
6mo
Date Modified
6mo
Date Updated
6mo

Featurings

  • Today's Pick May 19 2017

Scores

90 bScore
10 Rating

3 voters

Sign up to access this!

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

More from Submitter

bcp.crwdcntrl.net tracking pixel