New building.dat editor options coming soon..

Forum Archive - from http://theuniversal.net
Locked
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

New building.dat editor options coming soon..

Post by Mit »

Next buildings.dat editor tool has new options for exporting and importing the building data to a text format. (See below).
This should provide a few options to make life easier.. Primarily, youll have the option to edit your buildings in your favourite text editor rather than the editor tool, allowing you to do proper cut and paste editing nd all that sorta stuff. Exporting different buildings.dat's then combining em in the text editor should make it much easier to pick and choose particular buildings from other isles.
The text file format for the buildings.dat also gives the potential for other peeps to make web-based editor scripts or other editing tools, should anyone get the urge.

Not quite finished yet.. hopefully will be done lata today.

Code: Select all

Building 1
{
Name=Test1
Type=Retail
Tech=1
Cost=150
Armour=40
EmployeeSkill=Nothing
MaxEmployees=1
MinEmploymentTime=60
	Sales 1
	{
		Item=Vehicle 1
		Max=10
	}
	Sales 2
	{
		Item=vehicle 2
		Max=20
	}
}
Building 2
{
Name=Test2
Type=Trigger
Cost=40
TriggerMode=8
TriggerParam=60
}
User avatar
hedgehog
Staff
Staff
Posts: 1057
Joined: Tue Sep 30, 2003 2:57 am
Location: ann arbor, michigan
Contact:

Post by hedgehog »

:shock:




.... :D :D:D:D:!:




........ :shock:
User avatar
Jemrada
World Owner
World Owner
Posts: 632
Joined: Tue Aug 10, 2004 3:47 pm
Location: uhhh!
Contact:

Post by Jemrada »

Seems like a good idea. Can't wait 8)
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

version on downloads page now does it. The parser for the text file will be a bit 'delicate' initially (i.e. you'll have to make sure that any changes you make to the text file are exactly in the right format when u import it), and it doesnt have any error message output yet when the text file format is wrong.. This will get tidied up over the next few days/weeks.
User avatar
Fooli
Staff
Staff
Posts: 1957
Joined: Sun Oct 05, 2003 2:38 pm
Location: Mars

Post by Fooli »

Ahh, that all sounds great. Does it do multiple animated turret attach point wheel suspensions yet? :)
f
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

yes
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

can't wait to try it. should make bdat editing a ton easier
Locked