Animation Calls

Project: Armament
Role: Game Programmer
Completed By: 51.61 Cpl Zackariah Romasz Game Programmer
Created: 5/21/2017 11:46
Forum: Sprint Discussion
Objective
Figure out how to execute animation frames when an action is taken.

Liaison
No Messages Available

Task
Elapse Time: 1.5 hr
I am currently working on reading the API and documentation. I have a demo scene up, a basic cube with an animation imported and have a script that sends a log to the console when I press the spacebar. Next step is making the animation play when the spacebar is pushed and also pause, possibly resume. more research is needed.
Elapse Time: 2 hr
I researched most of the API that would be needed and got a basic understanding of what is required.
Elapse Time: 1.5 hr
I continue to modify code and setting to get the animation to work correctly. For some reason I am running into issues with the animation not looping or moving the object as desired. Current animation is supposed to translate but sometimes rotates the object and will also scale the object from 2.3 times to 100 times the size. Asked team for assistance with troubleshooting.
Elapse Time: 1 hr
Looked through as many forums as I could to try and find a similar issue and found some possibilities.
Elapse Time: 1.83 hr
I can get the animation to play and the animation works in other programs correctly. I am unsure if it is how I am importing it or if its a mismatch between blender and the engine but I used the settings suggested in the forum. I believe the task is complete but my animation/ model is just not working correctly.

Assets
No Asset Available

Scrum Sprint 20170625 for Armament

By: 16317.12 1stLt James Fleming Lead Producer

Start Date
End Date

6/25/2017
7/2/2017

Objective

We will be focusing on creating the graphical user interface with complete network support.

Starting Sprint Team Members:
Pvt Spiral Media Game Artist 2D
16278.19 1stLt James Fleming Lead Game Producer
5109.88 WO Tessa Toney Game Producer
17.04 Pfc Chris Arce Game Writer
4.04 Pvt Elisa Rodriguez Game Artist 2D
17.50 Pfc Jordan Jeffreys Game Artist 2D
505.52 GySgt Robert Cordova Lead Game Sound Effects
0.12 Pvt Zackariah Romasz Game Programmer
525.06 GySgt Anthony Michelizzi Lead Game Programmer
Pvt Maurice Fletcher Game Designer

@Zackariah Ok I will review it and see what going on with it during or down time.

Thanks,
James Fleming


@James I have code for Xenko animation working, just uploaded it. The issue is the actual animation itself not looking right. When I put the animation into unity the animation works fine. I can get Xenko to work correctly only sometimes, it will scale and move the model weird but that could be just Blender and Xenko not working together or something.

@Jordan Nice work I'm going to crop this logo to remove the background after the end of the gun towards the right and submit it as a PNG to add into the project.

Thanks,
James Fleming


@Zackariah Are you saying you have the code for Unity3d animation or the code for Xenko animation working?

Thanks,
James Fleming


@James sorry for the late reply, I am still working on it. Yesterday I had to upgrade my hard drive and it took a lot longer than anticipated. I am working on it today, I believe/ hope the issue is the file I am importing. Need to look into it some more and mess around with options. I imported the model and the animation into Unity and it worked right away.

@Team I have updated the "Our Focus Schedule" section to show more of our monthly goal then agenda listing to achieve it.  With all the effort put in and sometime we mix things up a bit because of opportunity presents itself to push forward I think listing our goal as such would be a better way to show where we are at in the process of creating our game.

Thanks,
James Fleming


@Zackariah How is the animation coming do you still need help with it I have a few hours I can look at it with you? 

Thanks,
James Fleming


@Robert I just got done adding Click2 too all buttons thank you for your help.

Thanks,
James Fleming


@James
Awesome; It is there now. I will have these changed soon!

Thanks!
-Robert GameSoundEffect

@Robert Sorry about that I am so use to working on the code I sometime forget you don't see or know the field value in the database for our system LOL.  Please look at it again I made some adjustment to the page so it should be easy to do now.

