Announcement

Collapse
No announcement yet.

code has no effect ingame

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

  • replied
    Oke thank you, that worked!! i overlooked it in the tutorial of geodav, my eyes get a little strained sometimes if i read intensivle.

    Leave a comment:


  • replied
    What isn't working? You placed the vehicle factory in a map? Does it compile without any warning (yellow) and errors (red)?

    The one thing which is not correct is the vehicle path. It must be a fully qualified path which includes the package name your class is in, a dot and the class name.

    Code:
    /**
      * Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
      */
     class UTVehicleFactory_SManta extends UTVehicleFactory;
      
     defaultproperties
     {
             Begin Object Name=SVehicleMesh
                     SkeletalMesh=SkeletalMesh'VH_Manta.Mesh.SK_VH_Manta'
                     Translation=(X=0.0,Y=0.0,Z=-70.0)
             End Object
      
             Components.Remove(Sprite)
      
             Begin Object Name=CollisionCylinder
                     CollisionHeight=+40.0
                     CollisionRadius=+100.0
             End Object
    
      
             VehicleClassPath="MyPackage.UTVehicle_SManta_Content"
    
     }

    Leave a comment:


  • replied
    I see they don't work indeed. Maybe i better try pastebin.com

    http://pastebin.com/ZePHVcf7
    http://pastebin.com/5LE0CXj7
    http://pastebin.com/BMHaAUJK
    http://pastebin.com/NHQ2hU9B

    i understand i am not supposed to do it this way as Geodav also mentioned in his tutorial, but i am learning from tutorials that i can find and what he is making is in the direction of what i want to create also.

    i have no education in programming so i dont know teh reason im not supposed to code it this way,

    Leave a comment:


  • replied
    The pastebins are empty (non working for me).

    I recommend not copying files, renaming it etc. For that tutorial, sublcassing with be the proper approach.

    Leave a comment:


  • started a topic code has no effect ingame

    code has no effect ingame

    I thought i posted a new thread yesterday but it seems something went wrong, so i try again.

    I used this tutorial https://sites.google.com/site/ut40km.../ut3-cv-part-5

    because i wanted to try the coding part for learning unrealscript.

    i did exactly the same as geodav in his tutorial did with his code; renaming the files and keeping the code.
    now it compiles fine without errors or warnings, but if i add my custom vehicle in unreal editor and play to test it,
    then in the game the changes i made seem to have no effect.

    http://pastebin.ca/3272441

    http://pastebin.ca/3272443

    http://pastebin.ca/3272446

    http://pastebin.ca/3272449

    i deleted the "native" line in one of the files just like geodav did.

    I would really appreciate if someone can help me with this because i just want to learn.
Working...
X