I have used Scar code in the past to get the Rail and Arnhem bridges to be invincible with pathing etc for AI with no problem. The code for example in CoH1 used to create an issue for Victory Point games, however the work around was as per the below.
Create an entity group EG_Invincible and add the items to the group then pop the below in to the scare file..
Code
import("ScarUtil.scar")
import("WCUtil.scar")
function OnGameSetup()
g_CheckAnnihilate = true
end
function OnInit()
Invulnerable()
end
Scar_AddInit(OnInit)
function Invulnerable()
EGroup_SetInvulnerable(eg_invincible, true)
end
Adding the above always worked, the question is what is the new code for making an item invincible in coh2 and does world builder carry over the scar file etc as it all used to be done with Corsix?
In addition to making items invincible I always managed to create lighting effects on my maps.. so lamp posts could come on in a transition or stay on etc, I am pretty savvy with world builder and noted that once you have saved a weather preset you cant load it again. I know there was a work around in COH1 but I am at a loss as to how to do it... I have read many topics now with no definitive answer on how to get lights to turn on
I am also unable to extract anything from CoH2 archives with any of the tools listed on forums...am I missing something here as I would love to break down a map with invincible bridges and light effects to see how it has been done.
I can appreciate that Relic etc.... don't want too much modding going on as they are selling Skins and Commanders in their store etc.... but the above is more about map making for the community which is some thing I have done since World Builder first came out for CoH.
Any help would be greatly appreciated.
Regards,
MrEasyUK