Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik > Daidalos Team discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-30-2015, 02:03 PM
Cloyd Cloyd is offline
Approved Member
 
Join Date: Oct 2007
Posts: 61
Default

OK, here's what I've learned, mostly from trial and error. I've also benefited from others' expertise about custom icons and IL2 scripting.

For me at least, when I create a new pilot, the ICONS file is not automatically generated in the USERS folder. If I open the console, there is a "file not found" error message, the game is looking for the ICONS file for that pilot. Entering mp_dotrange into the console shows that the icon settings are at the default values. If I enter mp_dotrange FRIENDLY DOT 14.0 (the default value) an ICONS file is generated for that pilot, with all the default values. (For some reason, if I enter the default values for one of the new parameters, like ALTCOLOR, no ICONS file is generated.)

I'm not sure when this TD feature was implemented, your ICON settings are saved. So you can edit and save your ICONS file for each pilot, and those values will be loaded when you start the game and select that pilot.

You can find info about using and adjusting the new TD parameters here: http://forum.1cpublishing.eu/showthr...highlight=icon

You can automate the loading of different ICON sets.

Here's my rcu:

@set fast off
@set echo on
@set alias on
@set history 20

@alias a alias
@a h history
@a s show

@a st f script/fpsStarT.il2script
@a sp f script/fpsStoP.il2script

@a i f script/custom_icons.il2script

