ищу мод - полет юнитов аналог огэйма

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • ищу мод - полет юнитов аналог огэйма

    [Blocked Image: http://i97.fastpic.ru/big/2017/1203/7e/66e6c2d486440fdb95a146133d862d7e.png]
    интересные моды и редкие в разумных пределах по стоимости готов купить. для экономии своего времени писать Skype - sumrak.pirat вайбер и вацап - +7 921 8368330
  • я видел уже на moons exterium реализацию то что показывал и я не специалист в РНР, я работаю над дизайн и чистый код CSS HTML с PHP знания только понять и разобраться с готовым решением но сам пока делать не могу


    видел решение тут - есть на старом варианте 2 moons-exterium swcraft.net/

    The post was edited 1 time, last by loki ().

  • У Вас есть это решение готов купить и я его сделаю лучше в плане дизайна я любую разработку переделываю под себя не люблю дублировать
  • Darkside wrote:

    how can I get the code for this ?
    Basically you must have some compreenshion of uni1_fleets table, understand which missions have hold mission etc (that means holdtime column, fleetendtime column, fleetendstay... then you do some math understanding each mission column usage and you set this:

    HTML Source Code

    1. <a href="#" class="tooltip" data-tooltip-content="<table width='100%'><tr><th colspan='2' style='text-align:center;'>{$LNG.fl_info_detail}</th></tr>{foreach $FlyingFleetRow.FleetList as $shipID => $shipCount}<tr><td class='transparent'>{$LNG.tech.{$shipID}}:</td><td class='transparent'>{$shipCount}</td></tr>{/foreach}</table>">
    2. <!-- The math goes here -->
    3. <img style="left: {$SOMEMATH}%;position: relative;" src="{if $cdnURL}{$cdnURL}{else}styles{/if}/game/page.fleetTable/ship-r.png" />
    4. </a>
    {$SOMEMATH} is where you would replace with somthing like this:

    {100 - (( $FlyingFleetRow.fleet_time - $FlyingFleetRow.resttime) / ($FlyingFleetRow.returntime - $FlyingFleetRow.fleet_start_time + 10)) * -100}%

    I can't guarantee it's correct what it's there... did it now as rush, not tested but it should work in some missions where requires resttime (hold)

    Edit: forgot to mention you must edit page.fleettable.default.tpl

    The post was edited 2 times, last by Qwa ().