Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4231723 - 02/21/16 05:33 AM tracer options  
Joined: May 2011
Posts: 19
mustanger Offline
Junior Member
mustanger  Offline
Junior Member

Joined: May 2011
Posts: 19
fl,usa
It's been a long time since I last visited the EAW forums. I've been flying EAW since 1998. Still have the original Microprose CD. I've been enjoying v1.28E for awhile now. Great piece of work, one, two, three and it's all there. I've even managed to get it to run in CrossFireX, 1920X1080, 120hz, using WinXp Pro. It will remain one of the best all time air combat sims. It's really says a lot about a sim that still has so many folks dedicated to it's continued existence and improvements. Now, to the reason for my return visit. I've managed to find just about all the built-in features, with one notable exception. Really would like to go back to using the yellow/orange/red tracers that seems to me was used in the original stock version of the sim. Can not find where to make such a change, if it is at all possible. Any kind of helpful hints would be greatly appreciated.
Check Six,
Mustanger

Inline advert (2nd and 3rd post)

#4231745 - 02/21/16 08:07 AM Re: tracer options [Re: mustanger]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
Your post made me check the source code, and I have found something which is shortly to be tested

Code:
	FILE* fp = fopen( "BulletColor.mpf", "r"); 
	
	
	if (fp == NULL) 
	{
		if (fd = Copen("BulletColor.mpf", O_RDONLY | O_BINARY) != -1)
		{ 
			fp = fopen(RealFilename, "r");
		}		
	} 
	if (fp != NULL) 
	{ 
		fscanf(fp, "%d\n", &BulletColor30cal); 
		fscanf(fp, "%d\n", &BulletColor50cal); 
		fscanf(fp, "%d\n", &BulletColor20mm);
		fscanf(fp, "%d\n", &BulletColor30mm);
		fclose(fp);
	}
	else 
	{
		BulletColor30cal = 0x0b6;
		BulletColor50cal = 0x0b4;
		BulletColor20mm = 0x0b2;
		BulletColor30mm = 0x0b0;
	}



This is Ralf's code, and it means that the various colours can be set if there is a "BulletColor.mpf" (a four line text file) in the root folder- otherwise default values are used.

I was completely unaware of this until now, and I am about to test it in EAW140.
On a backup drive I have files from way back but there is no "bulletcolor.mpf" file anywhere.
If it works in 140 I will check 1.28E smile

wink

I will report back


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4231750 - 02/21/16 08:37 AM Re: tracer options [Re: mustanger]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
Working in 140 smile



"bulletcolor.mpf" values used:
1
3
9
11

1=red
3=cyan
4=yellow
5=green
7=orange
9=bright yellow
11=dark orange


Trying in 1.28E smile

It is not in 1.28e, but it is in 1.29 smile



Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4231861 - 02/21/16 04:54 PM Re: tracer options [Re: mustanger]  
Joined: May 2011
Posts: 19
mustanger Offline
Junior Member
mustanger  Offline
Junior Member

Joined: May 2011
Posts: 19
fl,usa
Many thanks Mr. Jelly,

Now, the questions are:
1) Where can I download v1.29 and/or v1.40
2) Can either one by "added on" to v1.28E or will it require starting "from scratch"?
I await your reply.

Beware the Hun in the Sun,
Mustanger

#4231872 - 02/21/16 05:10 PM Re: tracer options [Re: mustanger]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
Check the "New 140 installation with Glide3 compatible exes" thread.
The link is at the start of the first post, but read the thread in its entirety as there were changes as the process evolved smile

This is not an addon, but a clean install without any need for a previous version of EAW smile


Last edited by MrJelly; 02/21/16 05:11 PM.

Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4232038 - 02/22/16 04:11 AM Re: tracer options [Re: mustanger]  
Joined: May 2011
Posts: 19
mustanger Offline
Junior Member
mustanger  Offline
Junior Member

Joined: May 2011
Posts: 19
fl,usa
Thanks,once again, Mr. Jelly,

If v1.40 is anything like v1.28, this is going to be Great.
Hope I can count on your help, should I encounter any difficulties.

Regardeth thou thy airspeed, lest the ground riseth up to smite thy,
Mustanger

