Announcement

Collapse
No announcement yet.

Custom Vehicle - Armoured Bulldozer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    1st remove the UTVehicle_TheCar_Content and all it's assets,
    2nd your problem looks like an animtree error, or all your wheels have the same name.

    if you want upload it somewhere and send me a link via PM and i'll have a look for you

    ps don't forget the source code

    Comment


      #17
      With Geodav's help I now have the bulldozer functioning basically in Unreal.

      http://img17.imageshack.us/gal.php?g=working01.jpg
      At the moment I can only get 1 of the machine guns and rockets to fire but am trying to get both to fire at the same time. Does anyone know how this is done?

      Also I have been told by somebody that the code to get the tank treads moving is 'hidden in c++ code'. Has anyone got this to work using another method?

      Thanks

      Comment


        #18
        the weapon effects are set in a few places
        Code:
        Seats(1)={(	GunClass=class'UTVWeap_GoliathMachineGun',
        				GunSocket=(GunFireSocket),
        				GunPivotPoints=(Object10),
        				TurretVarPrefix="Gunner",
        				TurretControls=(gun_rotate,gun_pitch),
        				CameraTag=GunViewSocket,
        				CameraOffset=16,
        				SeatIconPos=(X=0.46,Y=0.65),
        				CameraBaseOffset=(Z=30.0),
        				MuzzleFlashLightClass=class'UTTankeMinigunMuzzleFlashLight',
        				WeaponEffects=((SocketName=GunFireSocket,Offset=(X=-36),Scale3D=(X=6.5,Y=6.0,Z=6.0)))
        				)}
        
        	// Muzzle Flashes
        	VehicleEffects(0)=(EffectStartTag=GoliathTurret,EffectTemplate=ParticleSystem'VH_Goliath.Effects.PS_Goliath_Cannon_MuzzleFlash',EffectSocket=TurretFireSocket)
        	VehicleEffects(1)=(EffectStartTag=GoliathMachineGun,EffectTemplate=ParticleSystem'VH_Goliath.Effects.P_Goliath_MiniGun_MuzzleFlash',EffectSocket=GunFireSocket)
        check the gunfiresockets, the above is for a single weapon.

        from the manta code
        Code:
        	Seats(0)={( GunClass=class'UTVWeap_MantaGun',
        				GunSocket=(Gun_Socket_01,Gun_Socket_02),
        				TurretControls=(gun_rotate_lt,gun_rotate_rt),
        				CameraTag=ViewSocket,
        				CameraOffset=-180,
        				SeatIconPos=(X=0.46,Y=0.45),
        				DriverDamageMult=0.75,
        				bSeatVisible=true,
        				CameraBaseOffset=(X=-20,Y=0,Z=10),
        				SeatOffset=(X=-30,Y=0,Z=-5),
        				WeaponEffects=((SocketName=Gun_Socket_01,Offset=(X=-35,Y=-3),Scale3D=(X=3.0,Y=6.0,Z=6.0)),(SocketName=Gun_Socket_02,Offset=(X=-35,Y=-3),Scale3D=(X=3.0,Y=6.0,Z=6.0)))
        				)}
        notice how the weapon effects are set for 2 sockets

        the track materials are set in the content code
        Code:
        	LeftTeamMaterials[0]=MaterialInstanceConstant'VH_Goliath.Materials.MI_VH_Goliath02_Treads_Red'
        	LeftTeamMaterials[1]=MaterialInstanceConstant'VH_Goliath.Materials.MI_VH_Goliath02_Treads_Blue'
        	RightTeamMaterials[0]=MaterialInstanceConstant'VH_Goliath.Materials.MI_VH_Goliath03_Treads_Red'
        	RightTeamMaterials[1]=MaterialInstanceConstant'VH_Goliath.Materials.MI_VH_Goliath03_Treads_Blue'

        Comment


          #19
          That's one crazy model...looks like something an Ork would drive...nice job.

          Comment


            #20
            Bulldozer Vehicle Files

            Hi all.

            I have uploaded the files for my bulldozer vehicle. If anybody would like to test out the vehicle in Unreal feel free to do so. Feedback would be greatly appreciated if anybody does try it in the game.

            Here is the link for the files

            http://www.mediafire.com/?sharekey=1...21d66e282a0ee8

            The included files are:
            UTVehicle_Bulldozer.uc
            UTVehicle_Bulldozer_Content.uc
            UTVehicleFactory_Bulldozer.uc
            UTVWeap_BulldozerMachineGun.uc
            UTVWeap_BulldozerTurret.uc
            VH_Bulldozer.upk
            Bulldozer.u

            These are the locations I am using for the files:

            .uc Files-
            UTGame/Src/Bulldozer/classes/.uc files

            .upk Files-
            UTGames/Unpublished/CookedPC/.upk files

            .u File
            UTGame/Unpublished/CookedPC/Script/.u file


            Hope this makes sence to everybody.

            Thanks for looking

            Comment


              #21
              Thx! I download and will try it as soon as I have some more time.

              Comment


                #22
                i hope it can take down barricades

                as it should

                & i hope the bucket will be able to dig terrain & lift things

                Comment

                Working...
                X