Login

russian armor

A question about grenades

21 Apr 2017, 16:04 PM
#1
avatar of Vangruffe

Posts: 139

Is it possible to make a grenade ability that only makes 2 members of the casting squad_unit to throw grenades? So that means 1 cast = 2 grenades thrown. The issue I'm facing is that there's not much options I can find other than one_entity, squad, or all_entities in the casting option.

Actually, I could just make 2 separate entity_types and give the other type the grenade ability, then make the ability cast on all_entities to make the entity_type throw the grenades, but if done this way -> then the squad will lose the ability to throw grenades if the 2 members (with the different entity_type) die. I've tried making a workaround with slot_items, but they aren't working or I'm not doing it right.

Has anyone achieved the 1 entity_type version? Please assist me if you know how to help.
21 Apr 2017, 16:30 PM
#2
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 1

Couldn't you add two actions to the ability that both have one entity throw one grenade?
22 Apr 2017, 07:03 AM
#3
avatar of Vangruffe

Posts: 139

Couldn't you add two actions to the ability that both have one entity throw one grenade?


No, because it doesn't work. I tried it myself by adding the same action 2 times that makes an entity throw grenade. At the end the ability casting type just overrides everything.
24 Apr 2017, 11:45 AM
#4
avatar of Mr.Smith

Posts: 2636 | Subs: 17

I don't know if this would work, but I would approach this as follows.

Could you try giving your squad 2 identical slot items?

Then, make your grenade-throw ability a copy-paste of the Infiltration grenade ability, with the difference that the only entities that should be allowed to throw the grenades should possess those slot items.

Initially, make your slot items identical to the default weapon of the squad you want to modify (e.g., give 2 mosin slot items to a conscript squad).

Then, try to see what happens if the slot items do not give any actual weapon to the conscripts; i.e., do they transfer properly?

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
09 Apr 2025, 17:00 PM
Osinyagov: Wow, i remember you from zansi and vali videos, good old memories
09 Apr 2025, 16:58 PM
Beinhard: o7 miss this game and zansi
09 Apr 2025, 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

Livestreams

unknown 10
Germany 9
unknown 2

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

281 users are online: 281 guests
1 post in the last 24h
3 posts in the last week
49 posts in the last month
Registered members: 53703
Welcome our newest member, Galina57576
Most online: 2043 users on 29 Oct 2023, 01:04 AM