Page 1 of 1

Penetrable objects

Posted: 06 Jul 2008, 12:00
by Tiuz
Hello Warzone Community,

For a small modding project i need a new object, that can be runed over by vehicles.
This could be a structure or a feature, but it must not disappear if a vehicle touch it like oil drums or an artefacts behave. Generally spoken an object without any collison features. Is there any possibility to add this to the game without alterating the source code?

Thank you for reply,

Tiuz.

Re: Penetrable objects

Posted: 06 Jul 2008, 16:13
by DevUrandom
"GENERIC ARTEFACT", "BUILDING WRECK" and "OIL DRUM" are the feature types which do not block movement.

Re: Penetrable objects

Posted: 06 Jul 2008, 21:40
by Tiuz
Hello DevUrandom,

Thank you for your reply. Unfortunately it does not solve my problem completely:

- Features of types "GENERIC ARTEFACTS" or "OIL DRUM" disapear if a unit touchs them. Can i disable this function anyway?
- I did not found any features of type "BUILDING WRECK" in the "features.txt" file. If i declare a feature as this type, it explodes without leaving any structure.

Regards, Tiuz.

Re: Penetrable objects

Posted: 06 Jul 2008, 22:07
by DevUrandom
I am sorry, but I guess it is not possible to have that without a code change then. :(

Re: Penetrable objects

Posted: 08 Jul 2008, 10:03
by Tiuz
A possible work around is to set baseWidth and baseBreadth of a structure to zero. However this modified structure can not be build up by construction droids or destroyed by waepons. Only way to create or remove it is to use script functions.

Tiuz.