Login

russian armor

'Proc' trigger action

12 Aug 2019, 17:35 PM
#1
avatar of Artigo

Posts: 80

Hello,

I'm wondering if it is possible to make a 'proc' trigger for an action.

Example,

Requirement action

actions: rand(90) => nothing
rand(10) => ability

requirements: state (in combat since 0)


Idea being if in combat give a 10% chance to trigger this ability which means it would basically always happen if in combat long enough, but not necessarily immediately.


I haven't tried this yet, but I'm assuming as long as the check for in_combat state doesn't only fire once this should work.

Thoughts?

Thanks,

tigo
12 Aug 2019, 19:28 PM
#2
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

jump backJump back to quoted post12 Aug 2019, 17:35 PMArtigo
Hello,

I'm wondering if it is possible to make a 'proc' trigger for an action.

Example,

Requirement action

actions: rand(90) => nothing
rand(10) => ability

requirements: state (in combat since 0)


Idea being if in combat give a 10% chance to trigger this ability which means it would basically always happen if in combat long enough, but not necessarily immediately.


I haven't tried this yet, but I'm assuming as long as the check for in_combat state doesn't only fire once this should work.

Thoughts?

Thanks,

tigo


What ability would you have in mind with this? Some special shot or?
13 Aug 2019, 13:00 PM
#3
avatar of Artigo

Posts: 80



What ability would you have in mind with this? Some special shot or?


Something along the lines of a critical hit where it would trigger a stun/tread destroy or by triggering an ability. Alternatively, add a timed upgrade that would buff reload/accuracy or something to that effect.
13 Aug 2019, 15:13 PM
#4
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

jump backJump back to quoted post13 Aug 2019, 13:00 PMArtigo

Something along the lines of a critical hit where it would trigger a stun/tread destroy or by triggering an ability. Alternatively, add a timed upgrade that would buff reload/accuracy or something to that effect.


OK, let's start with the easier one.

1. Reload/Accuracy buff
For this, you don't need any ability. To your requirement_action add to the action the according modifier.

2. Triggering criticals
Here I would make it switch weapons. The switched weapon would have under damage > on_penetrated_action your rand action that would have the criticals in it. You could do this also to deflection > on_deflected_action.

I hope this gives you an idea of how you could approach in your modding.
14 Aug 2019, 16:37 PM
#5
avatar of Artigo

Posts: 80



OK, let's start with the easier one.

1. Reload/Accuracy buff
For this, you don't need any ability. To your requirement_action add to the action the according modifier.

2. Triggering criticals
Here I would make it switch weapons. The switched weapon would have under damage > on_penetrated_action your rand action that would have the criticals in it. You could do this also to deflection > on_deflected_action.

I hope this gives you an idea of how you could approach in your modding.


This is excellent, thank you!

One thing, the point of the ability is to make it timed so that it doesn't last forever. So it's not a permanent buff to reload/accuracy/etc. it would only last for a period of time before the cooldown.
14 Aug 2019, 16:40 PM
#6
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

jump backJump back to quoted post14 Aug 2019, 16:37 PMArtigo


This is excellent, thank you!

One thing, the point of the ability is to make it timed so that it doesn't last forever. So it's not a permanent buff to reload/accuracy/etc. it would only last for a period of time before the cooldown.


There is a timed action that you could mess around with.
14 Aug 2019, 16:45 PM
#7
avatar of Artigo

Posts: 80



There is a timed action that you could mess around with.


Oh right Ill give that a try. Thanks for the replies
1 user is browsing this thread: 1 guest

SHOUT IT OUT!

No ProfanityNumber of ShoutsRefresh Shout Box
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
Nickbn: and again someone else replies. I mean come on guys. Give @adamírcz a chance
22 Mar 2025, 14:00 PM
Willy Pete: @Nickbn you didn't ask a question, and this is a chat box...
20 Mar 2025, 13:11 PM
Nickbn: @Rosbone it's incredibly rude to speak on someone elses behalf, especially when a question is directly adressed to them. I understand your passion for the subject at hand but I want to hear from him.
20 Mar 2025, 10:16 AM
Rosbone: @Nickbn No, I am just saying people should not be using any Relic owned forum since they have proven they ban anyone who says true things about Coh3.
18 Mar 2025, 19:01 PM

Livestreams

unknown 107
unknown 10
Germany 14

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

326 users are online: 326 guests
0 post in the last 24h
9 posts in the last week
72 posts in the last month
Registered members: 53404
Welcome our newest member, Rogsxg67
Most online: 2043 users on 29 Oct 2023, 01:04 AM