Agenda (Is this where I change it to IsGameable?) - No that is the one below.
Should this asset be used in game?(I set this to True) - IsGameable flag

Thanks,
James Fleming


@James

I'm not seeing where to change the project. It's probably in pain sight but I'm not seeing it. :)

It allows me to change these parameters:
  • Agenda (Is this where I change it to IsGameable?)
  • Allow to download rank
  • Should this asset be used in game?(I set this to True)
  • Delete from system.
  • Can the public see this on the website?
  • TypeId
  • Title
Context
  • Meta Title
  • Meta Description
  • Meta Keywords
Thanks!
-Robert GameSoundEffect

@Robert On the asset edit screen you can change the title and the project.  Let me know if you have any issue with it.

Thanks,
James Fleming


@James

I'd go with click2 for now. 

That is the right list. We may need to change the names of a few of those as we are not dealing with mechs, but the sound can still be used for something else.

How to I change it from "The Last stand" to "Armament"?
-Robert GameSoundEffect

@Team We are currently working on a codex for the units in the game and hope to have a video up of board game game play so everyone can see the end results of what we are aiming for.  I think we might have the codex done by next week and I will post it as a wiki for our team to review.

Thanks,
James Fleming


@Robert Can you recommend a click noise you have selected as IsGameable for me to use with the menu system.  I think I'm do that now so we can move on after this sprint.

Also we need to switch all the sound asset that where marked to be in the game from "The Last Stand" to "Armament" project. 

Is this the full list with only those asset you want in the game for audio?  If you see any that should not be included please set them to IsGameable = False

I reassigned the agenda it too you sorry for bouncing you around a bit just want to get those in their so we can use them this week.

Thanks,
James Fleming


I have tried searching forums but I will keep looking! I will also ask as well, just figured I would give a go here first to see if anyone knew, not a problem! Thank you!

@Zackariah We are just starting with animation so at this point I would say it might be better to look on Xenko forum or ask question on their website.

Thanks,
James Fleming


Has anyone messed with any animations being imported into Xenko? I am having a weird issue where I made a simple animation in blender and when I go to play the animation with the model I get really weird results. I had a simple translate and rotate on a cube and somehow the scale jumps up and when the animation is set to loop it scales about 100 but on one time it only scales around 2.3. Also when I mod the animation to only be translate, it works when root motion is applied but goes back to rotating and scaling without it. Any Ideas?

The game and menu seems to be working for me as well, I like the setup so far!

@Anthony With that water agenda let keep it simple for now we just need to be able to see it and detect if a unit is in or out of the water / close too it etc for now.  We can worry about making pretty and realistic later down the road.

Thanks,
James Fleming


@Robert Awesome thank you very much.  Next we will be putting in the clicking sounds from audio after this sprint.

Thanks,
James Fleming


The menu seems to be working for me.
-Robert GameSoundEffect

@Team Can someone download the demo and tell me if it works please?

Thanks,
James Fleming


Thank you very much, I am starting to look into it.

@zackariah For that agenda we need to know how to call animation in Xenko api for our models. Once you figure out how to do that upload your *.cs files to your agenda

Thanks,
James Fleming


Good Evening/ day to everyone, this is my first sprint and the agenda seems a little vague as to what the end result is supposed to be and was hoping for some clarifications. Is the end result just supposed to be my knowledge of how it works or am I supposed to make a basic system/ template class to preform it?

Welcome, everyone, to another sprint. As we push forward in our project, the challenges we conquer as a team, absolutely amaze me.  With that being said, lets get started :).

Does anyone have any comments, questions, or concerns about the agenda they are assigned too?  If you need your agenda defined better or you're not sure where to start, please post on the kanban discussion any questions and we can start figuring it out as a team.

If this is the first time you have worked on a sprint with our team please have a look at this wiki page, as well as the game design document (GDD)  and then we have this video below to get you started.  If you have any question reviewing these resource please ask away.