World of Warships

World of Warships Dev Tracker




26 Jun

Comment

Event

An event is an object, generated and dispatched upon any action of the user (a mouse click, a button pressed, etc.). To distribute the event, the dispatch method is used.

Events are defined in the scope.

(event valChanged)

(event evKilled)
...
(dispatch evKilled args={} dir="EventDirection.DOWN" (event $datahub.getEntity(entityId).health.evKilled))

dir sets the direction of the event in a hierarchy. By default, dispatch dispatches an event only within the element itself. To send an event to the parent, you need to specify EventDirection.UP in dir. In the child - EventDirection.DOWN. In siblings - just declare the event in the desired siblings, and dir can be omitted. For dir, a dict with values is entered in hud_replaces. By default, dir = 0.

(def constant EventDirection { NONE: 0,
UP: 1,
DOWN: 2
})

In ...

Read more
Comment
    Kami on Forums - Thread - Direct

Hey DukeTestudo,

In regards to the Georgia in the Armory, you have plenty of time to save coal for it and we will announce with plenty of time if we plan to remove it from the Armory. For now know it is in the Armory and will be for the foreseeable future.

Comment
    Kami on Forums - Thread - Direct

Hey Captain_Rawhide,

My recommendations on keepers are the tier VII and VIII, the Sinop and the Vladivostok. The Sinop is really strong for Tier VII and the Vladivostok is more because it looks like a racing boat, not necessarily its performance =). The Sinop has a lot going for it at Tier VII and that is the one I would recommend to keep the most especially with Ranked Sprint coming up and the MM you can get at Tier VII. The Tier V Pyotr is ok but I do not play that much at Tier V so you might want to ask others on that one.

Post
    on News - Thread - Direct
A Commander’s guide to using the American Tier IX destroyer. Read more
Comment

Element

An element is a top-level object. An element has its own name, so it can be called (inter alia, from outside the document that contains it) or reused. There are two ways to reuse an element: create its instance by calling a Controller or create its instance by calling the element method with the element's name as the argument. An element has its individual scope, but variables of the parent scope can be set to it.

Element has params:

the layout boolean parameter, which enables and disables the layout system. Possible values: layout=true|false.


the isReadyTracked boolean parameter, which turns on (it equals true) tracking of dependency resolving for each child of element. Also tracking that additional conditions are ok for some specific blocks. For example, image block has additional condition - image is loaded. Element is hidden while tracking works. Event $evReadyChanged is triggered when dependencies are resol...

Read more
Comment
    Kami on Forums - Thread - Direct

Hey Captains,

Thank you for your constructive conversation on CV and AA balance. In the continuing efforts to balance AA/CVs this is another step in the process to achieve that balance. Please remember that we have stated a few times that AA will continue to be looked at and that includes the re-working of sectors in the future. We are constantly monitoring the amount of players that are playing CVs, planes that are getting shot down and everything else related to CV/AA interaction. If AA is deemed to be to strong it will be adjusted again.

Please let us know what your thoughts are on the changes when the server go live. Make sure you play both sides of the coin, ships with decent AA and CVs to get the feel from both.

Thanks!

Comment
    Kami on Forums - Thread - Direct

Hey Captains,

As you have informed the OP already, the flags that you earn during the Ranked season with the benefits are only for use during the season. Once the season is over they are removed and you will have a chance to gain them again during the next ranked season.

Good luck everyone with the next season of Ranked but make sure you enjoy Ranked Sprint first!

Comment

Controllers

A controller is an entity that applies one type of action to the assigned object. For the $Instance, $FxInstance, and $Repeat controllers, specify the object in the renderer field. The $Animation controller targets the parent object. The $Sector controller is an object itself.

$Instance

This controller adds an instance of the element to the stage.

renderer sets the element, with which the controller will perform its operations. Available for binding.


layout determines whether the layout system is enabled or not. By default, the value is false.


args is a controller method. It passes the value from the parent scope to the renderer.


exprs is carried out inside the renderer, but this method has access to the parent scope. exprs can contain expressions and bindings. With the help of this method, the controller allows you subscribe to changes in variables from the ...

Read more
Comment

Base blocks of markup language

Constant

Unbound constants have the same purpose as those in other languages: they serve to store fixed values.

Two types of constants can be used in Unbound:


Global constants
The (def function is used to declare a global constant. The value of the constant is added after its name. In the example below, C_ALLY is the constant's name, and 0xFF80c0ff is the constant's value.







Local constants
These constants are declared in the element's scope and can be used only inside this element.

Comment

Declarative Markup Language and S-expressions

A markup consists of S-expressions . There are four types of S-expressions, each intended for a specific action:


Call method


( * *
+
)
:= =


(bind isEnabled "$event.enabled" init=false
(event "isEnableChanged")
)


bind -


isEnabled, "$event.enabled" - *


init=false - *


(event "isEnableChanged") - +




Add definition


(def (*) *
+
)
:= : [ = ]

:= =


This definition is essentially a specific instance of an S-expression method. It was introduced only for the special syntax, used for declaring parameters.


(def element TestView(name:str = '', count:number) layout=true
(block ...

Read more
Post
    on News - Thread - Direct
Hurry if you want to purchase US Tier IX battleship Georgia! Read more

25 Jun

Comment
    Radar_X on Forums - Thread - Direct

As others have mentioned this is a fairly wide reaching and minor adjustment to numerous ships across various tiers based on performance and data. We aren't trying to limit how much people are earning (some ships got buffs and the Missouri is still intact!) but are trying to put things in similar places credit/xp performance wise. Your permanent camos will still provide incredibly beneficial stats that should continue to make them more than worthwhile.

Comment
    Kami on Forums - Thread - Direct

Hey Silvin!

Congrats on achieving a personal goal!

What are your favorites from each title? Of course ships is your favorite overall right? =)

Post

Ahoy Fleet!

The Update 0.8.5 is here, so please provide any bug reports you may encounter here.

Please also check our little guide on how to report a bug here:

For each report Please make sure to attach WG Check tool report to your reports! That will help us to better understand the nature of the issue you're experiencing.

You can find the instructions on how to use that tool here:

If you're trying to report any technical issue, please make sure to attach WG Check report to your posts.

If you'd like to leave feedback on the latest content or updates, you can drop them here!

Comment
    Radar_X on Forums - Thread - Direct

This is not to say there will never be a day or time the Benham will be available in another way, but at this time there are no plans to release the Benham in any way other than this event.

Comment
    Kami on Forums - Thread - Direct

Hey Captains,

Thank you for participating in the "Dread the Nought" Contest!

The winners are: @WhaleWarrior @henrychenhenry @Capt_Scuttlebutt Congrats!

Everyone else that submitted a qualifying screenshot will receive the 5 Battle Hardened Camos!