#4232081 - 02/22/16 09:54 AM Re: tracer options [Re: mustanger]  
Joined: Aug 2000
Posts: 7,427
Moggy Online content
EAW Old Timer and Bodger
Moggy  Online Content
EAW Old Timer and Bodger
Hotshot

Joined: Aug 2000
Posts: 7,427
A slit trench at RAF Gravesend
I wonder what else of Knegel's innovations lies buried in the code smile

#4232086 - 02/22/16 10:31 AM Re: tracer options [Re: mustanger]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
I can find no reference to this in posts at the Gen wink


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4232106 - 02/22/16 12:22 PM Re: tracer options [Re: mustanger]  
Joined: Aug 2000
Posts: 7,427
Moggy Online content
EAW Old Timer and Bodger
Moggy  Online Content
EAW Old Timer and Bodger
Hotshot

Joined: Aug 2000
Posts: 7,427
A slit trench at RAF Gravesend
I wish he was still around to tell. Lord knows what's still in there

#4232460 - 02/23/16 04:30 AM Re: tracer options [Re: mustanger]  
Joined: May 2011
Posts: 19
mustanger Offline
Junior Member
mustanger  Offline
Junior Member

Joined: May 2011
Posts: 19
fl,usa
Gentlemen,

Back again. If I thought v1.28E was easy to install, v1.40 was a snap. All the possibilities are enough to boggle the mind.
However, I am not having any luck locating the .mpf file for BulletColor. Did a windows search of the entire 140Module and still no luck. Obviously I'm missing something somewhere. I don't suppose, that once located, it could be easily incorporated in my pre-existing v1.28E? Therefore, a little help, please.

Thank God for the Few,
Mustanger

#4232491 - 02/23/16 07:43 AM Re: tracer options [Re: mustanger]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
From the other thread:
Quote:
There is now a "Ray's New ETO" download in the folder with a couple of additions.
Running it will install Ray's stuff and replace the two default "TextMap.str" files in "savedata" with the shorter and better ones. It will also put a default "bulletcolor.mpf" in "savedata".


1.28e does not have the code to use "BulletColor.mpf", so it cannot be done.
My best guess is that Ralf added the code to 1.28f, and I know for sure that it is in 1.29.

The screenshots I made were with a 140 exe using the default values from the "bulletcolor.mpf" in "savedata" smile






Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4233179 - 02/24/16 11:21 PM Re: tracer options [Re: mustanger]  
Joined: Aug 2007
Posts: 1,261
AngleOff Offline
Member
AngleOff  Offline
Member

Joined: Aug 2007
Posts: 1,261
PA., USA
You can put the bulletcolor.mpf file in the savedata folder yourself.
Just open a new txt file (notepad?) and type in

1
3
7
9
11

Then save as bulletcolor.mpf and place in the savedata folder.
(I made mine 1,7,9,11. 3 is definitely green. Dont like the green.)

AO

#4233288 - 02/25/16 08:31 AM Re: tracer options [Re: mustanger]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
AO there are only four values wink

The default ones are:
1
3
9
11

Comments by the author (Ralf?) in the source code indicate:
1=red
3=cyan
4=yellow
5=green
7=orange
9=bright yellow
11=dark orange

My guess (as a reply posted in his new thread) is that mustanger did not install "Ray's new ETO".
You can put a "bulletcolor.mpf" in a theatre folder and have different values in different theatres.
The one in "savedata" is used when none is available elsewhere.

"Savedata" is the source of last resort in the no CDF version. It is the equivalent of the old CDFs, but takes up much less space, and it is editable. That is why the development of a CDF version has been discontinued smile

Users can experiment by putting a "bulletcolor.mpf" in the root folder and making all four values the same to check the colour. Dusk bomber intercept missions are a good test:)


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4233313 - 02/25/16 10:35 AM Re: tracer options [Re: mustanger]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
I just did a single colour test

0 black!
1 red
2 blue
3 green
4 yellow
5 cyan
6 magenta1
7 orange
8 magenta2
9 silver
10 difficult to pick- possibly grey
11 orangy red

A reminder that the order is
30 cal
20 cal
20 mm cannon
30 mm cannon

Not many aircraft have 30 mm cannon, but the colour seems to apply to armed MGOs and AAA also smile


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0