Login

russian armor

"Linking" objects and FX in Worldbuilder

31 Aug 2017, 18:33 PM
#1
avatar of Senseo1990

Posts: 317

Hey,

does anybody know if there is some way to "link" map fx (created via action markers) to objects, so that when the object gets destroyed/disappears the linked fx disappears too?

Is it maybe even possible to do the same with two objects? (lets say a regular object, that can get destroyed, linked with a sight blocker)

The reason Im asking this is, that im looking to create tank wrecks on my map, that behave like unit wrecks, i.e. create smoke and block LoS.
31 Aug 2017, 22:55 PM
#2
avatar of Tric
Master Mapmaker Badge

Posts: 1467 | Subs: 4

Hey,

does anybody know if there is some way to "link" map fx (created via action markers) to objects, so that when the object gets destroyed/disappears the linked fx disappears too?

Is it maybe even possible to do the same with two objects? (lets say a regular object, that can get destroyed, linked with a sight blocker)

The reason Im asking this is, that im looking to create tank wrecks on my map, that behave like unit wrecks, i.e. create smoke and block LoS.


The tank wrecks you are using are incorrect for competitive play and shouldn't even be used, if this isn't the goal in mind then there is no way to remove them and still maintain an fx that disappears after the wreck itself it destroyed.

All wrecks should start with the "map object" in the entity title or they will all be salvageable leading to imbalance due to only certain factions being able to use them and providing a resource advantage due to it.

Linking FX to an object is a huge pain, and as far as I can remember it is completely bugged outside of scar editing, which requires code and a separate file in your map folder that (as far as I know) nobody knows how to use properly.
1 Sep 2017, 11:36 AM
#3
avatar of Senseo1990

Posts: 317

jump backJump back to quoted post31 Aug 2017, 22:55 PMTric


The tank wrecks you are using are incorrect for competitive play and shouldn't even be used, if this isn't the goal in mind then there is no way to remove them and still maintain an fx that disappears after the wreck itself it destroyed.

All wrecks should start with the "map object" in the entity title or they will all be salvageable leading to imbalance due to only certain factions being able to use them and providing a resource advantage due to it.

Linking FX to an object is a huge pain, and as far as I can remember it is completely bugged outside of scar editing, which requires code and a separate file in your map folder that (as far as I know) nobody knows how to use properly.


Hey Tric, thank you for your reply. Yes, I am aware that lots of vehicle wrecks are salvageable, but in this case I am not concerned about that, because it is not my goal to create a competitive map.

And even if I was: Linking mapobject_wrecks to fx would still be something Id like to do.

So if I understand this correctly: You think that it is possible via Scar?
1 Sep 2017, 11:57 AM
#4
avatar of Senseo1990

Posts: 317

Im going to assume (without having tried it), that you could probably link objects together, with various commands like

EGroup_IsEmpty(egroup_object1_name)
and
EGroup_DeSpawn(egroup_object2_name)

If EGroup_IsEmpty -> EGroup_DeSpawn
(as long as an Egroup is considered empty, once all of its objects get destroyed)

Im going to test some things, but I will probably fail at setting things up correctly. However, that is just for objects. Action Markers cannot be put into egroups or sgroups as far as I know?!

Edit: EGroup_IsEmpty() wouldnt work, maybe EGroup_CountAlive() or Entity_IsAlive()or something
1 Sep 2017, 21:00 PM
#5
avatar of Senseo1990

Posts: 317

Alright, I managed to link two objects together, so if one gets destroyed, the other one will too (either that, or despawn).

Now I will have to find a way to do the same with an actionmarker. Unfortunately, I cant seem to find any scar functions that deal with action markers
1 Sep 2017, 22:02 PM
#6
avatar of Tric
Master Mapmaker Badge

Posts: 1467 | Subs: 4

Alright, I managed to link two objects together, so if one gets destroyed, the other one will too (either that, or despawn).


Now I will have to find a way to do the same with an actionmarker. Unfortunately, I cant seem to find any scar functions that deal with action markers


Never tried to have action markers or fx markers in an egroup, not sure what it would even do tbh.

You most likely have to connect them via the drop down. Instead of FX_orphan you would use something else, probably inherit?
1 Sep 2017, 22:19 PM
#7
avatar of Senseo1990

Posts: 317

jump backJump back to quoted post1 Sep 2017, 22:02 PMTric


