[{"data":1,"prerenderedAt":224},["ShallowReactive",2],{"/docs/scripts/activities/mapping/activity-editor":3,"/docs/scripts/activities/mapping/activity-editor-surround":214,"/docs/scripts/activities/mapping/activity-editor-implemented-suggestions":223},{"id":4,"title":5,"body":6,"description":204,"extension":205,"head":206,"implementedSuggestions":206,"meta":207,"navigation":208,"path":209,"schemaOrg":206,"seo":210,"sitemap":211,"stem":212,"__hash__":213},"docs/1.docs/scripts/7.activities/4.mapping/1.activity-editor.md","Activity editor",{"type":7,"value":8,"toc":195},"minimark",[9,27,32,71,75,138,141,145,151,154,165,169,176,179,182],[10,11,12,13,20,21,26],"p",{},"Open ",[14,15,16],"strong",{},[17,18,19],"code",{},"/activitiesconfig"," with administrator access. The editor stores activity definitions in the database and is available whether global settings come from the editor or Lua. Use ",[22,23,25],"a",{"href":24},"./custom-maps","Custom maps & IPLs"," to prepare the physical map first.",[28,29,31],"h2",{"id":30},"create-an-arena-or-track","Create an arena or track",[33,34,35,40,43,47,50,54,57,61,64,68],"steps",{},[36,37,39],"h3",{"id":38},"create-or-duplicate-an-activity","Create or duplicate an activity",[10,41,42],{},"Choose the sport, give it a recognizable name and keep it disabled while configuring it. Duplicating an existing definition is useful when its rules match the new location.",[36,44,46],{"id":45},"set-entry-and-exit-points","Set entry and exit points",[10,48,49],{},"Place the interaction marker players use to open the activity, the entry point and the exit point. Keep the interaction accessible from normal gameplay and the exit on safe ground outside the match area.",[36,51,53],{"id":52},"add-maps-and-bounds","Add maps and bounds",[10,55,56],{},"Add a named map and, where needed, its IPL name. Leave the IPL empty for an already loaded map. Choose a radius boundary or place an ordered polygon with lower and upper heights.",[36,58,60],{"id":59},"place-the-gameplay-points","Place the gameplay points",[10,62,63],{},"Add spawns, return zones, objectives, kart grid slots, checkpoints, resets and allowed props as required by the sport and mode. Use the requirements below before increasing the player limit.",[36,65,67],{"id":66},"validate-test-and-save","Validate, test and save",[10,69,70],{},"Use the validation page, correct the reported fields and run a private solo test. Enable the activity and save it when ready. Placement changes remain a draft until saved. Then test with real players, including leaving and returning.",[28,72,74],{"id":73},"required-gameplay-data","Required gameplay data",[76,77,78,91],"table",{},[79,80,81],"thead",{},[82,83,84,88],"tr",{},[85,86,87],"th",{},"Activity or mode",[85,89,90],{},"Required placement",[92,93,94,106,114,122,130],"tbody",{},[82,95,96,100],{},[97,98,99],"td",{},"Paintball / lasertag",[97,101,102,103],{},"Playable bounds, both team return zones, and at least half the maximum player count rounded up as spawn points ",[14,104,105],{},"for each team",[82,107,108,111],{},[97,109,110],{},"Capture the Flag",[97,112,113],{},"Team flags and capture points in addition to the combat requirements",[82,115,116,119],{},[97,117,118],{},"King of the Kill",[97,120,121],{},"At least one control zone in addition to the combat requirements",[82,123,124,127],{},[97,125,126],{},"Kart racing",[97,128,129],{},"A grid slot for each allowed driver, at least two ordered checkpoints, a finish and at least one reset position",[82,131,132,135],{},[97,133,134],{},"Kart Battle",[97,136,137],{},"A random pickup location across the configured maps, in addition to the track requirements",[10,139,140],{},"Start grid positions include direction. Place them and the checkpoints facing along the driving route. Avoid overlapping gates and test their order by driving a full lap.",[28,142,144],{"id":143},"placement-controls","Placement controls",[10,146,147,150],{},[14,148,149],{},"Place in world"," closes the editor temporarily. Move or drive to the position, look in the intended direction and press Enter to confirm. For a sequence, Enter records each point and Backspace ends placement and returns to the editor.",[10,152,153],{},"Fine adjustment keeps the existing point and offers arrow keys, Page Up/Page Down, Q/E and the mouse wheel. Follow the placement overlay for the current operation.",[10,155,156,157,160,161,164],{},"Polygon bounds support up to ",[14,158,159],{},"64 ordered vertices",". The last point connects back to the first. Set lower/upper Z to cover the playable volume; self-crossing polygons must be corrected before activation. Props must be in the effective ",[17,162,163],{},"ArenaProps"," allowlist.",[28,166,168],{"id":167},"solo-tests-and-saved-changes","Solo tests and saved changes",[10,170,171,172,175],{},"The solo-test page can add up to seven local test peds, limited by the session's player capacity. Choose active behavior for movement/objectives or stationary behavior for aiming and grid checks. ",[17,173,174],{},"/leaveactivity"," ends the preview and returns to editing.",[10,177,178],{},"Local test peds do not replace a multiplayer test: another client is needed to check synchronization, spectators and the experience under real network conditions.",[10,180,181],{},"The editor uses revision checks and editing locks. If another administrator owns the definition or it has changed since opening, resolve that conflict before saving. Active matches use their existing session copy; saved changes apply to subsequent games.",[10,183,184,185,189,190,194],{},"For placed sport equipment use ",[22,186,188],{"href":187},"../features/table-sports","Table sports",". Bowling locations are configured separately in ",[22,191,193],{"href":192},"./bowling-mlos","Bowling MLOs",".",{"title":196,"searchDepth":197,"depth":198,"links":199},"",1,2,[200,201,202,203],{"id":30,"depth":198,"text":31},{"id":73,"depth":198,"text":74},{"id":143,"depth":198,"text":144},{"id":167,"depth":198,"text":168},"Create locations, place gameplay points, validate arenas and tracks, and test them before opening to players.","md",null,{},true,"/docs/scripts/activities/mapping/activity-editor",{"title":5,"description":204},{"loc":209},"1.docs/scripts/7.activities/4.mapping/1.activity-editor","md1HaLn117dUVxre7YxNPLJIZQZ1I2GrSbD3J4mhid0",[215,219],{"title":188,"path":216,"stem":217,"description":218,"children":-1},"/docs/scripts/activities/features/table-sports","1.docs/scripts/7.activities/3.features/5.table-sports","Place playable billiard tables, dartboards, air hockey, foosball and table tennis equipment.",{"title":25,"path":220,"stem":221,"description":222,"children":-1},"/docs/scripts/activities/mapping/custom-maps","1.docs/scripts/7.activities/4.mapping/2.custom-maps","Build or install a physical map, package it as a FiveM resource, and connect it to an Activities arena or kart track.",[],1792607509542]