Modder's Toolbox -1 reply

Please wait...

Amateur

beginner on armada2files

50 XP

23rd April 2005

0 Uploads

398 Posts

0 Threads

#11 10 years ago

This might be it... // This is the damage rate per second per attending battleship. damageRate = 300 Though judging by the little header it has it might be designed only for this weapon... Anyways, back on topic. Any extra tool is a good one. I still use good ol' notepad myself - but that doesn't mean I don't appreciate anything like this. Good work :)




Terra_Inc

I'm not a bug. I'm a feature.

50 XP

3rd November 2008

4 Uploads

329 Posts

0 Threads

#12 10 years ago

Update! :cya:

The Output Calc v2 is still "under construction".

The Hitpoint Calc will soon be completed. Most of the coding is done and the GUI has been changed to a smaller shape. Take a look:

Spoiler: Show

newui.jpg

The field at the top and the fields on the right side have to be filled in, then press the button. The program calculates the values and puts them into the fields in the box.

When it's finished, I'll write the manual, wrap it up and submit it to A2files as v1. I'm planning a new feature for a possible v2, but I'll have to learn a new bit of code for that. Then, I'll go back to the Output Calc.




Freyr Advanced Member

A2Files Staff

46,877 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#13 10 years ago

Amateur;5024951Anyways, back on topic. Any extra tool is a good one. I still use good ol' notepad myself - but that doesn't mean I don't appreciate anything like this. [/QUOTE]

This wouldn't actually edit the files, it just lets you test how much damage your ship is doing without having to fire the game up and shoot stuff and it looks like the feature set is expanding from that quite quickly.

[QUOTE=Terra_Inc;5025988]Update! :cya:

The Output Calc v2 is still "under construction".

The Hitpoint Calc will soon be completed. Most of the coding is done and the GUI has been changed to a smaller shape. Take a look:

Spoiler: Show

The field at the top and the fields on the right side have to be filled in, then press the button. The program calculates the values and puts them into the fields in the box.

When it's finished, I'll write the manual, wrap it up and submit it to A2files as v1. I'm planning a new feature for a possible v2, but I'll have to learn a new bit of code for that. Then, I'll go back to the Output Calc.

Nice, that should eliminate some messing around with calc. I'm looking forward to seeing this.




C.A.B.A.L.

Intermittently Connected

50 XP

13th March 2009

0 Uploads

218 Posts

0 Threads

#14 10 years ago

What would be really cool would be to combine them into one file and have tabs for the different calculators to cut down on the number of open windows.




Majestic-MSFC

Majestic is thy Name!

50 XP

2nd April 2006

0 Uploads

2,152 Posts

0 Threads

#15 10 years ago

This looks to be a very good little program, something I would certainly use. I usually steer clear of modding programs due to many having issues that could crash the game but this one is something certainly worth using.

Well done mate. :)




Terra_Inc

I'm not a bug. I'm a feature.

50 XP

3rd November 2008

4 Uploads

329 Posts

0 Threads

#16 10 years ago

OK, here comes an update! The Hitpoint Calc has been finished and submitted to A2Files. You will soon be able to download it and play around with this new tool. Have fun! Here's an "in-action" shot of the latest GUI version.

Spoiler: Show
finalgui.jpg No explanations necessary, right? OK, some of you might wonder: "Hey, Terra! The last time you showed us the new GUI it looked a bit different! What happened?" Well, something that happens to all of us now and then. After a few changes, the thing crashed. Of course I had a backup - but it was from before I redid the GUI, just saving the code and the basic GUI configuration. I had to redo it again. It looks slightly different now, but it works just as fine.

The released version is v1.0. As I previously mentioned, I'm planning a v2.0. I have a few ideas for additional features but I'll have to learn a bit of code I don't know yet. So it could take a while. But, don't worry: The project is still not done. I haven't been working on the Output Calc v2.0 for a few days, but I still want to finish it. I promised it and I don't break promises. And then there's the mega-project I've been hinting at lately. I haven't even started doing the GUI for it, but the plans are there. So, enjoy the latest release. More pre-release information coming soon.




Terra_Inc

I'm not a bug. I'm a feature.

50 XP

3rd November 2008

4 Uploads

329 Posts

0 Threads

#17 10 years ago

Update!