Never tried to have action markers or fx markers in an egroup, not sure what it would even do tbh.


As far as I know you cant put markers into egroups anyway.

jump backJump back to quoted post1 Sep 2017, 22:02 PMTric
You most likely have to connect them via the drop down. Instead of FX_orphan you would use something else, probably inherit?


I have tried fx_attach, but I dont fully understand the functionality. I dont know how to reference an object with it, and I think that youre not even supposed to. Which is odd, because there is an option which states "effect stops when the marker gets removed", yet there doesent seem to be any way to actually remove markers ingame.
2 Sep 2017, 09:13 AM
#8
avatar of Tric
Master Mapmaker Badge

Posts: 1467 | Subs: 4



As far as I know you cant put markers into egroups anyway.



I have tried fx_attach, but I dont fully understand the functionality. I dont know how to reference an object with it, and I think that youre not even supposed to. Which is odd, because there is an option which states "effect stops when the marker gets removed", yet there doesent seem to be any way to actually remove markers ingame.


Just remember that half of the things in this version of the WB don't work similar to vcoh.
1 user is browsing this thread: 1 guest

SHOUT IT OUT!

No ProfanityNumber of ShoutsRefresh Shout Box
Lady Xenarra: WTB Pershing for Axis, that is all :lolol:
Today, 13:32 PM
donofsandiego: :clap:
Today, 02:34 AM
donofsandiego: Return of the chatGPT writing prompt. Lets see how shinasukac responds to these questions utilizing the Socratic Method. Maybe he will give us an interesting look into his opinions
Today, 02:34 AM
Willy Pete: I havent even seen a pershing yet. Coh3 games still move too fast for it lol
Today, 00:30 AM
shinasukac: kingtiger=kingjoker
Yesterday, 16:27 PM
Lady Xenarra: Has anyone actually used the KT much? My experience is that the match is usually over long before I get the CPs for it
Yesterday, 14:35 PM
Rosbone: Can someone message me the day you can look at Coh3 and not face palm yourself in disbelief that actual humans worked on it? Much appreciated.
Yesterday, 06:40 AM
Rosbone: The only way to feel good about Coh3 is to never look at Coh3. Once you see it, you cant unsee it.
Yesterday, 06:37 AM
Rosbone: Observer mode sucks, player stats pages are scatter brained mess, etc etc etc
Yesterday, 06:35 AM
Rosbone: It is really hard to tell people to buy the DLC with feeling like they are throwing their money down the toilet for a nearly dead game. But Big Tonks!!! Oh well, not my problem.
Last Tuesday, 18:12 PM
Rosbone: No 4v4 maps, busted menus 2 years after release, still have not fixed janky sounds people have complained about for over 2 years, etc etc.
Last Tuesday, 18:10 PM
Rosbone: And the skirmish menus are still at a BETA level. Just the largest game play mode completely ignored... again.
Last Tuesday, 18:09 PM
Willy Pete: Oh wtf. Yeah the crossing remake was in the 2v2 demo. No more 3s and 4s is a bummer tho
Last Tuesday, 16:42 PM
aerafield: What? No, he means that all the new maps are for 1v1. Though Im pretty sure they will be playable in 2v2 as well
Last Tuesday, 15:50 PM
Willy Pete: Are the maps really locked behind dlc? Surely they must be in the regular update
Last Tuesday, 15:22 PM
Rosbone: I would like to join in celebration with the 9% of Coh3 MP players who are getting ALL of the new maps. Woohoo! #3Tards
Last Friday, 19:22 PM
OKSpitfire: I hope that at least one of heavies is a like-for-like reskin of the coh 2 ISU-152. I miss that thing.
Last Friday, 10:23 AM
Rosbone: Buy our cool new large tanks that will never get played on the 4 new 1v1 maps added. Perfect synergy! :facepalm:
20 Feb 2025, 19:23 PM
Rosbone: Everyone ready for some deep penetration :snfPeter:
20 Feb 2025, 17:13 PM
Lady Xenarra: I'm sure the ppl who defended it as balanced for Allies will be screaming like they got scaled with boiling water, in COH3. How the tables turn.
20 Feb 2025, 11:33 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

237 users are online: 237 guests
8 posts in the last 24h
11 posts in the last week
50 posts in the last month
Registered members: 52064
Welcome our newest member, Plaoin43889
Most online: 2043 users on 29 Oct 2023, 01:04 AM