82ndAB_Bravo17 Posted July 19, 2017 Report Share Posted July 19, 2017 In the new Vehicle Sim system _vehObj (lines 219 & 220) isn't defined, should it be _vehicle instead? Also, Lines 3-3 - 316 seem to be superflous? vbawol 1 Link to comment Share on other sites More sharing options...
vbawol Posted July 20, 2017 Report Share Posted July 20, 2017 Got the first issue sorted: https://github.com/EpochModTeam/Epoch/commit/292108715b2ffd32f2ba0eecc15c6af6a541ecc5 Also, Not sure what you mean by "Lines 3-3 - 316" can you elaborate? DirtySanchez 1 Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted July 20, 2017 Author Report Share Posted July 20, 2017 Thanks! Not sure what happened to the line numbers, should have been 213 -216! Quote // vehicle simulation handler if (_simulationHandler) then{ _vehicle enableSimulationGlobal false; }; Since it is set unconditionally to false in line 219 vbawol 1 Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted July 20, 2017 Author Report Share Posted July 20, 2017 The new system seems to be wiping out all saved vehicles, is this intentional? I'm guessing that the db upgrade system in lines 48-56 is the culprit if not. (No, it seems to survive the upgrade OK, its happening later) vbawol 1 Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted July 20, 2017 Author Report Share Posted July 20, 2017 Need to reset the array count after updating it or the next test fails and the vehicle isn't spawned. _arrNum = count _arr; needs to go at line 55 Link to comment Share on other sites More sharing options...
DirtySanchez Posted July 21, 2017 Report Share Posted July 21, 2017 Hey Bravo!!! In this pull merge request I have added in config settings for dynamic simulation. It includes toggles for the entire system as well as each individual usage within EPOCH as of now. Also some distances and a multiplier Coef. The old simulation handler was left in during the initial testing and if dynamic simulation is the ticket, I will assume the old sim handler would be removed. HeMan did add some code that would check the array count and resolve any issues. Oh I see you found an error, I will take a look and make the necessary change. Link to comment Share on other sites More sharing options...
DirtySanchez Posted July 21, 2017 Report Share Posted July 21, 2017 56 minutes ago, 82ndAB_Bravo17 said: Need to reset the array count after updating it or the next test fails and the vehicle isn't spawned. _arrNum = count _arr; needs to go at line 55 Yes I see this now and fixed on merge request 782 Link to comment Share on other sites More sharing options...
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