ShooterGame Issues

Im using shootergame as example. My issue is im editing some of the code and when i modify it doesnt change the game. There is no compile button, code view etc. How do i meddle around with it? Also it seems to cut off the mesh ( i know how to solve but i need to be able to modify and recompile) and also i want the aimoffset blendspace to be present as firstperson mode so i can see legs instead of having to attach the mesh in one pose to the camera.

Hey Eshwar,

In order for you to have the ability to compile the project must have a solution. Currently the samples don’t come with those but there is a workaround for this. What you will need to do is create a new project in rocket or using an existing one you made. Go to the project folder and you will see a file called GenerateProjectFiles.bat copy that into the ShooterGame folder and edit modify this line: …/…/…/…/Program Files/Rocket/Engine/Source according to where you have rocket installed. Save and run.

You will then get a solution file you can use to compile and modify things. Let me know if you have any issues with this.

Best Regards,

Ryan

thank you ill try that

still same results. i copied the file into my shootergame direcotry. Was it supposed to be in source? im confused

Make sure you move the GenerateProjectFiles.bat to the top level of the project folder ( Where the .uproject is ) and run the .bat file. You may need to modify the line above if you get an error when it runs, that is because it can’t find the source directory for Rocket. Let us know if you are still having issues with this.

I’m having trouble finding the .bat anywhere in any of my Rocket project folders.
I’m looking in C:......\Rocket Projects\batGrab which is a project I made in order to grab this .bat file. I’m not finding it in the root of any of my project files. I have display hidden files turned on. Any other reason why I might not be seeing the file?

The .bat file was removed recently. Now you should just need to right click on the ShooterGame.uproject file and choose “Generate Visual Studio Files”.

Excellent! Thank you very much!

Ryan’s instructions worked for me.

I created a new empty C++ project, and opened it’s main directory, where the uproject and solution were, located the GenerateProjectFiles.bat file, and copied it. Then I went to the ShooterGame folder, where the uproject file is located, and pasted the bat and ran it. I happened to place both projects right next to each other in my folder hierarchy, so I didn’t need to make any modifications to the bat file - ie, I create a “RocketProjects” folder, which contains all of my custom projects, and the example projects (D:/RocketProjects/ShooterGame/ShooterGame.uproject, and D:/RocketProjects/MyProject/MyProject.uproject).

After generating the files, I was able to make some small modifications and compile, however I noticed that Intellisense wasn’t working properly under the generated ShooterGame solution.

Ah there you go. It works thank you I can finally recompile code. However, when i go to the details panel of any class say the camera while i am playing the game, I look into Code View and see no functions to jump into and edit. Is this something I should be aware of? Is it even necessary?
Thanks for the help!

This is as intended. As of right now all code view is limited to your project files.
It shouldn’t be needed though.