Click here to access the Tanksim website![]() |
The Web's #1 BBS for all submarine and naval simulations! |
|
|
#4 |
|
Machinist's Mate
![]() Join Date: Oct 2008
Posts: 127
Downloads: 3
Uploads: 0
|
![]() TL;DR: The editor for TvT has a new mission button but it does not work, it never did so here we are. Pick a stock mission ➜ type a new mission name (token) + title + two objectives ➜ click Clone ➜ paste one line into MissionsMenu.script ➜ play. No hex-editing, no Python, no editor weirdness. What it is A single HTML tool that clones any stock T-34 vs Tiger mission into Missions\MyMission\<NewToken>, renames everything safely, and auto-writes your mission name, briefing, and objectives. Works on modern Windows; runs in your browser (Edge/Chrome). Built by: jeff (testing), Kimi AI & GPT working together. Status: Stable. We’ve launched multiple custom missions with it. Why it’s useful No “Duplicate class …” crashes: helper classes are collision-safe. No “TEXT” placeholder: the tool writes a correct C<NewToken>Mission_Strings. No global locale tangles: per-mission resources; no fiddling with Messages.rsr. Zero installs: it’s just an .html you open in your browser. Requirements A clean TVT install (retail/CD). Microsoft Edge or Chrome. Firefox does not support file editing! Read/write permissions to your TVT folder. Quick start (2 minutes) Open the HTML in Edge/Chrome. Choose Game Folder → point at your TVT root (e.g. M:\T34vsTiger). Select source: Campaign (USSR/Germany) → Mission (1–6). New mission token: e.g. RangeTest5 (letters/numbers/underscores; no spaces). Title & Objectives: a title and up to two lines of objectives. Click Clone (do it). Final manual step (one line): Open Scripts\Menus\MissionsMenu.script and add your mission to the Axis list: "C<YourToken>Mission" Add it inside final static Array Germany_Missions = [ ... ]. Tip: No trailing comma if it’s the last item. Put customs near the top so they show. Launch the game → Axis Summer 1944 → your mission appears with your title & briefing. Known limits (and how we handle them) Campaign menu shows 7 items max. Curate the seven you want visible. Keep a small commented “parking bay” of extras at the bottom of the file so you can swap lines quickly. We use plain string entries (no triples) in Germany_Missions because that’s the most reliable with stock scripts. Troubleshooting (60-second checks) Menu shows “Text” Check the “three locks” match your token (e.g., RangeTest5): MissionsMenu.script: "CRangeTest5Mission" in Germany_Missions Mission.script: class CRangeTest5Mission … and static WString ObjectivesText = CRangeTest5Mission_Strings::ObjectivesText; RangeTest5Mission_Strings.script: class CRangeTest5Mission_Strings extends CCommonStrings Duplicate class crash (e.g., CC2M3Atmosphere) You have an older clone with un-namespaced helpers. Delete the old custom folder and re-clone. Mission not in list You added line 8+ in the campaign array. Move your custom into the first seven entries. Safe practice Back up Scripts\Menus\MissionsMenu.script before first edit. Keep two files side-by-side: MissionsMenu.stock.script and your live MissionsMenu.script. Zip each finished mission folder (Missions\MyMission\<Token>) with the date. Credits jeff — testing, mission design, and the stubbornness that got this over the line. Kimi AI & GPT — the little robots that made the HTML behave. WORKING-TvT_Mission_Cloner_v1_4_2
__________________
http://theantisocialgamer.blogspot.com/ http://panzersim.forumotion.com/forum.htm
|
|
|
|
| Tags |
| t-34 versus tiger |
|
|