A few questions on database editing and modding feature requests. (Full Version)

All Forums >> [New Releases from Matrix Games] >> Armored Brigade >> MODS and Scenarios



Message


Mr_Luxury_Yacht -> A few questions on database editing and modding feature requests. (6/15/2019 11:25:35 PM)

So I've started trying to create some new factions in a custom DB, using a mix of bits and pieces from existing units and quick and dirty data from SPMBT's Mobhack tool (usually for rough armor and weapon penetration numbers when I can't find it elsewhere), and I've got some questions.

1. Is it safe to assume all new DLC factions will be added sequentially? I've started adding my units/weapons/ammo/etc... to the very end of the lists (i.e. starting with unit ID 5000 and moving down) with the theory that I can at least copy and paste my XML entries into new copies of the base DB if needed. My worry is with the IDs hard set, if I don't place my stuff in a safe place, I'll never be able to merge things when a new DLC faction is released.

2. Is there a way to assign different sprite scales to "unknown" units. My issue is I'm using a bunch of sprites at a smaller sprite scale (6.7). They look fine, if blurry in game, but the issue is you can always tell when it's one of my units coming because the 'unknown tank' marker is ridiculously big. It's getting scaled at the same factor as the vehicle's main sprite (i.e. the default which I'm assuming needs a scale of 25.6 like all the default vehicle sprites to look normal) and I can't find a way to either change it or substitute a smaller scaled copy I made for that unit.

3. Is there any hope of some sort of DB merge feature or tool in the future? Like, take a batch of units, or a faction and be able to transfer it and it's dependencies into another DB. The modding tools are powerful, but I'm worried things will get a bit siloed if there's no way to combine them. Like let's say modder A makes an awesome China faction, and modder B makes an awesome Japan faction. How can I get them to fight each other? I likely can't merge them manually, since modder A and modder B didn't coordinate and they've used the same hardcoded unit/weapon ID numbers. What about some sort of batch copy/paste within the tool so you could at least shift things around to free up ID numbers (i.e. if you could shift select like, a dozen units and cut and paste them elsewhere. That'd be extremely helpful).

4. What do the vehicle size parameters (i.e. turret/hull length, width height) influence? The likelihood of a turret vs. hull hit? It can be tricky to find for some vehicles so I've just been ballparking it, but will it work fine then as long as I get the ratio of hull size to turret size close?




Veitikka -> RE: A few questions on database editing and modding feature requests. (6/17/2019 1:31:39 AM)


quote:

ORIGINAL: Mr_Luxury_Yacht

1. Is it safe to assume all new DLC factions will be added sequentially? I've started adding my units/weapons/ammo/etc... to the very end of the lists (i.e. starting with unit ID 5000 and moving down) with the theory that I can at least copy and paste my XML entries into new copies of the base DB if needed. My worry is with the IDs hard set, if I don't place my stuff in a safe place, I'll never be able to merge things when a new DLC faction is released.


Our database designer would be better at answering this, but yes, I believe the units etc. will be added mostly sequentially. I think it will take a considerable time before the official database will cover several thousands of units. Perhaps at that point there will be better tools for moving the database items around.

quote:



2. Is there a way to assign different sprite scales to "unknown" units. My issue is I'm using a bunch of sprites at a smaller sprite scale (6.7). They look fine, if blurry in game, but the issue is you can always tell when it's one of my units coming because the 'unknown tank' marker is ridiculously big. It's getting scaled at the same factor as the vehicle's main sprite (i.e. the default which I'm assuming needs a scale of 25.6 like all the default vehicle sprites to look normal) and I can't find a way to either change it or substitute a smaller scaled copy I made for that unit.


I think currently there's no way to adjust the unknown sprite scale separately. One way to 'fix' this would be up-scaling your sprite images to use 25.6 pixels. I don't remember anyone mentioning this issue before so the scaling system hasn't been improved.

quote:



3. Is there any hope of some sort of DB merge feature or tool in the future? Like, take a batch of units, or a faction and be able to transfer it and it's dependencies into another DB. The modding tools are powerful, but I'm worried things will get a bit siloed if there's no way to combine them. Like let's say modder A makes an awesome China faction, and modder B makes an awesome Japan faction. How can I get them to fight each other? I likely can't merge them manually, since modder A and modder B didn't coordinate and they've used the same hardcoded unit/weapon ID numbers. What about some sort of batch copy/paste within the tool so you could at least shift things around to free up ID numbers (i.e. if you could shift select like, a dozen units and cut and paste them elsewhere. That'd be extremely helpful).


Yes, we can try to implement something like this in the future.

quote:



4. What do the vehicle size parameters (i.e. turret/hull length, width height) influence? The likelihood of a turret vs. hull hit? It can be tricky to find for some vehicles so I've just been ballparking it, but will it work fine then as long as I get the ratio of hull size to turret size close?


In the manual chapter 5.1.13. there's information about the vehicle size:

"Size affects how easy the unit is to hit and see. Large vehicles make more dust when they move. The larger the unit is the bigger explosion it can make when it explodes.

The ground vehicle and pillbox size is based on the hull and turret dimensions. If a vehicle is dug-in or in defilade then only the turret is visible. If the vehicle has no turret, then 1/3 of the hull is visible. The size is compared to the size of an ‘average’ sized vehicle, which is the size of a T-72 tank. Based on this, the vehicle is considered smaller or larger than average."




Mr_Luxury_Yacht -> RE: A few questions on database editing and modding feature requests. (6/18/2019 10:39:58 PM)

Thanks for the response! I will say, minor quibbles aside a lot of faction creation is impressively quick, especially when creating new weapons and units. If there's any other places that'd really help speed up editing, it'd probably be some sort of sprite importer (manually adding everything to resources_custom.xml can be a bit of a pain), and creating and assigning formations to factions. If there was a way to assign a nation to a formation in the formations tab instead of vice-versa (since, to my knowledge you probably wouldn't have a formation used in by more than one nation), along with the date of use, etc... it'd really speed things up. Understandably, probably not a priority but wouldn't hurt for a long term improvement list if you guys ever take a pass at an overhaul of the editor.

Other than that, managed to make and assign almost 100 formations of a new faction in my spare time since late last week. It's a pretty flexible tool.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0234375