open up the class you inherit from ->cameraboom.h or whatever and look around for a setter function, use that instead of accessing the variables directly
Max_Sam
(Max Sam)
October 10, 2016, 11:28pm
293
Hi,
First, thanks a lot for this example, that makes me learn so much more about UE4 C++.
Iâm trying to understand how can I put different âholding weapons animationsâ for each weapon type, but Iâm not a programmer, Iâm a Designer lol.
Can you point me in the right direction for doing this thing?
Iâve tryed to put some bool on OnPrimaryEquipâŚ, but it canât work at all.
Very sorry for my english, I wish you understand what I want to say.
mblogest
(mblogest)
October 13, 2016, 11:02am
295
i have unreal 4.12 and i have not older version of engine.how to use this project ? beacuse when run it,he say surrvival game.dll bult with another version .and rebuild from source.how to rebuild or use it???please help
mblogest
(mblogest)
October 19, 2016, 11:05am
296
hi and thanks for every thing.
when i convert your project with 4.13 event graph not loaded in blue print and no showing any thing.why?
mblogest
(mblogest)
October 19, 2016, 8:25pm
297
why other blueprint or c++ class dont compile like blueprint?
davidgutjar
(davidgutjar)
November 4, 2016, 11:12am
298
when hit more than one spacebar key player flying to the sky
how fix that ?
acxsasx
(acxsasx)
November 6, 2016, 8:39pm
299
4.13.2.
I donât know if this is the best way, but it works for me at the moment.
In your SCharacter.cpp (or whatever you named yours)
void ASCharacter::OnStopJump()
{
bPressedJump = false;
StopJumping();
}
This project is SUPER INSPIRING and Iâm soo excited to try it out!! My question is though, what is the license and could the license please be included in the git? Thank you so much for all of your hard work on this!
LanceJZ
(LanceJZ)
November 25, 2016, 4:11am
302
I just got 4.13.2 downloaded and installed, and I opened your project in it, and I get this error.
https://s12.postimg.org/dywdlziil/Unreal_Survival_Game_error.png
Is a file missing? Where can I find it?
iLexLOL
(iLexLOL)
November 26, 2016, 10:21pm
303
Hey thumbs up man! But i really cant seem to know whats causing infinite jumping glitch , tried donwloading the project 2 times (using 4.13 version) , could you please please update it with the fix on GitHub? I would love to <3
Tom_Looman
(Tom Looman)
November 28, 2016, 12:34am
304
Hey thumbs up man! But i really cant seem to know whats causing infinite jumping glitch , tried donwloading the project 2 times (using 4.13 version) , could you please please update it with the fix on GitHub? I would love to <3
Just uploaded a fix for this infinite jumping glitch to GitHub.
I get the same error, not quite sure why itâs failing to import. Afaik everything still works though.
0bas0
(0bas0)
November 28, 2016, 2:22pm
305
Hey question? is this gonna get updated to 4.14? I tried it myself but I am not that much of a code wizard ^^
nemesis567
(nemesis567)
November 30, 2016, 5:12am
306
Running C:/Program Files (x86)/Epic Games/4.14/Engine/Binaries/DotNET/UnrealBuildTool.exe SurvivalGame Development Win64 -project=âC:/Users/Kavan/Documents/Unreal Projects/SurvivalGame 4.14/SurvivalGame.uprojectâ -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for SurvivalGameEditor
Running UnrealHeaderTool âC:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\SurvivalGame.uprojectâ âC:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Intermediate\Build\Win64\SurvivalGameEditor\Development\SurvivalGameEditor.uhtmanifestâ -LogCmds=âloginit warning, logexit warning, logdatabase errorâ -Unattended -WarningsAsErrors -installed
Reflection code generated for SurvivalGameEditor in 4.9968581 seconds
@progress pop
Performing 6 actions (4 in parallel)
[2/6] Resource ModuleVersionResource.rc.inl
[3/6] Resource SurvivalGame.rc
PCH.SurvivalGame.h.cpp
Module.SurvivalGame.cpp
SurvivalGame.generated.cpp
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\Player\SBaseCharacter.cpp(101): error C2039: âGetMatchStateâ: is not a member of âAGameModeBaseâ
C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\GameFramework/GameStateBase.h(10): note: see declaration of âAGameModeBaseâ
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\Player\SPlayerController.cpp(31): error C2248: âUWorld::GameStateâ: cannot access private member declared in class âUWorldâ
C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\Engine/World.h(780): note: see declaration of âUWorld::GameStateâ
C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime/Engine/Classes/Animation/AnimInstance.h(24): note: see declaration of âUWorldâ
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\Player\SPlayerState.cpp(41): error C2248: âUWorld::GameStateâ: cannot access private member declared in class âUWorldâ
C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\Engine/World.h(780): note: see declaration of âUWorld::GameStateâ
C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime/Engine/Classes/Animation/AnimInstance.h(24): note: see declaration of âUWorldâ
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\World\SCoopGameMode.cpp(9): error C2011: âFLogCategoryLogGameModeâ: âstructâ type redefinition
C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\GameFramework/GameModeBase.h(20): note: see declaration of âFLogCategoryLogGameModeâ
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\World\SCoopGameMode.cpp(69): error C2027: use of undefined type âFLogCategoryLogGameModeâ
C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\GameFramework/GameModeBase.h(20): note: see declaration of âFLogCategoryLogGameModeâ
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\World\SCoopGameMode.cpp(69): error C2065: âCompileTimeVerbosityâ: undeclared identifier
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\World\SCoopGameMode.cpp(69): error C2228: left of â.IsSuppressedâ must have class/struct/union
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\World\SCoopGameMode.cpp(69): error C2228: left of â.GetCategoryNameâ must have class/struct/union
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\World\SCoopGameMode.cpp(69): error C2665: âFMsg::Logf_Internalâ: none of the 2 overloads could convert all the argument types
C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Core\Public\Logging\LogMacros.h(37): note: could be âvoid FMsg::Logf_Internal(const ANSICHAR *,int32,const FName &,ELogVerbosity::Type,const TCHAR *,T1)â
with
T1=FVector *
]
C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Source\SurvivalGame\Private\World\SCoopGameMode.cpp(69): note: while trying to match the argument list â(const char [111], int, ELogVerbosity::Type, const wchar_t [37], const TCHAR *, FVector *)â
ERROR: UBT ERROR: Failed to produce item: C:\Users\Kavan\Documents\Unreal Projects\SurvivalGame 4.14\Binaries\Win64\UE4Editor-SurvivalGame.dll
Total build time: 47.08 seconds
Thatâs what happens on 4.14? Can someone help me get this right? I know C++ but kinda new to the engine. I assume it has got something to do with not using getters to access private members?
Tom_Looman
(Tom Looman)
November 30, 2016, 11:21pm
307
Hey guys, the project just got upgraded to 4.14 for those who were having issues compiling.
0bas0
(0bas0)
December 1, 2016, 12:16pm
308
Thanks , you sir are a hero
acxsasx
(acxsasx)
January 12, 2017, 9:25pm
309
I am trying to learn an optimal way to update the UMG from my C++ project.
I see that this project uses Event Tick in Widget_PlayerInfo to call the functions to update the health bar and energy bar which get the needed numbers from the SCharacter.
I followed another example where I bound the Progress Bar to a function that does the same as the function in the Survival demo (get the data from the character). I have read comments that binding is not ideal for performance. (Donât know the difference as of yet).
I found this post by @, https://forums.unrealengine.com/showthread.php?119268-How-I-Mix-UMG-and-C&highlight=how%20i%20mix%20umg , that I have yet to unravel.
Can anyone point me to resources that will help shed more light on this?
Not a C++ but at least more helpful. .unrealengine.com/latest/INT/Engine/UMG/HowTo/EventBasedUI/index.html
Ok, I used the information in the link to only update the UMG when an event fires. Sometime make this harder than it really is.
Inside of https://github.com//EpicSurvivalGameSeries/blob//SurvivalGame/Source/SurvivalGame/Private/Player/SCharacter.cpp
I canât figure out where Line #201 is getting âControllerâ from.
Can anyone point me in the right direction.
Tiskan
(Tiskan)
January 14, 2017, 10:36pm
311
From the APawn class. SCharacter->SBaseCharacter->ACharacter->APawn. Inheritance, sometimes hard to follow.
ZioYuri78
(ZioYuri78)
January 15, 2017, 5:49pm
312
Inherited from APawn
.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/APawn/index.html
How can I modify the rifleâs impact effect so its decal looks like a hole rather than a line?