HL2DM CTF Prefab

A Map for Half-Life 2: Deathmatch

Updates

MapParentSubmitterStats
  • 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
b2 1y
Sign up to access this!

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

  • Jora_ avatar
    Jora_ Joined 6y ago
    Offline
    1,746 points Ranked 3012th
    12 medals 1 rare
    • 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
    • Returned 100 times Medal icon
    1y
    I did so.
    But some sound cache is damaged after sv_pure 2
    Bananite
    URL to post:
  • gtamike_TSGK avatar
    gtamike_TSGK username pic Joined 11y ago
    Mapping
    5,981 points Ranked 839th
    17 medals 2 legendary 3 rare
    • 10 years a member Medal icon
    • Became a Ripe Supporter Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Reached 1,000 Points Medal icon
    1y
    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

    HL2DM Source Mapper Since 2007 avatar
    Mantra
    HL2DM Source Mapper Since 2007
    URL to post:
  • Jora_ avatar
    Jora_ Joined 6y ago
    Offline
    1,746 points Ranked 3012th
    12 medals 1 rare
    • 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
    • Returned 100 times Medal icon
    1y
    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
    URL to post:
  • tommytoy avatar
    tommytoy Joined 12y ago
    Offline
    815 points Ranked 6372nd
    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
    1y
    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
    URL to post:
  • Jora_ avatar
    Jora_ Joined 6y ago
    Offline
    1,746 points Ranked 3012th
    12 medals 1 rare
    • 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
    • Returned 100 times Medal icon
    1y
    Is there this problem on my map too?
    http://gamebanana.com/maps/192477

    without bots its okay?
    Bananite
    URL to post:
  • tommytoy avatar
    tommytoy Joined 12y ago
    Offline
    815 points Ranked 6372nd
    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
    1y
    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
    URL to post:
  • Jora_ avatar
    Jora_ Joined 6y ago
    Offline
    1,746 points Ranked 3012th
    12 medals 1 rare
    • 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
    • Returned 100 times Medal icon
    1y
    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
    URL to post:
  • tommytoy avatar
    tommytoy Joined 12y ago
    Offline
    815 points Ranked 6372nd
    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
    1y
    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
    URL to post:
  • Jora_ avatar
    Jora_ Joined 6y ago
    Offline
    1,746 points Ranked 3012th
    12 medals 1 rare
    • 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
    • Returned 100 times Medal icon
    1y
    Thx
    Bananite
    URL to post:
  • gtamike_TSGK avatar
    gtamike_TSGK username pic Joined 11y ago
    Mapping
    5,981 points Ranked 839th
    17 medals 2 legendary 3 rare
    • 10 years a member Medal icon
    • Became a Ripe Supporter Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Reached 1,000 Points Medal icon
    1y
    Great work 

    10

    HL2DM Source Mapper Since 2007 avatar
    Mantra
    HL2DM Source Mapper Since 2007
    URL to post:

Embed

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

Credits

Submitter

Jora_ avatar
Jora_ Joined 6y ago
Offline
1,746 points Ranked 3012th
12 medals 1 rare
  • 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
  • Returned 100 times Medal icon

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

Game

Sign up to access this!

Category

License

Details

Version
Unknown

Attributes

Development State
Beta

Share

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

Stats

  • 135 DLs
  • 1.8k Views
  • 11 Posts
  • 1ySubmitted
  • 1yModified
  • 1yUpdated

Featurings

  • Today's Pick May 19 2017

Scores

90 bScore
10 Rating

3 voters

Sign up to access this!

More from Submitter

More Capture the Flag Maps

bcp.crwdcntrl.net tracking pixel