Scale character and effect ranges dynamically

Reference issue: #158.
This commit is contained in:
C.S. Melis 2024-05-23 00:13:49 +02:00
parent 9d427dba82
commit a1291984c1
3 changed files with 89 additions and 54 deletions

View File

@ -12,7 +12,12 @@ anim = characters\animations\HandFemale.anm
anim = characters\animations\Special.anm anim = characters\animations\Special.anm
[DetailSwitchTable] [DetailSwitchTable]
switch = 100, 999999 switch = 100, 10
switch = 80, 18
switch = 60, 40
switch = 40, 60
switch = 20, 100
switch = 10, 220
[PetalAnimations] [PetalAnimations]
anim = characters\animations\BodyGenericMale.anm anim = characters\animations\BodyGenericMale.anm
@ -271,7 +276,12 @@ nickname = worm
mesh = characters\bodies\worm.dfm mesh = characters\bodies\worm.dfm
[DetailSwitchTable] [DetailSwitchTable]
switch = 100, 999999 switch = 100, 20
switch = 80, 28
switch = 60, 50
switch = 40, 70
switch = 20, 110
switch = 10, 230
[PetalAnimations] [PetalAnimations]
anim = characters\animations\BodyGenericFemale.anm anim = characters\animations\BodyGenericFemale.anm
@ -286,7 +296,12 @@ nickname = br_darcy_body_torture
mesh = characters\bodies\br_darcy_body_torture.dfm mesh = characters\bodies\br_darcy_body_torture.dfm
[DetailSwitchTable] [DetailSwitchTable]
switch = 100, 999999 switch = 100, 10
switch = 80, 18
switch = 60, 40
switch = 40, 60
switch = 20, 100
switch = 10, 220
[PetalAnimations] [PetalAnimations]
anim = characters\animations\BodyGenericFemale.anm anim = characters\animations\BodyGenericFemale.anm
@ -397,7 +412,12 @@ nickname = pl_female2_peasant_body_bust
mesh = characters\bodies\pl_female2_peasant_body_bust.dfm mesh = characters\bodies\pl_female2_peasant_body_bust.dfm
[DetailSwitchTable] [DetailSwitchTable]
switch = 100, 999999 switch = 100, 10
switch = 80, 18
switch = 60, 30
switch = 40, 45
switch = 20, 80
switch = 10, 190
[PetalAnimations] [PetalAnimations]
anim = characters\animations\FacialMale.anm anim = characters\animations\FacialMale.anm
@ -668,7 +688,12 @@ nickname = sc_scientist2_head_hat
mesh = characters\heads\sc_scientist2_head_hat.dfm mesh = characters\heads\sc_scientist2_head_hat.dfm
[DetailSwitchTable] [DetailSwitchTable]
switch = 100, 999999 switch = 100, 10
switch = 80, 18
switch = 60, 30
switch = 40, 45
switch = 20, 80
switch = 10, 190
[PetalAnimations] [PetalAnimations]
anim = characters\animations\FacialFemale.anm anim = characters\animations\FacialFemale.anm
@ -835,7 +860,12 @@ nickname = pl_female4_head_helmet
mesh = characters\heads\pl_female4_head_helmet.dfm mesh = characters\heads\pl_female4_head_helmet.dfm
[DetailSwitchTable] [DetailSwitchTable]
switch = 100, 999999 switch = 100, 10
switch = 80, 18
switch = 60, 30
switch = 40, 45
switch = 20, 60
switch = 10, 150
[PetalAnimations] [PetalAnimations]
anim = characters\animations\HandMale.anm anim = characters\animations\HandMale.anm
@ -876,7 +906,12 @@ nickname = robot_hand_leftB
mesh = characters\hands\malehandleft_robotB.dfm mesh = characters\hands\malehandleft_robotB.dfm
[DetailSwitchTable] [DetailSwitchTable]
switch = 100, 999999 switch = 100, 10
switch = 80, 18
switch = 60, 30
switch = 40, 45
switch = 20, 60
switch = 10, 150
[PetalAnimations] [PetalAnimations]
anim = characters\animations\HandFemale.anm anim = characters\animations\HandFemale.anm

