Oct 21

BugSmashers – Episode 13

This post is a transcript of BugSmashers – Episode 13, material that is the intellectual property of Cloud Imperium Games (CIG) and it’s subsidiaries. INN is a Star Citizen fansite and is not officially affiliated with CIG, but we reprint their materials with permission as a service to the community. INN edits our transcripts for the purpose of making the various show participants easier to understand in writing. Enjoy!


The Bug

Hornet’s main engine thruster effects are not working as well as the maneuvering thruster effects are only working at certain angles

The Smash

Mark takes a look at reproducing the bug and figures out that the main thruster effect flat out does not work and the maneuvering thrusters only work at certain angles. Also when looking at the hornet from  further away it exasperates the issue.Mark takes a look at the code and notices the code for camera is a little wonky. The code in question determines whether or not we should see the effects by how close the camera is, however instead of the camera being set up to judge the distance between the camera and the ship, it’s instead calculating the distance from a point of origin which is an issue because instead of going through the zone system to the world space(which is where the ship is) It’s going from world space, to world space and that makes some weird stuff happen.

Mark goes through and cleans up the previous code with some changes to the zone system which is a handy system that is able to know where everything is as a given time. He makes some changes to where instead of using world space to calculate where the camera is in the game to start with, he’s making the game use the zone system to get the coordinates of the camera first since it knows where everything is.

Mark continues to clean up some more code that wasn’t allowing the Level of detail to be as precise.

Finally, Mark cleans up another section of code which was incorrectly communicating the transfer of the camera within the Zone system and properly calibrated it to it’s specific needs.

Mark compiles the code and it works properly again! No more missing effects at a certain distance or not having any at all!


About the Author:

Leave a Reply