Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Spotter
Re: New feature: Spotter[message #329698] Sat, 11 January 2014 08:09 Go to previous messageGo to next message
AvianSavara

 
Messages:34
Registered:December 2013
Location: Montr
Okay, so I finally managed to extract one of the binoculars items from my single-string items.xml file (somehow it got concatenated, losing every line break.. I think the xml editor might have done that. Hmm.)

Code right here:
Toggle Spoiler


Now I know I need to give it , but I don't have the default value that would normally show up in a fresh install.

1) The example above is for compact binocs (item #199). Can somebody share the value with me?
2) also, if possible, the value for the quality binocs (item #200)
3) Does the tag fit anywhere and it will be parsed either way? or does it belong with one group of tags or another?

Thanks!
Re: New feature: Spotter[message #329699] Sat, 11 January 2014 13:25 Go to previous messageGo to next message
Flugente

 
Messages:3165
Registered:April 2009
Location: Germany
You should use Notepad++, the normal Notepad does weird things to formatting. Campact binoculars have 50 and quality ones have 70. Values between 0 and 100 are valid. You can put the tag anywhere on that item.


Re: New feature: Spotter[message #329739] Mon, 13 January 2014 03:34 Go to previous messageGo to next message
AvianSavara

 
Messages:34
Registered:December 2013
Location: Montr
Excellent. Thanks, O writer of great codes! Smile
Re: New feature: Spotter[message #332858] Tue, 20 May 2014 08:42 Go to previous messageGo to next message
M16AMachinegun

 
Messages:308
Registered:September 2013
Bug: Using the XML Editor that comes with the latest SCI and saving (the XML Editor) in any way overwrites spotting tags
Re: New feature: Spotter[message #332861] Tue, 20 May 2014 09:43 Go to previous messageGo to next message
JMich

 
Messages:580
Registered:January 2011
Location: Greece
M16AMachinegun
Bug: Using the XML Editor that comes with the latest SCI and saving (the XML Editor) in any way overwrites spotting tags
Use a newer one. XML Editor 162 is the current latest. Grab it from here.
Re: New feature: Spotter[message #332955] Thu, 22 May 2014 00:50 Go to previous messageGo to next message
M16AMachinegun

 
Messages:308
Registered:September 2013
Thank you JMich. It's annoying to have to re-add the tags EVERY TIME i make an edit in the XML editor.
Re: New feature: Spotter[message #339975 is a reply to message #332955] Mon, 09 March 2015 20:33 Go to previous messageGo to next message
Flugente

 
Messages:3165
Registered:April 2009
Location: Germany
As of r7774,
  • The spotter minimum preparation time has been lowered to 2 turns (was 3),
  • the spotter cth bonus has been doubled,
  • and the spotter cth bonus now works for rifles and sniper rifles. Otherwise spotting was absolutely useless in the beginning, due to lack of 'real' sniper rifles early on.
And yes, this occured to me while actually playing myself ;). I will likely visit some other features in the future.

It's not cheating if the game mechanic itself changes. angel



Saren threw his head back and screamed in impotent fury, before falling to his throne, head in his claws, trembling in horrified disbelief.

Then he heard a faint chime as Sovereign subscribed to her ECHO channel.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: New feature: Spotter[message #340375 is a reply to message #339975] Fri, 03 April 2015 04:41 Go to previous messageGo to next message
BlackWater

 
Messages:21
Registered:March 2011
Location: malaysia
Flugente wrote on Mon, 09 March 2015 19:33
As of r7774,

  • The spotter minimum preparation time has been lowered to 2 turns (was 3),
  • the spotter cth bonus has been doubled,
  • and the spotter cth bonus now works for rifles and sniper rifles. Otherwise spotting was absolutely useless in the beginning, due to lack of 'real' sniper rifles early on.
And yes, this occured to me while actually playing myself ;). I will likely visit some other features in the future.

It's not cheating if the game mechanic itself changes. angel


Hi, mind to teach me where to edit and change spotter cth bonus works both for rifles and sniper rifles? I'm playing a 7609 "stable version".
Re: New feature: Spotter[message #340381 is a reply to message #340375] Fri, 03 April 2015 09:03 Go to previous messageGo to next message
Flugente

 
Messages:3165
Registered:April 2009
Location: Germany
Look for SPOTTER_MAX_CTHBOOST in JA2_Options.ini. However, note that in stable, the bonus will only work for sniperrifles, not rifles - the above code change is not in stable.



Saren threw his head back and screamed in impotent fury, before falling to his throne, head in his claws, trembling in horrified disbelief.

Then he heard a faint chime as Sovereign subscribed to her ECHO channel.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


thumbs26.png  Re: New feature: Spotter[message #340386 is a reply to message #340381] Fri, 03 April 2015 14:08 Go to previous messageGo to next message
BlackWater

 
Messages:21
Registered:March 2011
Location: malaysia
Thanks for the answer. No luck for me not sure
Re: New feature: Spotter[message #349737 is a reply to message #340386] Sat, 06 May 2017 14:08 Go to previous messageGo to next message
elenhil

 
Messages:68
Registered:June 2008
I'm a bit confused. Does spotting work for the whole area outside the minimum spotting range or just the 9*9 tile spot?
Re: New feature: Spotter[message #349756 is a reply to message #349737] Thu, 11 May 2017 07:16 Go to previous messageGo to next message
Julix

 
Messages:92
Registered:June 2010
Location: Germany

Read the first post again and look at the picture.

Anything within the green circle you can communicate to. Any target within the orange circle you don't give any bonuses for (i.e. you're not really helping, they can clearly see) --- anything that's further away than the orange circle AND that you can see, you can help with spotting (to anyone within your green circle)
Re: New feature: Spotter[message #349758 is a reply to message #329093] Thu, 11 May 2017 11:45 Go to previous message
elenhil

 
Messages:68
Registered:June 2008
OK, what's the purpose of the green 9x9 square (shown at the mouse cursor location when activating spotting), then? And why activating spotting on a tile you can't see returns a message to that effect (and thus no preparation takes place)?

[Updated on: Thu, 11 May 2017 12:16]

Previous Topic: New feature: Arulco Special Division
Next Topic: New feature: profile-independent voicesets
Goto Forum:
  


Current Time: Mon Nov 20 13:28:33 EET 2017

Total time taken to generate the page: 0.01754 seconds