Login

russian armor

scar syntax for property bag groups?

6 Mar 2015, 09:06 AM
#1
avatar of trigg

Posts: 139

For a win condition I want to look at the entity property bag groups defined by whatever tuning pack is being used. I think I can do that by (for example) iterating over the definitions in EBP.SOVIET.

Supposing I find an EBP.SOVIET.T_34_76, how do I specify the various extensions and their components in scar? By looking at the attribute editor I've tried things like .cost_ext, extensions.cost_ext, etc., but none of my guesses are working.

Does anyone know how to do this? For example, to look at an entity's cost_ext.time_cost.cost.fuel or crush_ext.default_crush_mode? ?

Thanks.
14 Mar 2015, 07:42 AM
#2
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

The blueprint table only contains the blueprints. It's defined in AttribArchive.sga/scar/luaconstsauto.scar
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

572 users are online: 572 guests
0 post in the last 24h
2 posts in the last week
28 posts in the last month
Registered members: 49388
Welcome our newest member, KETTA
Most online: 2043 users on 29 Oct 2023, 01:04 AM