On a good idea from Widowmaker, I externalised four variables to the event trigger files in the last minutes of SP3 coding to be able to change following parameters for each campaign:
#BULLSEYE_X
X-position of relative map point to calculate best new Bullseye position (closest FLOT objective to this point will become new bullseye position)
#BULLSEYE_Y
Y-position of relative map point to calculate best new Bullseye position (closest FLOT objective to this point will become new bullseye position)
#FLOT_SORTDIRECTION
0: Sort FLOT by X-coordinates (default)
1: Sort FLOT by Y-coordinates
#FLOT_DRAWDISTANCE
maximum distance between two FLOT objects (in km) to draw a line
These parameters must be placed in the first setup part between #TOTAL_EVENTS and #ENDINIT.
Defaults are:
#BULLSEYE_X 512
#BULLSEYE_Y 512 (center of Korea, which is original value)
#FLOT_SORTDIRECTION 0
#FLOT_DRAWDISTANCE 50
Later,
Schumi
4 new campaign-specific variables
Moderators: Lone Wolf, Snake Man
-
- LeadPursuit
- Posts: 51
- Joined: 2000-09-10 22:01:01
4 new campaign-specific variables
Manfred "Schumi" Nelles


-
- 2nd Lt
- Posts: 74
- Joined: 2001-01-02 23:01:01
- Location: Athens, Greece
Re: 4 new campaign-specific variables
Hey, a customised bullseye position! Great, something long since asked for. Good job Schumi. 

Costas "Quicksilver" Stoupakis
-
- Lt. General
- Posts: 1002
- Joined: 2000-10-30 23:01:01
- Gaming Interests: Falcon 4.0
- Editing Interests: Terrains
- Location: The Netherlands
Re: 4 new campaign-specific variables
Very nice indeed.
oh and my only input on this one was to put them in the triggerfiles, nothing smart.. lol
Tnx again for fixing the sun,moon,explosion coruptions (this one can't be stressed to much)
Widmak
oh and my only input on this one was to put them in the triggerfiles, nothing smart.. lol

Tnx again for fixing the sun,moon,explosion coruptions (this one can't be stressed to much)
Widmak
Widmak
-
- LeadPursuit
- Posts: 51
- Joined: 2000-09-10 22:01:01
Re: 4 new campaign-specific variables
Well - without your bright idea at that day it would only be one setting for all three campaigns - so it was quite something bright as I didn't got that idea myself LOLquote:Originally posted by Widowmaker:
oh and my only input on this one was to put them in the triggerfiles, nothing smart.. lol
![]()
np..quote:Tnx again for fixing the sun,moon,explosion coruptions (this one can't be stressed to much)
Later,
Schumi
Manfred "Schumi" Nelles

