Jump to content


Photo

commandos 2 fov


  • Please log in to reply
4 replies to this topic

#1 pyjamasPojken

pyjamasPojken
  • Members
  • 48 posts
  • Location:Sweden

Posted 01 November 2017 - 02:00 PM

is there another way to change the fov of all enemies than to copy paste for example this code to every enemy
 

						.VIGILADOR
						[
							.LONG_NORMAL 750
							.LONG_LARGA 750
							.AMPL_NORMAL 70
							.MAX_ANG_BARRIDO 50
						]

copying and pasting the code to all enemies is very time consuming so thats why i wonder



#2 Maurice1976

Maurice1976
  • Members
  • 85 posts

Posted 01 November 2017 - 02:31 PM

It depends a little on how often you wish to do this. Just one scenario? Or dozens?

 

With a bit of programming skills, it shouldn't be that hard, because it's basically a search & replace subroutine that you'd run over the input file.



#3 dialog

dialog
  • Members
  • 117 posts
  • Location:Russia

Posted 03 November 2017 - 03:02 PM

Just use find/replace in Word.  :)



#4 pyjamasPojken

pyjamasPojken
  • Members
  • 48 posts
  • Location:Sweden

Posted 04 November 2017 - 11:22 AM

i know that i can edit the values with find/replace but i wonder if it possilbe to add the .vigilador script to enemies that does not have the script 



#5 dialog

dialog
  • Members
  • 117 posts
  • Location:Russia

Posted 05 November 2017 - 02:47 PM

If nothing enemies not have this section, try find with wildcards:

ComporAlemanScript*\[

and replace to:

ComporAlemanScript ^p [ ^p .VIGILADOR [ ^p .LONG_NORMAL 750 ^p .LONG_LARGA 750 ^p .AMPL_NORMAL 70 ^p .MAX_ANG_BARRIDO 50 ^p ]

 

But yes, will be better write small programm for it.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users