Log in to reply

Questions regarding the creation of custom ambient scenarios

  • Hi,
    Since several days I have been trying to create a custom ambient scenario using a modded helicopter with Codewalker ; unfortunately, I am encountering the following problem : as my modded helicopter use the frogger2 « vanilla » slot, it is not possible to create a scenario with this model.
    To do so, & from what I understand, I need to edit the vehiclemodelsets.meta & scenarios.meta files, located in the update/update.rpf/common/data/ai section. Thus I added the following things :
    Regarding vehiclemodelsets.meta :

    <Item type="CAmbientModelSet">
    <Variations type="CAmbientVehicleModelVariations">
    <BodyColour1 value="91" />
    <BodyColour2 value="30" />
    <BodyColour3 value="111" />
    <BodyColour4 value="111" />
    <WindowTint value="-1" />
    <ColourCombination value="-1" />
    <Livery value="-1" />
    <ModKit value="-1" />
    <Mods />
    <Probability value="1.000000" />

    & regarding scenarios.meta :

    <Item type="CScenarioVehicleInfo">
    <PropName />
    <Models ref="LIFEGUARD_MALE_HELI" />
    <BlockedModels ref="NULL" />
    <SpawnProbability value="1.000000" />
    <SpawnInterval value="0" />
    <SpawnHistoryRange value="150.000000" />
    <MaxNoInRange value="0" />
    <PropEndOfLifeTimeoutMS value="60000" />
    <Range value="0.000000" />
    <SpawnPropIntroDict />
    <SpawnPropIntroAnim />
    <SpawnPropOffset x="0.000000" y="0.000000" z="0.000000" />
    <SpawnPropRotation x="0.000000" y="0.000000" z="0.000000" w="0.000000" />
    <TimeTilPedLeaves value="0.000000" />
    <ChanceOfRunningTowards value="0.000000" />
    <Flags>ForceModel SpawnMalePedsOnly</Flags>
    <Condition type="NULL" />
    <Name />
    <ConditionalAnims />
    <CameraNameHash />
    <IntroBlendInDuration value="0.500000" />
    <OutroBlendInDuration value="0.500000" />
    <OutroBlendOutDuration value="0.250000" />
    <ImmediateExitBlendOutDuration value="0.500000" />
    <PanicExitBlendInDuration value="0.125000" />
    <PedCapusleOffset x="0.000000" y="0.000000" z="0.000000" />
    <PedCapsuleRadiusOverride value="-1.000000" />
    <ReassessGroundExitThreshold value="-1.000000" />
    <FallExitThreshold value="-1.000000" />
    <ScenarioLayoutForPeds />
    <VehicleModelSet ref="USFS_HELI" />
    <VehicleTrailerModelSet ref="NULL" />
    <ProbabilityForDriver value="1.000000" />
    <ProbabilityForPassengers value="1.000000" />
    <ProbabilityForTrailer value="1.000000" />
    <MaxNumPassengers value="1" />
    <MinNumPassengers value="1" />

    I basically took the heli_lifeguard sections, & modified them according to my needs ; nonetheless, those modifications do not seem to be enough to do what I wished : the aforementioned « WORLD_VEHICLE_HELI_USFS » & « USFS_HELI » do not appear when I try to fill the "type" & "model" categories in a new Codewalker scenario project.
    Do I need to modify further files ? Or my whole thinking on how ambient scenarios are made is erroneous ?
    Any help is welcome !

    N.B : I hope I have been clear enough, I apologize in advance if the comprehension of this post is somewhat difficult ; English is not my first language.

Log in to reply

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.