Five Elite Mercenaries are send to an Island in middle of the 1980'. The Task: Find and Eliminate a local Drug Baron. Features: new Physic, real Sunmovement, Day/Night Change, Hunger/Food system, realistic (!) Weather system, Light/Dark viewing system for AI, 5 different Fractions on the Island. Complete Realistic simulation of nearly all things, including Sleep. New weapons, new Vehicles. Vehicles driving system is now exact (!) like GTA IV , FireSystem,... this mod is Heavily inspired by GTA, IGI, FarCry.
i'm actually working on the engine, nothing new to show, but i have recordet two debug videos where i test a new menupage which was designed to give the possibility to tweak the cryengine in deep regions and maybe bring back some speed but for strange and mysterious reasons nothing happens in renderer framerate, but i was seeing that the shadercreator on start runs 10 seconds longer (during splashscreen), which means that the values i change are processed by special generated shaders which wont take affect in realtime -.- (even if it looks like they do ^^).
(but there is a option to reload all shaders, maybe this will help and regenerate them again by runtime, have to experiment further with).
i also found a source for a vegetation bug we fight since some years behind the fronts: if you try to exceed the vegetation rendering distance over the standart max amount of 0.9 ratio, the sky begins flickering or the terrain becomes invisible. by playing around simultaniously with my new entity distance slider, i found out, that some other shader may be the problem, but see yourself.
sorry, videos are only for download, no streaming, because i didnt wanna show this stuff to the world, is only for the real interested ones:
try to bring up FPS by testing new menu
Reflex-studio.com 188mb
another test, with a more recent version of the menu:
Reflex-studio.com 80mb
btw, the screenshot shows my IDE, how i program /code stuff. this part is part of the new (not yet finished) fire damage routine.
note that this new menuscreens in combination with the cheatmenu was needed to dive deeper in the cryengine and see what happens, needed about two weeks for, just so see: it happens nothing -.-
btw, there is something intresting behind such code: usually i allow only 50fps in menu, to prevent noise GPU's in menu with thousends of FPS. with my new routine which allows a realtimerendering of the game in background, i allow now on this page full FPS and disable some menubackgroundelements (big grey box), so you see better in realtime what happens to the game.
alone such code and routines need sometimes hours and days :D
if ( strlower(dmgtype)=="fire" ) then
No need too check the same thing twice. ;)
Also, line 3032 is pointless. You need to watch out for such small things.
haha, yeah, optimizing code like that would really be a option, but it would also harder to read later for beginners, i really try to make my code as clean and understandable and modable as possible.
for3032: you have right ! ofcourse inserting the 001 vector directly into the function would be the shortest way, but if you look years later inside such functions and call's and try to figure out how something work this is much worth: for example a correct vector is very important in other functions and its nearly nowhere documented how to get a normalized vector out from shooting direction so you can spawn the particles in correct direction -.-
still have massive problems by this in this 3D coordinate system :(
so thank you very much for your advise and help, you are highly welcome! i'm still self teaching lua, and its always a big fight ^^
I understand, but beginner or not, this is reinforcing bad habits. In the long run it will cause more harm than help anyone.
People who go this deep with at least a little knowledge will know what`s going on. People without such basic knowledge won`t be able to grasp what`s going on anyway. I know from the experience of people around me.
It`s like keeping thousands lines of code in a single file. Any experienced programmer would cut his eyes out if he saw that xD
Anyway, that`s your call! :)
WOW that's look...something. Keep up the good work :)
yeah i try ;)
but this was really frustrating :D