Forged Alliance Forever Forged Alliance Forever Forums 2014-03-30T14:52:34+02:00 /feed.php?f=2&t=7099 2014-03-30T14:52:34+02:00 2014-03-30T14:52:34+02:00 /viewtopic.php?t=7099&p=70065#p70065 <![CDATA[Re: UnitsDB Question]]>
wach replay, but maye not want to wach faster than +2
and wach from my view

Statistics: Posted by ZLO_RD — 30 Mar 2014, 14:52


]]>
2014-03-30T13:00:25+02:00 2014-03-30T13:00:25+02:00 /viewtopic.php?t=7099&p=70052#p70052 <![CDATA[Re: UnitsDB Question]]>
Wreckage:
MassMult = 0.9

In the lua :
local mass = bp.Economy.BuildCostMass * (bp.Wreckage.MassMult or 0)
mass = (mass - (mass * (overkillRatio or 1))) * self:GetFractionComplete()

So, no, it's 0.9, but with the overkill, it's probably often less than that.
But it depends of the game, not the blueprint. 81% can't be consider as a constant.


about mass in wreck, averyone knows that it is 81%, and i am tested this before many times


They are wrong. It's probably often 81%, but not always.
It's 90% minus the wreck damage.

Statistics: Posted by Ze_PilOt — 30 Mar 2014, 13:00


]]>
2014-03-30T12:40:47+02:00 2014-03-30T12:40:47+02:00 /viewtopic.php?t=7099&p=70051#p70051 <![CDATA[Re: UnitsDB Question]]>
Ze_PilOt wrote:
ZLO_RD wrote:reclaim values and probably wreck hp values are not accurate


They are.

What you must consider is that wrecks can be damaged in the game, and that damage diminish the reclaim value.

This is something that can't be computed in the unitDB. But the base values are correct (even they never happen in the game).


i made better test for wreck HP and confirmed that wreck health is 0.9 from health of original unit
about mass in wreck, averyone knows that it is 81%, and i am tested this before many times

Statistics: Posted by ZLO_RD — 30 Mar 2014, 12:40


]]>
2014-03-30T09:22:11+02:00 2014-03-30T09:22:11+02:00 /viewtopic.php?t=7099&p=70047#p70047 <![CDATA[Re: UnitsDB Question]]>
ZLO_RD wrote:
reclaim values and probably wreck hp values are not accurate


They are.

What you must consider is that wrecks can be damaged in the game, and that damage diminish the reclaim value.

This is something that can't be computed in the unitDB. But the base values are correct (even they never happen in the game).

Statistics: Posted by Ze_PilOt — 30 Mar 2014, 09:22


]]>
2014-03-30T09:20:19+02:00 2014-03-30T09:20:19+02:00 /viewtopic.php?t=7099&p=70046#p70046 <![CDATA[Re: UnitsDB Question]]>
Adraius wrote:
How are the blueprints generated?


What do you mean? It's the blueprint of the game, they generated by hand or with the blueprint editor I've a made a while ago.

I don't get why you are so concerned about how it's done.

Statistics: Posted by Ze_PilOt — 30 Mar 2014, 09:20


]]>
2014-03-29T02:39:07+02:00 2014-03-29T02:39:07+02:00 /viewtopic.php?t=7099&p=70006#p70006 <![CDATA[Re: UnitsDB Question]]>
E8400-CV wrote:
Seems clear to me: when the database is updated. Does it really matter to us whether that update is ordered manually or not? I don't think so.

It is a question of curiosity. Though I can't code anything beyond a couple trinkets, I'm looking to learn. I'm curious about the structure/update method of the database because it seems simple but very functional. When I noticed the Broadsword oddity, it reminded me to ask. I didn't mean any disrespect to ZeP, but "it's fed by blueprints" doesn't exactly illuminate things.

Statistics: Posted by Adraius — 29 Mar 2014, 02:39


]]>
2014-03-28T21:28:31+02:00 2014-03-28T21:28:31+02:00 /viewtopic.php?t=7099&p=69986#p69986 <![CDATA[Re: UnitsDB Question]]> Statistics: Posted by ZLO_RD — 28 Mar 2014, 21:28


]]>
2014-03-28T18:47:50+02:00 2014-03-28T18:47:50+02:00 /viewtopic.php?t=7099&p=69973#p69973 <![CDATA[Re: UnitsDB Question]]> Statistics: Posted by E8400-CV — 28 Mar 2014, 18:47


]]>
2014-03-28T17:32:53+02:00 2014-03-28T17:32:53+02:00 /viewtopic.php?t=7099&p=69966#p69966 <![CDATA[Re: UnitsDB Question]]>
Ze_PilOt wrote:
Adraius wrote:This reminded me of a question I've been curious about for awhile: how is the UnitsDB linked to the actual values in-game, and how is it maintained?


It's a database, feed by reading blueprints.

This is self-evident.

How are the blueprints generated? I doubt they're manually assembled. I assume they parse LUA files, and that you feed them updated files after patching. (forgive my terminology, I am not a programmer) Or perhaps it can fetch the patch updates themselves from wherever the patched files are hosted to be distributed to FAF clients.

However, if either of those suppositions was correct, the Broadsword DPS would have updated by now. Thus my question, a little clarified: how to patched values actually enter the database?

Statistics: Posted by Adraius — 28 Mar 2014, 17:32


]]>
2014-03-28T10:09:45+02:00 2014-03-28T10:09:45+02:00 /viewtopic.php?t=7099&p=69946#p69946 <![CDATA[Re: UnitsDB Question]]>
Adraius wrote:
DB improvements are a big topic and should have their own thread.


It's useless unless a PHP programmer is willing to make it better. Sadly, people are more inclined to make a entirely new system, something I don't agree on (I think it's a waste of time to reinvent the wheel, especially when the older wheel is working rather well and can be enhanced "easily").

Statistics: Posted by Ze_PilOt — 28 Mar 2014, 10:09


]]>
2014-03-28T10:08:22+02:00 2014-03-28T10:08:22+02:00 /viewtopic.php?t=7099&p=69945#p69945 <![CDATA[Re: UnitsDB Question]]>
Adraius wrote:
This reminded me of a question I've been curious about for awhile: how is the UnitsDB linked to the actual values in-game, and how is it maintained?


It's a database, feed by reading blueprints.

Statistics: Posted by Ze_PilOt — 28 Mar 2014, 10:08


]]>
2014-03-27T18:51:35+02:00 2014-03-27T18:51:35+02:00 /viewtopic.php?t=7099&p=69920#p69920 <![CDATA[Re: UnitsDB Question]]> Statistics: Posted by Adraius — 27 Mar 2014, 18:51


]]>
2014-03-27T09:23:48+02:00 2014-03-27T09:23:48+02:00 /viewtopic.php?t=7099&p=69890#p69890 <![CDATA[Re: UnitsDB Question]]> Statistics: Posted by nine2 — 27 Mar 2014, 09:23


]]>
2014-03-27T06:57:05+02:00 2014-03-27T06:57:05+02:00 /viewtopic.php?t=7099&p=69885#p69885 <![CDATA[Re: UnitsDB Question]]> Statistics: Posted by E8400-CV — 27 Mar 2014, 06:57


]]>
2014-03-27T06:29:29+02:00 2014-03-27T06:29:29+02:00 /viewtopic.php?t=7099&p=69882#p69882 <![CDATA[Re: UnitsDB Question]]>
I exported all of the ranges like radar etc and dumped them to a pdf in this thread, but its pretty crap:
viewtopic.php?f=2&t=6699

Statistics: Posted by nine2 — 27 Mar 2014, 06:29


]]>