+ Reply to Thread
Results 1 to 9 of 9

Thread: New to Unreal Script! Please help!

  1. #1
    Driven by the B-Mashina Higuy's Avatar
    Join Date
    Nov 2007
    Location
    maryland
    Posts
    2,384
    Higuy has a spectacular aura about Higuy has a spectacular aura about

    New to Unreal Script! Please help!

    Hey guys... I'm starting to play around with Unreal Script and I have a small error that's stopping me. I used pre made code from the Unreal site to make a top down view perspective, but I need to get whats there working before I go editing it.

    Basically, I get warning messages saying:
    Code:
    Warning/Error Summary
    ---------------------
    D:\UDK\UDK-2010-09\Development\Src\UTGame\Classes\UDNGame.uc(5) :  Warning, ClassProperty Engine.GameInfo:DefaultPawnClass: unresolved  reference to 'class'UDNExamples.UDNPawn''
    D:\UDK\UDK-2010-09\Development\Src\UTGame\Classes\UDNGame.uc(5) :  Warning, Invalid property value in defaults:     DefaultPawnClass=class'UDNExamples.UDNPawn'
    D:\UDK\UDK-2010-09\Development\Src\UTGame\Classes\UDNGame.uc(6) :  Warning, ClassProperty Engine.GameInfo:PlayerControllerClass: unresolved  reference to 'class'UDNExamples.UDNPlayerController''
    D:\UDK\UDK-2010-09\Development\Src\UTGame\Classes\UDNGame.uc(6) :  Warning, Invalid property value in defaults:     PlayerControllerClass=class'UDNExamples.UDNPlayerController'
    I'm a bit new to the programming world... and Unreal Script. If someone can help me out and show me how to fix this I'd appreciate that.
    "I like too many things and get all confused and hung-up running from one falling star to another till I drop. This is the night, what it does to you. I had nothing to offer anybody except my own confusion."

    Lumoria - Youtube - Portfolio
    Reply With Quote

  2. #2
    Driven by the B-Mashina Higuy's Avatar
    Join Date
    Nov 2007
    Location
    maryland
    Posts
    2,384
    Higuy has a spectacular aura about Higuy has a spectacular aura about

    Re: New to Unreal Script! Please help!

    NVM. I got it working by editing a bunch of names and looking further into the Syntax. However, does someone know how to make a top down view use controls that are NESW instead of WASD? So, like, its locked, you use the mouse to look around but still use A or D to move sideways?
    "I like too many things and get all confused and hung-up running from one falling star to another till I drop. This is the night, what it does to you. I had nothing to offer anybody except my own confusion."

    Lumoria - Youtube - Portfolio
    Reply With Quote

  3. #3
    logical disorder neuro's Avatar
    Join Date
    Jun 2009
    Location
    Rome - Italy, Fuckhead epicentre.
    Posts
    1,607
    neuro has much to be proud of neuro has much to be proud of neuro has much to be proud of neuro has much to be proud of neuro has much to be proud of neuro has much to be proud of neuro has much to be proud of

    Re: New to Unreal Script! Please help!

    when it comes to unreal i can help you out on almost every front, EXCEPT code.

    sorry
    gallery-smellery!
    tutorial-brutorial!


    Quake was a game where a guy jumped over your head at 30mph, spun, put 3 rockets in your grill and landed without slowing down and no one called "aim bot!" at it."
    Reply With Quote

  4. #4

    Re: New to Unreal Script! Please help!

    Messing with Unreal? I thought you were going to use Cryengine.

    UDK is much more simple in terms of getting something of high quality in-game it seems. I've been messing with the Material Editor. It's amazing how powerful it is.

    Never tried the code yet. I think I'll start of with Kismet or w/e and then try out UnrealScript.
    "A honkey moment? that's when two white people have an argument and use legitimate facts to back up their case. They also cite their sources."
    Reply With Quote

  5. #5
    Driven by the B-Mashina Higuy's Avatar
    Join Date
    Nov 2007
    Location
    maryland
    Posts
    2,384
    Higuy has a spectacular aura about Higuy has a spectacular aura about

    Re: New to Unreal Script! Please help!

    I've messed with both and there both fairly easy to get things ingame and starting to work, Cryengine also seems to be a lot better for out door enviroments but thats not what I'm aiming for with this
    "I like too many things and get all confused and hung-up running from one falling star to another till I drop. This is the night, what it does to you. I had nothing to offer anybody except my own confusion."

    Lumoria - Youtube - Portfolio
    Reply With Quote

  6. #6

    Re: New to Unreal Script! Please help!

    YOU'RE NEW? USE THIS.
    AND THIS.

    Quote Originally Posted by Higuy View Post
    NVM. I got it working by editing a bunch of names and looking further into the Syntax. However, does someone know how to make a top down view use controls that are NESW instead of WASD? So, like, its locked, you use the mouse to look around but still use A or D to move sideways?
    PlayerInput (or any game specific subclasses) handle key configurations and such. Its properties can be modifiable from its config file (Engine default is DefaultInput).

    The above while pointing you in the right direction teaches little about understanding how it works. I recommend doing some reading through both PlayerInput and its host PlayerController.

    But before you do that! Read through Object, Actor, GameInfo, Pawn, Weapon, and maybe some others that I can't think of off the top of my head but are pretty important to understanding the Unreal Engine.

    If you want to make content for an engine you should understand how it works. Asking 'how do I logic???' is a poor way to learn how to do anything in any language.

    Quote Originally Posted by Higuy View Post
    Code:
    Warning/Error Summary
    ---------------------
    D:\UDK\UDK-2010-09\Development\Src\UTGame\Classes\UDNGame.uc(5) :  Warning, ClassProperty Engine.GameInfo:DefaultPawnClass: unresolved  reference to 'class'UDNExamples.UDNPawn''
    D:\UDK\UDK-2010-09\Development\Src\UTGame\Classes\UDNGame.uc(5) :  Warning, Invalid property value in defaults:     DefaultPawnClass=class'UDNExamples.UDNPawn'
    D:\UDK\UDK-2010-09\Development\Src\UTGame\Classes\UDNGame.uc(6) :  Warning, ClassProperty Engine.GameInfo:PlayerControllerClass: unresolved  reference to 'class'UDNExamples.UDNPlayerController''
    D:\UDK\UDK-2010-09\Development\Src\UTGame\Classes\UDNGame.uc(6) :  Warning, Invalid property value in defaults:     PlayerControllerClass=class'UDNExamples.UDNPlayerController'
    Just curious but were you just copy/pasting code? Those kind of errors are almost a signature of such behavior.
    Reply With Quote

  7. #7
    Driven by the B-Mashina Higuy's Avatar
    Join Date
    Nov 2007
    Location
    maryland
    Posts
    2,384
    Higuy has a spectacular aura about Higuy has a spectacular aura about

    Re: New to Unreal Script! Please help!

    Quote Originally Posted by JackalStomper View Post
    YOU'RE NEW? USE THIS.
    AND THIS.



    PlayerInput (or any game specific subclasses) handle key configurations and such. Its properties can be modifiable from its config file (Engine default is DefaultInput).

    The above while pointing you in the right direction teaches little about understanding how it works. I recommend doing some reading through both PlayerInput and its host PlayerController.

    But before you do that! Read through Object, Actor, GameInfo, Pawn, Weapon, and maybe some others that I can't think of off the top of my head but are pretty important to understanding the Unreal Engine.

    If you want to make content for an engine you should understand how it works. Asking 'how do I logic???' is a poor way to learn how to do anything in any language.



    Just curious but were you just copy/pasting code? Those kind of errors are almost a signature of such behavior.
    I was copy pasting code from UDN, yes. After realizing how to relink the code to my actual files it worked (I just starting looking into this stuff yesterday ). I've been messing with the code though by reading other stuff UDN trying to get the camera locked and controls while still being able to move the player around.

    I'm also not new to Unreal, I've had a fair share of experimentation and learning how to build levels, but I've never touched the code.

    BTW, I went and looked through DefualtInput like you suggested, but I think I wasn't being exactly clear - by NESW I mean North, East, South, West. Your still using the WASD keys, but the camera is locked uptop and even when the player is rotating around, he will still move in the direction you press no matter where he is facing.
    "I like too many things and get all confused and hung-up running from one falling star to another till I drop. This is the night, what it does to you. I had nothing to offer anybody except my own confusion."

    Lumoria - Youtube - Portfolio
    Reply With Quote

  8. #8
    Driven by the B-Mashina Higuy's Avatar
    Join Date
    Nov 2007
    Location
    maryland
    Posts
    2,384
    Higuy has a spectacular aura about Higuy has a spectacular aura about

    Re: New to Unreal Script! Please help!

    very basic atm, but its getting there slowly

    This video is unable to be displayed because the YouTube video tags were used incorrectly. Please review proper use of the tags here.
    "I like too many things and get all confused and hung-up running from one falling star to another till I drop. This is the night, what it does to you. I had nothing to offer anybody except my own confusion."

    Lumoria - Youtube - Portfolio
    Reply With Quote

  9. #9
    Driven by the B-Mashina Higuy's Avatar
    Join Date
    Nov 2007
    Location
    maryland
    Posts
    2,384
    Higuy has a spectacular aura about Higuy has a spectacular aura about

    Re: New to Unreal Script! Please help!

    INB4 UPDATE!

    This video is unable to be displayed because the YouTube video tags were used incorrectly. Please review proper use of the tags here.

    Added some more code, added some new wip assets, got some of the bots not to act like tards, and also got them to kill you. Researched HUD development with flash, still gotta figure out how to pull a variable from one of my classes though and display it (for a Point System). that also leads me to the question... how should I go about doing something like that? Global variables, and then in each pawn controller class have an intger thats added to that global everytime one of them dies?
    "I like too many things and get all confused and hung-up running from one falling star to another till I drop. This is the night, what it does to you. I had nothing to offer anybody except my own confusion."

    Lumoria - Youtube - Portfolio
    Reply With Quote

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts