Login

russian armor

Adding Converted HQ to Buildings Panel?

16 Nov 2017, 03:07 AM
#1
avatar of Kasarov
Senior Modmaker Badge

Posts: 422 | Subs: 2

Is there any way to add a converted FHQ building to the production building tabs? (F1, F2, F3... etc)
16 Nov 2017, 06:54 AM
#2
avatar of mongalong247

Posts: 42

jump backJump back to quoted post16 Nov 2017, 03:07 AMKasarov
Is there any way to add a converted FHQ building to the production building tabs? (F1, F2, F3... etc)


Potentially yes, we had something similar where a type of FHQ (buildable Airborne HQ) was allocated to the F2 slow, if you pressed F2 twice it would alternate between them.

I'll see if Olhausen can shed some light on this, though it could've been a happy accident!
16 Nov 2017, 07:50 AM
#3
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

The types from ebps/types_ext are linked to the tabs in army/production_buildings. (HQ, barracks, motorpool_light, motorpool_heavy etc.)
19 Nov 2017, 11:36 AM
#4
avatar of Mr.Smith

Posts: 2636 | Subs: 17

Types can only be allocated statically. To achieve what you want with convertable ambient buildings, you have to use one of the following workarounds (with imperfect results):

1. Add the desired type to the ambient building directly

The downsides of this option are:
- The building will collide with F1-F3 selection when anybody garrisons it, even if it's not a converted HQ (just like the building near the eatern VP at red-ball express)
- You have to pre-select one selection type for each building (I'm assuming you want different kinds of forward HQ)

2. Make the conversion spawn an invisible HQ building on top of your HQ building (spawn item)

The downside is that you won't be able to select the HQ in any way other than the F1-F3 interface. You might also have to worry about trained squads getting stuck in the building

I have done something like that to allow forward assemblies to upgrade to both medics and repairstations (look for the repair station implementation):

https://github.com/xxpatch/consmod
19 Nov 2017, 11:49 AM
#5
avatar of Frost

Posts: 1024 | Subs: 1

There was a bug, when you entered to biggest house at Red Ball Express, it showed like T1 in your production buildings. You could easily select it by clicking F1.
7 Jan 2018, 13:29 PM
#6
avatar of Moocats

Posts: 71

I have a related question.

When a building is converted to a forward Hq; Is the "engineer_to_spawn" entity dictated by the options laid out in the repair_station_ext area of the original buildings ebps?

If so is there an easy way to work around this? I don't want to clone every ambient building and replace the engineer type in every single buildings ebps/repair_station_ext.
7 Jan 2018, 16:23 PM
#7
avatar of Angrade (Ægion)
Senior Modmaker Badge

Posts: 766 | Subs: 2

I have a related question.

When a building is converted to a forward Hq; Is the "engineer_to_spawn" entity dictated by the options laid out in the repair_station_ext area of the original buildings ebps?

If so is there an easy way to work around this? I don't want to clone every ambient building and replace the engineer type in every single buildings ebps/repair_station_ext.


You could try a spawn_entity with your desired repair_station. If I look at other things of the sort just make it invisible in the entity_blueprint. A good entity for reference is the ebps\races\british\buildings\defensive_structures\brit_forward_hq_repair_mp

Also, do not activate repair_station the ability.
7 Jan 2018, 20:53 PM
#8
avatar of Moocats

Posts: 71

I did consider having an upgrade on the forward hq that spawned an invisible entity with either medics or sappers depending on the upgrade choice. Basically like how the forward assembly works as you exampled.

I was worried on forward hq's as there's so many different sizes of ambient buildings that this wouldn't work well as it may spawn the engineers/medics inside the .....host structure if the blueprint I used was too small, or indeed the opposite and spawn too far away if it was too big.

Is it smart enough to always use the clipping edge if I use a really small and invisible animator blueprint?
1 user is browsing this thread: 1 guest

SHOUT IT OUT!

No ProfanityNumber of ShoutsRefresh Shout Box
Osinyagov: Suddenly, coh2 is slowly dying, but you can play it, playerbase still big enough
Last Wednesday, 17:00 PM
Osinyagov: Wow, i remember you from zansi and vali videos, good old memories
Last Wednesday, 16:58 PM
Beinhard: o7 miss this game and zansi
Last Wednesday, 14:09 PM
Lady Xenarra: @Willy Pete The lack of April Fools this year is odd lol
02 Apr 2025, 01:34 AM
Willy Pete: @Rosbone not dead yet. when that happens the font will switch to Papyrus :*(
02 Apr 2025, 00:16 AM
dasheepeh: it was an honor guys :guyokay:
01 Apr 2025, 20:34 PM
aerafield: yeah I already prepared my "Can't believe there's comic mode for the 10 daily visitors even on this April 1st" :guyokay:
01 Apr 2025, 20:29 PM
Rosbone: @dasheepeh I guess that means this site is officially dead :guyokay:
01 Apr 2025, 20:19 PM
dasheepeh: no comic sans font for april 1st this year?
01 Apr 2025, 19:56 PM
Willy Pete: @Lady Xenarra this you? https://i.imgflip.com/3e4thi.jpg
01 Apr 2025, 02:53 AM
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes
01 Apr 2025, 02:36 AM
Willy Pete: @Rosbone Ahh I missed that memo. I still think its a bad decision though. Adds frustration for players and isnt gonna make them that much money
27 Mar 2025, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that.
27 Mar 2025, 09:34 AM
Rosbone: But I agree, the cost to get a full decent Coh game pushing $115 US is not the best idea. Especially when it needs so much more work for casuals.
27 Mar 2025, 09:32 AM
Rosbone: To be fair, it was a thank you to early fans right? They said it was not free for long and it would become a pay DLC at some point.
27 Mar 2025, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy :clap:
27 Mar 2025, 04:31 AM
Soheil: Coh2 still broken server ?
25 Mar 2025, 18:27 PM
Rosbone: Congrats to Relic. Looks like Coh3 has finally usurped Coh2 s the popular Coh. You smell terrific. :snfQuinn:.
24 Mar 2025, 02:46 AM

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

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