x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:04 AM in C++ Programming

avatar image

ue4-archive ♦♦ STAFF
49.9k 3666 1996 9121

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered Mar 11 '14 at 02:04 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3666 1996 9121

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:04 AM

thank you ill try that

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:04 AM

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

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:04 AM

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.

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:04 AM

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?

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:04 AM

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".

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:04 AM

Excellent! Thank you very much!

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:04 AM

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.

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:04 AM +

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!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question