Search the Community
Showing results for tags 'cfgmodel'.
Found 1 result
-
Hi, This is a config / terrain builder question not quite sure where the problem is any help would be appreciated! Ive got a house model in game this is its config: class Land_VehiclePadCornor: House_F { scope = 2; scopeCurator = 0; displayName = "Sub Terrain Vehicle Pad Corner"; armor = 999999; armorStructural = 999; author = "Article 2 Studios"; model="P:\OPTRE_MapCommon\Buildings\VehiclePadCorner.p3d"; class AnimationSources { class liftgate_1 /// the class name is later used in model.cfg { source = "user"; /// user source means it is waiting on some scripting input animPeriod = 8; /// how long does it take to change value from 0 to 1 (or vice versa) initPhase = 0; /// what value does it have while creating the vehicle sound = "ServoRampSound_2"; }; }; }; It works fine when I place it the Eden Mission editor in that it cannot be destroyed as Ive given it high Armour values in the config. However when placed in Terrain builder it can be destroyed, in addition my add actions and animations do not seem to work on versions placed in Terrain builder. I also ran a small script to test the problem using the nearestObject scripting command, when I ran the test on buildings in Altis it returned the buildings classname when I tested it on my buildings it returned just empty string. The only information on this forum Ive found seems to suggest to link the config and the p3d file you add "Land_" followed by the p3ds file name to the class name and it should work, but this does not seem to be the case for me. Thanks for reading.
- 7 replies
-
- terrain builder
- cfgvehicles
-
(and 3 more)
Tagged with: