Hi there,
I'm looking for a method to make objects indestructible. In the CoH1-WB it was possible to create indestructible ruins out of existing buildings by adding destruction and setting the health to zero.
I did some testing on the above mentioned method and the ruins could be destroyed further.
As the official maps don't show such behavior does anyone know a way to create such ruins and a second question: is it possible to make other objects indestructible (i.e. bridges or for a current problem the bridge ending debris/ruin)?
Making objects indestructible
17 Dec 2013, 14:49 PM
#1

Posts: 59
17 Dec 2013, 17:04 PM
#2

Posts: 420
Set the objects to visual and use move/shot/sight blockers to simulate their hebavior
17 Dec 2013, 19:35 PM
#3

Posts: 950 | Subs: 1
another way to do this is through coding. youll have to make a scar file for your map. this was in coh1 as well, so theres quite a few guides out there (which as far as i know, are still applicable). i played around with this to make some indestructible objects on one of my maps.
these are the lines in the scar file that let me make objects invulnerable.
then in the wb, i made an entity group called eg_invuln and added the objects i wanted invulnerable to that group. im sure someone like onkel sam could give you a better explanation
i just figured this out based on tutorials and looking at relics maps.
these are the lines in the scar file that let me make objects invulnerable.
Code
-- Set Egroups invulnerable
EGroup_SetInvulnerable(eg_invuln, true)
then in the wb, i made an entity group called eg_invuln and added the objects i wanted invulnerable to that group. im sure someone like onkel sam could give you a better explanation

18 Dec 2013, 11:39 AM
#4

Posts: 59
Thanks =)
21 Dec 2013, 22:00 PM
#5

Posts: 32
I've tried adding splines to entity groups, and it seem to be impossible? Any way, especially code-wise, to make an object spline invulnerable?
20 Mar 2014, 19:52 PM
#6



Posts: 3421 | Subs: 11
Extremely late answer but as far as my knowledge goes you can't do that. However you could select the entities in run-time with various functions (e.g. World_GetEntitiesNearMarker(player, egroup, marker, ownerType)) and then manipulate them. I believe Relic used hand placed objects to achieve this in the V1 launch facility mission, where destroying the concrete walls with Recoilless Rifles triggers an event.
PAGES (1)

1 user is browsing this thread:
1 guest
SHOUT IT OUT!



Osinyagov: Suddenly, coh2 is slowly dying, but you can play it, playerbase still big enough
09 Apr 2025, 17:00 PM
09 Apr 2025, 17:00 PM
SupremeStefan: https://steamcommunity.com/sharedfiles/filedetails/?id=3457737797
04 Apr 2025, 12:42 PM
04 Apr 2025, 12:42 PM
Willy Pete: @Rosbone not dead yet. when that happens the font will switch to Papyrus 
02 Apr 2025, 00:16 AM

02 Apr 2025, 00:16 AM
aerafield: yeah I already prepared my "Can't believe there's comic mode for the 10 daily visitors even on this April 1st" 
01 Apr 2025, 20:29 PM

01 Apr 2025, 20:29 PM
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
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
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
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
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
27 Mar 2025, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy 
27 Mar 2025, 04:31 AM

27 Mar 2025, 04:31 AM
Rosbone: Congrats to Relic. Looks like Coh3 has finally usurped Coh2 s the popular Coh. You smell terrific.
.
24 Mar 2025, 02:46 AM

24 Mar 2025, 02:46 AM
Livestreams
![]() |
![]() |
![]() |
21 | ||
![]() |
![]() |
![]() |
215 | ||
![]() |
![]() |
![]() |
179 | ||
![]() |
![]() |
![]() |
32 | ||
![]() |
![]() |
![]() |
11 | ||
![]() |
![]() |
![]() |
2 | ||
![]() |
![]() |
![]() |
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.59482.879+8
- 2.43163.872+9
- 3.14839.791+7
- 4.13745.753-1
- 5.288162.640+6
- 6.18151.780+4
- 7.313114.733+9
- 8.389260.599+3
- 9.14265.686+10
- 10.18678.705+1
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
14

Download
1370
Board Info
356 users are online:
356 guests
2 posts in the last 24h
5 posts in the last week
42 posts in the last month
5 posts in the last week
42 posts in the last month
Registered members: 53754
Welcome our newest member, Merton
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Merton
Most online: 2043 users on 29 Oct 2023, 01:04 AM