Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
d3nn16

CTF template

Recommended Posts

I made a ctf template (I keep improving) you can find on my webpage.

Here is a quick way to create your ctf mission using the template V06 :

1. open mission editor

(in the intel dialog set the hour start at 4:30 - because time of day is random at start 4:30 - 19:30)

2. place on map :

 - the 2 flags (put : this setFlagSide west (or east), in the init line and in the name field FLAG_WEST (or FLAG_EAST))

 

 - the west and east units (set them all to playable)

 

 - place respawn markers (respawn_west (or respawn_west_1, respawn_west_2, etc) and respawn_east (or respawn_east_1, respawn_east_2, etc))

 

 - place 0, 1 or several base markers (that will protect players from enemies when they spawn) and name them for instance M_BASE_EAST_R_1, M_BASE_EAST_E_2 etc and M_BASE_WEST_E_1, M_BASE_WEST_E_2 etc (the letter R or E must match the type of the marker (ellipse or rectangle) this is because there's no command as markerShape to tell the shape of the marker)

 

 - place 0, 1 or several game area markers (that will cover the area the players must stay in) and name them for instance M_GAME_AREA_R_1, M_GAME_AREA_E_2 M_GAME_AREA_E_3, M_GAME_AREA_R_4 etc (the letter R or E must match the type of the marker (ellipse or rectangle) this is because there's no command as markerShape to tell the shape of the marker)

 

 - the flag markers are placed by a script that checks the color you used for the base or respawn markers (if you named them as above) if it doesn't find a color it defaults to green for west and red for east (you can modify that in the ctf_triggers.sqf file)

3. test your map (don't forget to copy all files except mission.sqm from a template map to your map directory)

NOTE : if your ctf mission has buildings that form the boundary of the game area or the boundaries of bases then set the variables CTF_MARK_GAME_AREA_BORDERS, CTF_MARK_WEST_BASE_BORDERS, CTF_MARK_EAST_BASE_BORDERS to false (this will disable the creation of danger panels around the markers)

If you need more instructions ask them here

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×