November 07, 2024, 06:50:16 AM
Homepage
Home
Help
Search
Login
Register
Wiki
Imprint
Warhammer Dark Omen Forum
|
Modifications
|
Tools
BTB Editor
Username
1 Hour
1 Day
1 Week
1 Month
Forever
Password
Pages: [
1
]
Go Down
Print
Author
Topic: BTB Editor (Read 4980 times)
0 Members and 1 Guest are viewing this topic.
Ogrim Helmson
Troll
Offline
Posts: 3
BTB Editor
«
on:
February 09, 2019, 04:53:10 PM »
For the Highking,
hey guys at first a special thanks for you.
in the past these forum has often helpe me and a big sorry for my bad english.
here my problem:
i would like to start the normal campaign with two more units
at first i added the new units with the "wh2edit" in plyr_alg.arm file in the 1parm folder
and in the file B101mrc.arm choosen in the 1pbat folder (iam not sure if the second must to)
after that i download the btb editor but i doesn´t now how to create the start point and in which "chunk" or "subchunk"
list i have to got to write down the "unique unit id"
so i hope you understood me
Logged
olly
Global Spokesperson
Offline
Posts: 2296
Re: BTB Editor
«
Reply #1 on:
February 09, 2019, 05:55:47 PM »
Hi
check out my guide to adding new units
http://forum.dark-omen.org/campaigns/how-to-create-new-mods-and-campaigns-t1251.0.html;msg12685#msg12685
«
Last Edit: February 09, 2019, 11:42:19 PM by olly
»
Logged
and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Ghabry
Developer
Offline
Posts: 1020
Re: BTB Editor
«
Reply #2 on:
February 09, 2019, 07:15:14 PM »
Don't add new units to the files in 1pbat.
The game expects a fixed size for this file and it will crash or not work. Same applies for savegames.
Logged
Ogrim Helmson
Troll
Offline
Posts: 3
Re: BTB Editor
«
Reply #3 on:
February 09, 2019, 11:06:00 PM »
@ olly : how can i use this converter? i downloaded the "programm "which have two files btbxml.py and xmlbtb.py and i can only open these files with the editor and on that point i doesnt now what have i to do.
Logged
olly
Global Spokesperson
Offline
Posts: 2296
Re: BTB Editor
«
Reply #4 on:
February 09, 2019, 11:16:43 PM »
Copy btbxml.py and xmlbtb.py into a 1pbat\B1_01 and install Python 2.6 and then right click on btbxml.py and Edit with IDLE
BTBXML Guide 1.jpg
(81.19 KB. 640x407 - viewed 536 times.)
Change the Map name to B1_01 or whatever mission you want to edit
BTBXML Guide 2.jpg
(122.62 KB. 666x721 - viewed 662 times.)
Run -> Run Module
BTBXML Guide 3.jpg
(131.07 KB. 666x725 - viewed 670 times.)
It will create an out.xml file for you to edit and then recompile back into a BTB file using xmlbtb.py
BTBXML Guide 4.jpg
(125.14 KB. 729x766 - viewed 653 times.)
XMLBTB Guide 4.jpg
(109.26 KB. 667x719 - viewed 644 times.)
Also examine the Dark Omen 2 mod template B6_01 which is a copy of B1_01 but I have added more starting units
http://forum.dark-omen.org/help-section/read-me-ultimate-dark-omen-xpvistawin7win81win10-game-fixes-t111.0.html
BTBXML Guide 5.jpg
(120.04 KB. 640x480 - viewed 506 times.)
«
Last Edit: February 10, 2019, 08:08:08 PM by olly
»
Logged
and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Ogrim Helmson
Troll
Offline
Posts: 3
Re: BTB Editor
«
Reply #5 on:
February 10, 2019, 07:03:16 PM »
i doint had the button edit with idle but why? ... i doint now yet i can use it but i have the next problem
when i recompile the file there seen me this
Traceback (most recent call last):
File "E:\Games\Dark Omen\GameData\1pbat\B1_01\xmlbtb.py", line 74, in <module>
tree = ET.parse("out.xml")
File "C:\Python27\lib\xml\etree\ElementTree.py", line 1176, in parse
tree.parse(source, parser)
File "C:\Python27\lib\xml\etree\ElementTree.py", line 653, in parse
parser.feed(data)
File "C:\Python27\lib\xml\etree\ElementTree.py", line 1623, in feed
self._raiseerror(v)
File "C:\Python27\lib\xml\etree\ElementTree.py", line 1487, in _raiseerror
raise err
ParseError: junk after document element: line 882, column 7
>>>
Logged
olly
Global Spokesperson
Offline
Posts: 2296
Re: BTB Editor
«
Reply #6 on:
February 10, 2019, 08:08:26 PM »
Uninstall Python 2.7 and install Python 2.6 to try and get that EDIT
Logged
and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Pages: [
1
]
Go Up
Print
Jump to:
Please select a destination:
-----------------------------
Warhammer Dark Omen Community
-----------------------------
=> News
=> Tavern
===> Introduction
=> Website Related
-----------------------------
Warhammer Dark Omen
-----------------------------
=> Singleplayer
=> Multiplayer
===> Rules and Standards
===> Tournaments
===> Armybuilds
=====> Empire Armybuilds
=====> Greenskin Armybuilds
=====> Undead Armybuilds
===> Tactics
=====> Empire Tactics
=====> Greenskins Tactics
=====> Undeads Tactics
===> Dark Omen Expanded
===> Black Prophecy (Dark Omen Mod)
=> Help Section
=> Tactical wargaming and other Warhammer games
-----------------------------
Multiplayer Campaign
-----------------------------
=> Dark Omen Conquest
-----------------------------
The Remake Project
-----------------------------
=> OMG WARTBED
=> Bright Portents
=> General Suggestions
-----------------------------
Modifications
-----------------------------
=> 3D Scenery Models
=> Maps
=> 2D Sprites
=> Troops
=> Tools
=> Campaigns
Loading...