I don't have much time ATM, I just started studying so finishing this project could take a little more time than expected. The coding for the Output Calc v2 is done. And it seems to work. But I'm still doing some 'code-cleaning', if you know what I mean. I couldn't decide if I should learn a bit of code and finish Hitpoint Calc v2 or start working on the mega-tool I have plans for. So I decided in favor of the last part of the Toolbox (codenamed 'Tool4'), it's a bit easier to do the coding for this. You'll hear more about that very soon. So, the Toolbox starts to take shape. The four tools will be released as a pack (guess how it'll be named). I've already adapted the manuals of the released tools for their v2 counterparts.

MODDERS, PLEASE READ THIS:

Spoiler: Show
The Modder's Toolbox is intended to be useful for every ODF modder. If you have a great idea for a tool, don't hesitate to tell me! Sooner or later I'll finish the tools I'm working on. Then, I could try to realize your idea. The thing is: I have to plan my work (not much time) so it would be nice if you told me as early as possible.

No pics to show today, but more pre-release information coming soon.




Terra_Inc

I'm not a bug. I'm a feature.

50 XP

3rd November 2008

4 Uploads

329 Posts

0 Threads

#18 10 years ago

UPDATE!

The Weapon Output Calc is complete. All of the new functions have been added, the GUI has been reworked, the manual has been rewritten... This part of the Modder's Toolbox is done.

Here's the final GUI:

Spoiler: Show

newwogui.jpg

Once there were only three output fields, now there are NINE? What happened? - The average weapon output is what the old v1 calculated. Good for comparing, but not very exact. - The exact weapon output approximation is what I call the 'Freyr method'. It calculates the exact weapon output, but the hitChance changes the values. So if your weapon has a high reload time and low hitChance, these values won't be exact. That's why it's named 'closest approximation possible' - you can't be more exact. It's called Hit CHANCE after all. - The maximum output has been added because of these cases where even the closest approximation possible isn't exact enough. And it's always nice to know how much maximum damage your unit can deal.

---

OK, here's the new Tool (previously codenamed 'Tool4')!

Spoiler: Show

It's the Color Calc!

Anyone who has been modding weapon lighting (or anything that has to do with colors) knows that A2 does not accept normal RGB color values (0-255). You have to use decimals (0.0-1.0) instead. So if you're doing some extensive modding this converting of values can be extremely annoying.

The Color Calc has been designed to do exactly this. Enter a color in standard RGB format or A2 format and the calculator converts it.

Take a look at the GUI:

newccgui.jpg

At the moment I'm looking at some older programs, trying to reconstruct what I once knew about a certain bit of code. When I'm done, I'll finish the Hitpoint Calc v2.

More pre-release information coming soon!




Terra_Inc

I'm not a bug. I'm a feature.

50 XP

3rd November 2008

4 Uploads

329 Posts

0 Threads

#19 10 years ago

Update! :cya: The third part of the Modder's Toolbox is done. The HP Calc v2.0 has just been finished. This took much more time than I expected, mainly because a feature I had planned turned out to be completely useless. :uhoh: But the new tool looks really good. Take a look at the GUI:

Spoiler: Show
hpcalc2finalgui.jpg The upper part of the tool calculates Shield and System HPs. The lower part is brand new. You can use it to calculate the reload rate for shields, hull and special energy based on the maximum value and the reload time you want it to have. If you already have a reload rate, you can check the total reload time. Seems useful, doesn't it? :)

And now, dear modders, let's talk about the final part of the Toolbox.

Spoiler: Show
It's the Battle Calc! A tool that allows you to take two units and let them fight it out. Enter their weapons and HP values and it will not only tell you who's the winner. It will also tell you how much time passed until the shields were down and until the unit was totally destroyed. However, all of these values will be approximations. A2's battle system is heavily influenced by (good or bad) luck, so we can't really know the exact results of a battle. Another problem are the systems. A destroyed shield generator or a disabled weapon system can change the result of a battle. These things happen now and then, but not always. We simply can't calculate if and when this is going to happen, so this tool will ignore these effects. But you can believe me that the approximations you're going to get as output are fairly good. You will finally be able to know the results of ship-against-ship battles without having to start A2. That is something we all like, right? :nodding:

Unfortunately there's no GUI yet, so I can't show you anything at the moment, but I hope to be able to do it next week. When this tool is done, the Modder's Toolbox will be complete. Then, the whole stuff will be uploaded to A2files as a pack. This will probably happen next month... It's likely that it will be released during the first three weeks, so you could already be playing around with it on Christmas Day. More pre-release information coming soon... stay tuned.




StarBlade

www.starbase34.net

50 XP

7th January 2006

0 Uploads

1,705 Posts

0 Threads

#20 10 years ago

I like the sound of that battle approximator. Venture vs TFC!

Looking forward to seeing this available for A2.

:cool: