Mhoker Posted December 10, 2014 Share Posted December 10, 2014 I got an error when i try to compile the solution..I already have installed the Python with the Scons and the Path enviroment variables. Log: Compilación iniciada a las 10/12/2014 2:10:33. 1>Proyecto "D:\Repositorios\japp\japp.vcxproj" en el nodo 2 (Build destinos). 1>Build: scons.bat -Q Building for Windows 32 bits (cl 12.0, python 2.7.7), optimised, SSE, 24 threads scons: building associated VariantDir targets: game\build\release\cl\32\game json\build\release\cl\32\game lua\build\release\cl\32\game libudis86\build\release\cl\32\game cgame\build\release\cl\32\cgame json\build\release\cl\32\cgame lua\build\release\cl\32\cgame ui\build\release\cl\32\ui json\build\release\cl\32\ui libudis86\build\release\cl\32\ui compiling game\g_active.c g_active.c compiling game\g_items.c compiling game\g_log.c compiling game\g_main.c g_items.c compiling game\g_mem.c g_log.c compiling game\g_misc.c g_main.c compiling game\g_missile.c g_mem.c 1>game\g_active.c(920): error C2099: el inicializador no es una constante 1>game\g_active.c(922): error C2099: el inicializador no es una constante compiling game\g_mover.c g_misc.c compiling game\g_nav.c g_missile.c compiling game\g_navnew.c g_mover.c g_nav.c compiling game\g_object.c compiling game\g_playerbans.c compiling game\g_saga.c g_navnew.c compiling game\g_session.c g_object.c g_playerbans.c compiling game\g_smartentities.c compiling game\g_spawn.c compiling game\g_svcmds.c compiling game\g_syscalls.c compiling game\g_target.c compiling game\g_team.c compiling game\g_timer.c g_session.c g_svcmds.c g_target.c g_smartentities.c compiling game\g_trigger.c compiling game\g_turret.c g_team.c scons: *** [game\build\release\cl\32\game\game\g_active.obj] Error 2 g_timer.c compiling game\g_turret_G2.c g_trigger.c g_turret_G2.c g_saga.c g_spawn.c g_syscalls.c g_turret.c 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: El comando "scons.bat -Q" salió con el código 2. 1>Compilación del proyecto terminada "D:\Repositorios\japp\japp.vcxproj" (Build destinos) -- ERROR. ERROR al compilar. Tiempo transcurrido 00:00:06.25 Hope you can help me please. Link to comment
Raz0r Posted December 10, 2014 Share Posted December 10, 2014 I'll investigate tonight, the code looks like it should work, and it works fine on Linux. Link to comment
Mhoker Posted December 10, 2014 Author Share Posted December 10, 2014 I'll investigate tonight, the code looks like it should work, and it works fine on Linux.@@Raz0r I replace the followiing lines and its work: static const float maxJediMasterDistance = 2500.0f * 2500.0f; // x^2, optimisationstatic const float maxForceSightDistance = Square( 1500.0f ) * 1500.0f; // x^2, optimisation To: static const float maxJediMasterDistance = 6250000.0f;static const float maxForceSightDistance = 3375000000.0f; I don't know why you use x^2, maybe you have your reason.I don't know to much about C. Link to comment
Raz0r Posted December 10, 2014 Share Posted December 10, 2014 Yep. That's essentially what I was going to do. Mhoker likes this Link to comment
Mhoker Posted December 10, 2014 Author Share Posted December 10, 2014 Yep. That's essentially what I was going to do.@@Raz0r, I fork your project and made the change in github. Now i'm trying to allow grip when i´m in roll. but its little difficult to me to find the function. Link to comment
Raz0r Posted December 10, 2014 Share Posted December 10, 2014 Try different values of japp_fixRoll. I believe 1 should work. Link to comment
Mhoker Posted December 10, 2014 Author Share Posted December 10, 2014 Try different values of japp_fixRoll. I believe 1 should work.Thanks for the quicly response. In value 7 its work but only when i gripped first then roll.But i need to roll first, then when the player is in roll_action -> grip. like JA+.I tried other values and 1 but does'nt work. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now