Help: Delete an object with an animation (Giants Editor)

Your forum for all discussions around Modding.
User avatar
FarmCatJenkins
Posts: 2015
Joined: Wed Oct 09, 2019 3:27 pm
Location: Pennsylvania, USA

Help: Delete an object with an animation (Giants Editor)

Post by FarmCatJenkins »

Hi,
I am wondering if someone knows the steps to take to remove an object from a mod map that has an animation in Giants Editor. I would like to take out a preplaced gate from a prebuilt farm. I had tried to remove the gate previously, but got either an error or warning about it in the log and quickly reverted back to the original version. I am assuming there is something I have to do in an XML but I don't know where to begin to look.

TIA
Farmer since birth. Simulated since ‘15

Xbox: Hodge A Palooza
Steam: FarmCat Jenkins
anthu
Posts: 4978
Joined: Thu Nov 06, 2014 8:03 am

Re: Help: Delete an object with an animation (Giants Editor)

Post by anthu »

Hello Farmcat
My first step in such things is, not do delete - try moving.
I mean, i move things from above the map under the map. coordinate Y to zero or a minus value.
So it is away from map without any other changes.
For objects with animations, there is a xml in the modmap search for animations.xml or such one.
In this xml you can delete the lines for this animations (or outcommend it).
Lg
Andreas
User avatar
FarmCatJenkins
Posts: 2015
Joined: Wed Oct 09, 2019 3:27 pm
Location: Pennsylvania, USA

Re: Help: Delete an object with an animation (Giants Editor)

Post by FarmCatJenkins »

anthu wrote: Mon Mar 13, 2023 4:50 pm Hello Farmcat
My first step in such things is, not do delete - try moving.
I mean, i move things from above the map under the map. coordinate Y to zero or a minus value.
So it is away from map without any other changes.
For objects with animations, there is a xml in the modmap search for animations.xml or such one.
In this xml you can delete the lines for this animations (or outcommend it).
Lg
Andreas
Thanks Andreas. So I could theoretically delete the gate in GE then comment out the line for that gate in animatedObjects.xml and that would be the only steps?
Farmer since birth. Simulated since ‘15

Xbox: Hodge A Palooza
Steam: FarmCat Jenkins
TheSuBBie
Posts: 540
Joined: Wed Jun 10, 2020 11:38 am

Re: Help: Delete an object with an animation (Giants Editor)

Post by TheSuBBie »

Be aware that the animation might be part of a placeable and as such the animation sequence will be in that placeables xml.
User avatar
FarmCatJenkins
Posts: 2015
Joined: Wed Oct 09, 2019 3:27 pm
Location: Pennsylvania, USA

Re: Help: Delete an object with an animation (Giants Editor)

Post by FarmCatJenkins »

TheSuBBie wrote: Mon Mar 13, 2023 6:38 pm Be aware that the animation might be part of a placeable and as such the animation sequence will be in that placeables xml.
Would they be part of a placeable if they are on the main map.i3d?

Well here is the gate in question. Has the same name as some others for the cow barns, but I have seen no reference to any of these in the animatedObjects.xml or any animations in any of the cowbarns in the placeables folder.

Image
Farmer since birth. Simulated since ‘15

Xbox: Hodge A Palooza
Steam: FarmCat Jenkins
Eische
Posts: 3806
Joined: Thu Oct 18, 2018 5:17 pm

Re: Help: Delete an object with an animation (Giants Editor)

Post by Eische »

You don't need to delete animations.
Simply move the gate or other objects below the map. 50 meters usually is enough.

That is the savest way to avoid breaking something else in the map.

If you delete things from a map or any other mod, the node numbering changes. This could break references to xml files or cause other problems.
Playing on PC - Win10
Ryzen 3600
RX 5500XT
16GB Ram
How to post log file
How to upload pictures
Please report bugs for FS22 using the bugtracker
Steel_Horse
Posts: 156
Joined: Thu Jan 13, 2022 2:25 am

Re: Help: Delete an object with an animation (Giants Editor)

Post by Steel_Horse »

Or just use the mod Map Object Hider to hide it and not mess with GE at all. The only tricky thing with gates is it can take a few seconds to find reference point on the gate in order to be able to hide it.
User avatar
FarmCatJenkins
Posts: 2015
Joined: Wed Oct 09, 2019 3:27 pm
Location: Pennsylvania, USA

Re: Help: Delete an object with an animation (Giants Editor)

Post by FarmCatJenkins »

I did hide it under the map. Thanks for the help
Farmer since birth. Simulated since ‘15

Xbox: Hodge A Palooza
Steam: FarmCat Jenkins
Post Reply