View File

@ -7,7 +7,7 @@ radius = 20
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 15 run_time = 15
pbubble = 999999, 999999 pbubble = 500, 1000
[EffectType] [EffectType]
nickname = EFT_EXPLOSION_MEDIUM nickname = EFT_EXPLOSION_MEDIUM
@ -18,7 +18,7 @@ radius = 100
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = 15 run_time = 15
pbubble = 999999, 999999 pbubble = 750, 1250
[EffectType] [EffectType]
nickname = EFT_EXPLOSION_LARGE nickname = EFT_EXPLOSION_LARGE
@ -29,7 +29,7 @@ radius = 500
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = 20 run_time = 20
pbubble = 999999, 999999 pbubble = 2000, 7000
[EffectType] [EffectType]
nickname = EFT_EXPLOSION_DEBRIS nickname = EFT_EXPLOSION_DEBRIS
@ -40,7 +40,7 @@ radius = 10
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 15 run_time = 15
pbubble = 999999, 999999 pbubble = 100, 500
[EffectType] [EffectType]
nickname = EFT_EXPLOSION_SHIP nickname = EFT_EXPLOSION_SHIP
@ -51,7 +51,7 @@ radius = 50
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 15 run_time = 15
pbubble = 999999, 999999 pbubble = 1000, 1500
[EffectType] [EffectType]
nickname = EFT_EXPLOSION_MISSILE nickname = EFT_EXPLOSION_MISSILE
@ -62,7 +62,7 @@ radius = 20
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 10 run_time = 10
pbubble = 999999, 999999 pbubble = 250, 750
[EffectType] [EffectType]
nickname = EFT_EXPLOSION_MINE nickname = EFT_EXPLOSION_MINE
@ -73,7 +73,7 @@ radius = 20
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 10 run_time = 10
pbubble = 999999, 999999 pbubble = 250, 750
[EffectType] [EffectType]
nickname = EFT_MUZZLE_FLASH nickname = EFT_MUZZLE_FLASH
@ -84,7 +84,7 @@ radius = 5
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 0.5 run_time = 0.5
pbubble = 999999, 999999 pbubble = 50, 150
[EffectType] [EffectType]
nickname = EFT_MUZZLE_LARGE_FLASH nickname = EFT_MUZZLE_LARGE_FLASH
@ -95,7 +95,7 @@ radius = 7.5
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 1 run_time = 1
pbubble = 999999, 999999 pbubble = 200, 500
[EffectType] [EffectType]
nickname = EFT_MISSILE_DRIVE nickname = EFT_MISSILE_DRIVE
@ -106,7 +106,7 @@ radius = 250
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 1000, 2000
[EffectType] [EffectType]
nickname = EFT_WEAPON_COUNTER_MEASURE nickname = EFT_WEAPON_COUNTER_MEASURE
@ -117,7 +117,7 @@ radius = 7.5
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 200, 500
[EffectType] [EffectType]
nickname = EFT_WEAPON_MINE nickname = EFT_WEAPON_MINE
@ -128,7 +128,7 @@ radius = 10
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 200, 500
[EffectType] [EffectType]
nickname = EFT_WEAPON_PROJ nickname = EFT_WEAPON_PROJ
@ -139,7 +139,7 @@ radius = 20
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 1000, 1500
[EffectType] [EffectType]
nickname = EFT_WEAPON_LARGE_PROJ nickname = EFT_WEAPON_LARGE_PROJ
@ -150,7 +150,7 @@ radius = 100
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 1250, 1500
[EffectType] [EffectType]
nickname = EFT_CODE_PROJ_EFFECT nickname = EFT_CODE_PROJ_EFFECT
@ -161,7 +161,7 @@ radius = 50
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 1250, 2000
[EffectType] [EffectType]
nickname = EFT_WEAPON_IMPACT nickname = EFT_WEAPON_IMPACT
@ -172,7 +172,7 @@ radius = 7.5
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 0.5 run_time = 0.5
pbubble = 999999, 999999 pbubble = 100, 500
[EffectType] [EffectType]
nickname = EFT_WEAPON_LARGE_IMPACT nickname = EFT_WEAPON_LARGE_IMPACT
@ -183,7 +183,7 @@ radius = 20
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 15 run_time = 15
pbubble = 999999, 999999 pbubble = 500, 1000
[EffectType] [EffectType]
nickname = EFT_DAMAGE_HULL nickname = EFT_DAMAGE_HULL
@ -194,7 +194,7 @@ radius = 5
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 0.5 run_time = 0.5
pbubble = 999999, 999999 pbubble = 100, 500
[EffectType] [EffectType]
nickname = EFT_DAMAGE_SHIELD nickname = EFT_DAMAGE_SHIELD
@ -205,7 +205,7 @@ radius = 5
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 0.5 run_time = 0.5
pbubble = 999999, 999999 pbubble = 150, 600
[EffectType] [EffectType]
nickname = EFT_DAMAGE_LARGE_SHIELD nickname = EFT_DAMAGE_LARGE_SHIELD
@ -216,7 +216,7 @@ radius = 100
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 1 run_time = 1
pbubble = 999999, 999999 pbubble = 500, 1000
[EffectType] [EffectType]
nickname = EFT_DAMAGE_CRUISE nickname = EFT_DAMAGE_CRUISE
@ -227,7 +227,7 @@ radius = 7.5
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 1 run_time = 1
pbubble = 999999, 999999 pbubble = 300, 500
[EffectType] [EffectType]
nickname = EFT_DAMAGE_SMOKE nickname = EFT_DAMAGE_SMOKE
@ -238,7 +238,7 @@ radius = 20
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 100, 1000
[EffectType] [EffectType]
nickname = EFT_DAMAGE_LARGE_SMOKE nickname = EFT_DAMAGE_LARGE_SMOKE
@ -249,7 +249,7 @@ radius = 1250
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 1500, 7000
[EffectType] [EffectType]
nickname = EFT_DEBRIS_TRAIL nickname = EFT_DEBRIS_TRAIL
@ -260,7 +260,7 @@ radius = 5
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 200, 300
[EffectType] [EffectType]
nickname = EFT_ENGINE_CONTRAIL nickname = EFT_ENGINE_CONTRAIL
@ -271,7 +271,7 @@ radius = 5
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 100, 400
[EffectType] [EffectType]
nickname = EFT_ENGINE_TRAIL nickname = EFT_ENGINE_TRAIL
@ -282,7 +282,7 @@ radius = 100
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 500, 1250
[EffectType] [EffectType]
nickname = EFT_ENGINE_LARGE_TRAIL nickname = EFT_ENGINE_LARGE_TRAIL
@ -293,7 +293,7 @@ radius = 200
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 1000, 2000
[EffectType] [EffectType]
nickname = EFT_ENGINE_FIRE nickname = EFT_ENGINE_FIRE
@ -304,7 +304,7 @@ radius = 7.5
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 75, 450
[EffectType] [EffectType]
nickname = EFT_ENGINE_LARGE_FIRE nickname = EFT_ENGINE_LARGE_FIRE
@ -315,7 +315,7 @@ radius = 25
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 1000, 2000
[EffectType] [EffectType]
nickname = EFT_ENGINE_THRUSTER nickname = EFT_ENGINE_THRUSTER
@ -326,7 +326,7 @@ radius = 7.5
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 100, 500
[EffectType] [EffectType]
nickname = EFT_EQUIP_CLOAK nickname = EFT_EQUIP_CLOAK
@ -337,7 +337,7 @@ radius = 25
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = 10 run_time = 10
pbubble = 999999, 999999 pbubble = 1000, 2000
[EffectType] [EffectType]
nickname = EFT_EQUIP_LARGE_CLOAK nickname = EFT_EQUIP_LARGE_CLOAK
@ -348,7 +348,7 @@ radius = 150
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = 15 run_time = 15
pbubble = 999999, 999999 pbubble = 1500, 3000
[EffectType] [EffectType]
nickname = EFT_EQUIP_ATTACHED nickname = EFT_EQUIP_ATTACHED
@ -359,7 +359,7 @@ radius = 100
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 500, 2000
[EffectType] [EffectType]
nickname = EFT_EQUIP_ATTACHED_LARGE nickname = EFT_EQUIP_ATTACHED_LARGE
@ -370,7 +370,7 @@ radius = 1000
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 3000, 7500
[EffectType] [EffectType]
nickname = EFT_EQUIP_ATTACHED_INSANELY_LARGE nickname = EFT_EQUIP_ATTACHED_INSANELY_LARGE
@ -381,7 +381,7 @@ radius = 5000
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 10000, 20000
[EffectType] [EffectType]
nickname = EFT_MISC_DUST nickname = EFT_MISC_DUST
@ -392,7 +392,7 @@ radius = 500
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 100, 500
[EffectType] [EffectType]
nickname = EFT_MOTION_DUST nickname = EFT_MOTION_DUST
@ -403,7 +403,7 @@ radius = 500
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 100, 500
[EffectType] [EffectType]
nickname = EFT_JUMP_EFFECTS nickname = EFT_JUMP_EFFECTS
@ -414,7 +414,7 @@ radius = 100
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 100, 500
[EffectType] [EffectType]
nickname = EFT_JUMP_GATE_EFFECTS nickname = EFT_JUMP_GATE_EFFECTS
@ -425,7 +425,7 @@ radius = 400
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 3000, 4000
[EffectType] [EffectType]
nickname = EFT_LANE_ACTIVE nickname = EFT_LANE_ACTIVE
@ -436,7 +436,7 @@ radius = 250
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 750, 3000
[EffectType] [EffectType]
nickname = EFT_LANE_TUBE nickname = EFT_LANE_TUBE
@ -447,7 +447,7 @@ radius = 50
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 500, 2000
[EffectType] [EffectType]
nickname = EFT_LANE_SHIP nickname = EFT_LANE_SHIP
@ -458,7 +458,7 @@ radius = 50
visibility = CULL_OFFSCREEN visibility = CULL_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = 15 run_time = 15
pbubble = 999999, 999999 pbubble = 500, 1000
[EffectType] [EffectType]
nickname = EFT_LANE_SHIP_TRAVEL nickname = EFT_LANE_SHIP_TRAVEL
@ -469,7 +469,7 @@ radius = 50
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 500, 1000
[EffectType] [EffectType]
nickname = EFT_TRACTORBEAM nickname = EFT_TRACTORBEAM
@ -480,7 +480,7 @@ radius = 100
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = UPDATE_OFFSCREEN update = UPDATE_OFFSCREEN
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 1000, 1000
[EffectType] [EffectType]
nickname = EFT_FLASHLIGHT nickname = EFT_FLASHLIGHT
@ -491,5 +491,5 @@ radius = 10
visibility = EXIST_OFFSCREEN visibility = EXIST_OFFSCREEN
update = CULL_UPDATE update = CULL_UPDATE
run_time = -1 run_time = -1
pbubble = 999999, 999999 pbubble = 2000, 2000

View File

@ -6,8 +6,8 @@
; 2 = Double render distance & LOD switch threshold ; 2 = Double render distance & LOD switch threshold
; 3.5 = 3.5x render distance & LOD switch threshold, etc. ; 3.5 = 3.5x render distance & LOD switch threshold, etc.
lod_scale = 0 lod_scale = 0
pbubble_scale = 0 pbubble_scale = 15
character_detail_scale = 0 character_detail_scale = 15
; save_folder_name ; save_folder_name
; Name of the save folder in Documents/My Games ; Name of the save folder in Documents/My Games
save_folder_name = Freelancer save_folder_name = Freelancer