Xyne
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Override Support

Go down

Override Support Empty Override Support

Post by rynix Sat Dec 10, 2016 12:48 am

For debug/testing/experimentation purposes, I put in support for an overrides files that will alter various aspects of the game. To enable, create a file named overrides in
Code:
C:\Users\<User>\AppData\Local\Granite

Each override is key/value with one per line. For example:

Code:
player_starting_weapon_1=1
player_starting_weapon_2=2
player_starting_active_utility_1=1
player_starting_active_utility_2=2

Here are the currently supported overrides:

OverrideTypeDefaultNotes
player_thruster_forcefloat1300000
player_rear_thrusterfloat0.3percent of player_thruster_force
player_lateral_thrusterfloat0.6percent of player_thruster_force
player_rotation_speedfloat200degrees/sec
player_massfloat10be careful when changing this one - you will probably have to drastically change thruster force
player_max_healthfloat300you might throw off the UI if you make this too large/small
player_max_shieldfloat800you might throw off the UI if you make this too large/small
player_shield_recovery_delayfloat3in seconds
player_shield_recovery_ratefloat400shield/sec
player_starting_weapon_1int0these are every changing part ids - invalid numbers should not break the game, so experiment away
player_starting_weapon_2intN/Asee above
player_starting_active_utility_1intN/Asee above
player_starting_active_utility_2intN/Asee above
player_starting_passive_utility_1intN/Asee above
player_starting_passive_utility_2intN/Asee above
player_laser_base_damagefloat30
player_missile_explosion_damagefloat120
player_missile_explosion_radiusfloat300damage is a linear drop off

rynix
Admin

Posts : 5
Join date : 2016-12-04

https://xyne.board-directory.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum