Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » What is the Unit of visual range bonuses in Item.xml? (Tiles or percent?)
icon5.gif  What is the Unit of visual range bonuses in Item.xml?[message #361233] Fri, 11 September 2020 17:42 Go to next message
Kurt

 
Messages:273
Registered:March 2004
In "Items.XML", "Quality binoculars", I see

	<NightVisionRangeBonus>20</NightVisionRangeBonus>
	<DayVisionRangeBonus>100</DayVisionRangeBonus>
	<BrightLightVisionRangeBonus>80</BrightLightVisionRangeBonus>

What's the unit here? Map tiles or percentage?
Is this bonus added to the base visual range (like, during day your visual range is doubled, or +100 tiles)?

Also, what is the difference between "Day" and "Bright Light"?
Re: What is the Unit of visual range bonuses in Item.xml?[message #361234 is a reply to message #361233] Fri, 11 September 2020 18:55 Go to previous messageGo to next message
sevenfm

 
Messages:2273
Registered:December 2012
Location: Russian Federation
1. Percents to base vision.
2. You can see bright light in tropical sectors, or maybe if you throw flare during day.



7609+AI (r1573) | Unofficial modpack | Win8+ fix | Experimental project | Youtube | Trunk (r8892) | 1.13 Starter Docs

Кто в Москве не бывал, красоты не видал.


Re: What is the Unit of visual range bonuses in Item.xml?[message #361243 is a reply to message #361234] Sat, 12 September 2020 16:14 Go to previous messageGo to next message
Kurt

 
Messages:273
Registered:March 2004
sevenfm wrote on Fri, 11 September 2020 17:55
1. Percents to base vision.
Thanks!


sevenfm wrote on Fri, 11 September 2020 17:55
2. You can see bright light in tropical sectors, or maybe if you throw flare during day.
I see.

I don't really see how a flare can add anything to the glare of the multi-billion kilotons thermonuclear explosion in the sky though. big grin
Re: What is the Unit of visual range bonuses in Item.xml?[message #361256 is a reply to message #361243] Sun, 13 September 2020 00:37 Go to previous messageGo to next message
SinMachina

 
Messages:43
Registered:August 2020
Kurt wrote on Sat, 12 September 2020 08:14

I don't really see how a flare can add anything to the glare of the multi-billion kilotons thermonuclear explosion in the sky though. big grin
Have you ever looked at fireworks? I'm thinking a sparkler, a fountain, or dealt with an hand-held signal flare? While yes, they are not as bright as the sun, the amount of light that they do generate, and the distance they are from your eyes compared to the sun makes them blinding.
Re: What is the Unit of visual range bonuses in Item.xml?[message #361263 is a reply to message #361256] Sun, 13 September 2020 15:29 Go to previous message
Kurt

 
Messages:273
Registered:March 2004
SinMachina wrote on Sat, 12 September 2020 23:37
Have you ever looked at fireworks?
Yes, but at night. Said sparkler/fountain would be barely visible in bright sunlight.
Anyway, it's not important: Since the setting is user-modifiable, everybody can put it to the value he deems realistic.
Previous Topic: bAutofireShotsPerFiveAP
Next Topic: Randomitem.XML
Goto Forum:
  


Current Time: Wed Sep 23 14:55:16 EEST 2020

Total time taken to generate the page: 0.01467 seconds