Entering i in the console runs a script that loads the icon values that are in a "script" folder I created in the main IL2 directory. Here are the contents of my custom_icons.il2script file (it's just a text file):

mp_dotrange FRIENDLY DOT 25.0 COLOR 6.0 RANGE 3.0 TYPE 3.0 ID 3.0 NAME 0.0050 ALTICON 15.0 ALTSYMBOL + ALTCOLOR 1
mp_dotrange FOE DOT 25.0 COLOR 6.0 RANGE 3.0 TYPE 3.0 ID 0.0050 NAME 0.0050 ALTICON 15.0 ALTSYMBOL + ALTCOLOR 2

I only use one icon set, but you can create several different custom icon sets and load them through the console.

I know nothing about IL2 scripting. Everything I know about it, I "stole" from Grille_Chompa, who obviously did know how it works. Here's the very old file from him that shows how to automate the loading of different icon sets:

http://www.mediafire.com/download/au...Iconscript.zip

Last edited by Cloyd; 05-30-2015 at 06:53 PM.
Reply With Quote
  #2  
Old 06-11-2015, 09:06 PM
wheelsup_cavu's Avatar
wheelsup_cavu wheelsup_cavu is offline
Approved Member
 
Join Date: Jan 2009
Location: Riverside County, California
Posts: 309
Default

Quote:
Originally Posted by Cloyd View Post
OK, here's what I've learned, mostly from trial and error. I've also benefited from others' expertise about custom icons and IL2 scripting.

For me at least, when I create a new pilot, the ICONS file is not automatically generated in the USERS folder. If I open the console, there is a "file not found" error message, the game is looking for the ICONS file for that pilot. Entering mp_dotrange into the console shows that the icon settings are at the default values. If I enter mp_dotrange FRIENDLY DOT 14.0 (the default value) an ICONS file is generated for that pilot, with all the default values. (For some reason, if I enter the default values for one of the new parameters, like ALTCOLOR, no ICONS file is generated.)

I'm not sure when this TD feature was implemented, your ICON settings are saved. So you can edit and save your ICONS file for each pilot, and those values will be loaded when you start the game and select that pilot.

You can find info about using and adjusting the new TD parameters here: http://forum.1cpublishing.eu/showthr...highlight=icon
Never knew about the sim creating an icon file for each individual pilot. Pretty slick.

Quote:
Originally Posted by Cloyd View Post
You can automate the loading of different ICON sets.

Here's my rcu:

@set fast off
@set echo on
@set alias on
@set history 20

@alias a alias
@a h history
@a s show

@a st f script/fpsStarT.il2script
@a sp f script/fpsStoP.il2script

@a i f script/custom_icons.il2script

Entering i in the console runs a script that loads the icon values that are in a "script" folder I created in the main IL2 directory. Here are the contents of my custom_icons.il2script file (it's just a text file):

mp_dotrange FRIENDLY DOT 25.0 COLOR 6.0 RANGE 3.0 TYPE 3.0 ID 3.0 NAME 0.0050 ALTICON 15.0 ALTSYMBOL + ALTCOLOR 1
mp_dotrange FOE DOT 25.0 COLOR 6.0 RANGE 3.0 TYPE 3.0 ID 0.0050 NAME 0.0050 ALTICON 15.0 ALTSYMBOL + ALTCOLOR 2

I only use one icon set, but you can create several different custom icon sets and load them through the console.

I know nothing about IL2 scripting. Everything I know about it, I "stole" from Grille_Chompa,
who obviously did know how it works. Here's the very old file from him that shows how to automate the loading of different icon sets:

http://www.mediafire.com/download/au...Iconscript.zip
Yep, I learned what I know from reading Grille_Chompa's and BaldiJr's scripts too.

Grille Chompa's Scripts Homepage: http://web.archive.org/web/200708160...x_english.html
Grille Chompa's Scripts page: http://web.archive.org/web/200509200...l/scripts.html

I have all 5 of Grille Chompa's scripts and I will be uploading them to M4T shortly. Just need to zip them up as a complete package.


Wheels
Reply With Quote
  #3  
Old 06-13-2015, 07:15 PM
Cloyd Cloyd is offline
Approved Member
 
Join Date: Oct 2007
Posts: 61
Default

Hey Wheels, let me know when you upload those other scripts. I'd like to have a look at them and probably use the Rata script for raising the Wildcat's gear.

Cloyd
Reply With Quote
  #4  
Old 06-14-2015, 05:54 AM
wheelsup_cavu's Avatar
wheelsup_cavu wheelsup_cavu is offline
Approved Member
 
Join Date: Jan 2009
Location: Riverside County, California
Posts: 309
Default

Quote:
Originally Posted by Cloyd View Post
Hey Wheels, let me know when you upload those other scripts. I'd like to have a look at them and probably use the Rata script for raising the Wildcat's gear.

Cloyd
Just finished uploading them Cloyd.
Grille Chompa's Scripts: http://www.mission4today.com/index.p...etails&id=5035

The Rata Gearscript was not what I was expecting but it does work really well. When you see it you will understand what I mean.


Wheels
Reply With Quote
  #5  
Old 06-16-2015, 12:09 AM
Cloyd Cloyd is offline
Approved Member
 
Join Date: Oct 2007
Posts: 61
Default

Got 'em, thanks. Good stuff!

Somewhere there's an explanation of all the console commands. As the unofficial archivist of all things IL2, I'm tasking you with finding that explanation buried in the bowels of M4T.

You've probably already been there, but if not, open the console and type "help".

Then try "hotkeycmd help". Haven't got a clue what it all means but it looks like fun to play with.

Cloyd

Edit: Tolwyn, please forgive me for derailing your post.

Last edited by Cloyd; 06-17-2015 at 08:37 PM.
Reply With Quote
  #6  
Old 06-18-2015, 06:42 AM
wheelsup_cavu's Avatar
wheelsup_cavu wheelsup_cavu is offline
Approved Member
 
Join Date: Jan 2009
Location: Riverside County, California
Posts: 309
Default

Quote:
Originally Posted by Cloyd View Post
Got 'em, thanks. Good stuff!

Somewhere there's an explanation of all the console commands. As the unofficial archivist of all things IL2, I'm tasking you with finding that explanation buried in the bowels of M4T.

You've probably already been there, but if not, open the console and type "help".

Then try "hotkeycmd help". Haven't got a clue what it all means but it looks like fun to play with.

Cloyd

Edit: Tolwyn, please forgive me for derailing your post.
These Knowledge Base articles should get you started.

I'm tired of typing all those lengthy console commands. Is there a way to automate it? http://www.mission4today.com/index.p...p=show&kid=119

Console commands: http://www.mission4today.com/index.p...p=show&kid=351

18: [Console] (Article #21 Page 1): http://www.mission4today.com/index.p...op=show&kid=21

17: [HotKey Console] (Article #20 Page 1): http://www.mission4today.com/index.p...op=show&kid=20

----------------------------------------------------------------

Still looking into your question Tolwyn.


Wheels
Reply With Quote
  #7  
Old 06-18-2015, 08:16 PM
Cloyd Cloyd is offline
Approved Member
 
Join Date: Oct 2007
Posts: 61
Default

Thanks Wheels,

I could've / should've found those myself. Thanks for covering for my laziness.

Cloyd
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.