Login

russian armor

Question about Modifiers & passive abilities

2 Mar 2020, 22:25 PM
#1
avatar of ArtilleryWhore

Posts: 12

Is it possible to make a passive commander upgrade that changes the 'build time & population upkeep' of specific British buildings, like 17lbs, boforos and mortar pit?

if so how?? I've been trying to do this for ages and idk what im doing wrong.
3 Mar 2020, 10:04 AM
#2
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

Is it possible to make a passive commander upgrade that changes the 'build time & population upkeep' of specific British buildings, like 17lbs, boforos and mortar pit?

if so how?? I've been trying to do this for ages and idk what im doing wrong.


One way to achieve this is to make clones of those units. One unit will require the passive upgrade and the second will not. So the unit that won't require it will be present until the passive will be active. Once the passive is active the unit that requires that upgrade will replace the original one.

And of course, you change the stats that you want to change for the one that will require the upgrade.
4 Mar 2020, 01:39 AM
#3
avatar of ArtilleryWhore

Posts: 12

Lol i feel so dumb now. That solution is soo simple and i didn't even consider it.
Thank you so much! Im sure i can get that to work.
But im not sure if my units have any free build options left inside their Engineer_ext. i think i hit the limit sadly so im still open to other options.

I was trying to make requirement action inside the units Action.ext, that needed the upgrade, then applied population and cost modifiers. but i cant figure-out how to set it up properly so it actually makes changes ingame.
4 Mar 2020, 10:47 AM
#4
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

Lol i feel so dumb now. That solution is soo simple and i didn't even consider it.
Thank you so much! Im sure i can get that to work.
But im not sure if my units have any free build options left inside their Engineer_ext. i think i hit the limit sadly so im still open to other options.

I was trying to make requirement action inside the units Action.ext, that needed the upgrade, then applied population and cost modifiers. but i cant figure-out how to set it up properly so it actually makes changes ingame.


In that case you can use cost_<resource>_modifier and entity_popcap_modifier to do that. I tested these and they work just fine.
5 Mar 2020, 07:37 AM
#5
avatar of ArtilleryWhore

Posts: 12

See i thought their was a way to do it like that, but i cant seem to get it working.
Does that go in in the units EBPS, or SBPS?
Or do i make some kinda hidden upgrade??

Im not sure what im doing wrong.
I made a short video so you can see what ive got, maybe you can pause it and look it over then point out what im doing wrong.
https://youtu.be/SMV-EddgL6Q

Cuz sadly the way i have it now, it has zero effect ingame.
5 Mar 2020, 11:05 AM
#6
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

See i thought their was a way to do it like that, but i cant seem to get it working.
Does that go in in the units EBPS, or SBPS?
Or do i make some kinda hidden upgrade??

Im not sure what im doing wrong.
I made a short video so you can see what ive got, maybe you can pause it and look it over then point out what im doing wrong.
https://youtu.be/SMV-EddgL6Q

Cuz sadly the way i have it now, it has zero effect ingame.


When you created this post you said you want to make a passive ability that would apply these abilities right?

So what you can do is have that passive ability add a player upgrade that will have the modifiers in the actions section of the upgrade.

Your approach is good but in the wrong file so just remove the requirement action and move the modifiers to an upgrade instead. And after this, you should have your passive working as intended.
5 Mar 2020, 12:18 PM
#7
avatar of ArtilleryWhore

Posts: 12

do you have a discord or something?

I tried to set it up the way you said, but i dont have much experience with making this kinda complex action, and nothing i do works. Im going to need a step by step on this. All i have to do is get 1 of these working, then i can apply the same method to a ton of units once i learn how to do this.

I do appreciate the help thus far. thank you.

I should be as clear as possible.
What im trying to do is make the British 'defensive operations commander ability passive' automatically trigger a buff that makes "Emplacements build 25% faster and have 20% reduced upkeep costs."

I had assumed "incorrectly it seems" that i would need to apply this shadow upgrade to the units/buildings i wanted it to affect via a requirement action.
But this doesnt work, Now im making an upgrade?? how do i make this upgrade point to the units that are suppose to have this effect? im lost now.... =(

How did you get this working in your test?
5 Mar 2020, 13:13 PM
#8
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

do you have a discord or something?

I tried to set it up the way you said, but i dont have much experience with making this kinda complex action, and nothing i do works. Im going to need a step by step on this. All i have to do is get 1 of these working, then i can apply the same method to a ton of units once i learn how to do this.

I do appreciate the help thus far. thank you.

I should be as clear as possible.
What im trying to do is make the British 'defensive operations commander ability passive' automatically trigger a buff that makes "Emplacements build 25% faster and have 20% reduced upkeep costs."

I had assumed "incorrectly it seems" that i would need to apply this shadow upgrade to the units/buildings i wanted it to affect via a requirement action.
But this doesnt work, Now im making an upgrade?? how do i make this upgrade point to the units that are suppose to have this effect? im lost now.... =(

How did you get this working in your test?


Yes, I have a Discord (Ragnar#1517) you can contact me there if you want.

Well, upgrade is one of the ways to approach it. I just think it is easy to work with upgrades.

You have actually already liked the entity that the modifier should be applied to with the target_type_name. The one thing you are doing wrong is where you are applying the modifiers. You try to apply the modifier on the already build entity so the build time will be redundant. That is why I told you to apply the modifiers by the upgrade that will be added when the passive is ready/unlocked.
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

215 users are online: 215 guests
0 post in the last 24h
3 posts in the last week
54 posts in the last month
Registered members: 53584
Welcome our newest member, Spellsy
Most online: 2043 users on 29 Oct 2023, 01:04 AM