Login

russian armor

Changing buildings unit icons

18 Jul 2017, 19:22 PM
#1
avatar of Jaeger

Posts: 9

Hey folks,

- I use the attributes editor form coh 2 tools -


I changed the spawn units on the casual buildings. Everythings works fine when i hover with my mouse over the building the new spawn units where shown but on the british buildings the icons not changing expect the forwarding hq - how can i fix it?
20 Jul 2017, 15:35 PM
#2
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 1

Which unit did you add to which building? I can think of two possible problems:

1. The unit you added has requirements that are not fulfilled. These could be found either in the entity or the squad, or possibly in both. Units that are normally called in by abilities usually have requirements for certain upgrades and CP values.

2. You chose the wrong building entity. For the Brits, these buildings would be correct:

ebps\races\british\buildings\base_building\british_hq\british_hq_truck_mp
ebps\races\british\buildings\base_building\british_building_1_mp
ebps\races\british\buildings\base_building\british_building_2_mp
20 Jul 2017, 16:01 PM
#3
avatar of Jaeger

Posts: 9

I choose the right buildings.

ebps\races\british\buildings\base_building\british_building_2_mp

For example i added here

attrib\sbps\races\british\soldiers\tommy_squad\tommy_squad_recon_mp

with no requirement. Oh i see the attribute squad_requirement_ext was missing. I give it a try
20 Jul 2017, 16:42 PM
#4
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 1

In the building entity's spawner_ext, did you set a ui_position for the recon squad? It should be a number not used by any other squad in that building.

Also, did you modify anything else for either the building or the unit, including entities and squads?
20 Jul 2017, 18:40 PM
#5
avatar of Jaeger

Posts: 9

Yes i set the ui position.

I haven't change anything else so it's confusing me. I deleted one squad and it's still on the building preview.

Other buildings are working fine. The brits are making trouble ^^


Check mod if interested
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

463 users are online: 2 members and 461 guests
OKSpitfire, Hannibal
6 posts in the last 24h
32 posts in the last week
86 posts in the last month
Registered members: 44639
Welcome our newest member, trickproblem
Most online: 2043 users on 29 Oct 2023, 01:04 AM