4 new campaign-specific variables

Terrain / Theater editing

Moderators: Lone Wolf, Snake Man

Schumi
LeadPursuit
Posts: 51
Joined: 2000-09-10 22:01:01

4 new campaign-specific variables

Post by Schumi »

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
Manfred "Schumi" Nelles
Image
Quicksilver
2nd Lt
Posts: 74
Joined: 2001-01-02 23:01:01
Location: Athens, Greece

Re: 4 new campaign-specific variables

Post by Quicksilver »

Hey, a customised bullseye position! Great, something long since asked for. Good job Schumi. :cool:
Costas "Quicksilver" Stoupakis
Widowmaker
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

Post by Widowmaker »

Very nice indeed.

oh and my only input on this one was to put them in the triggerfiles, nothing smart.. lol
:D

Tnx again for fixing the sun,moon,explosion coruptions (this one can't be stressed to much)

Widmak
Widmak
Schumi
LeadPursuit
Posts: 51
Joined: 2000-09-10 22:01:01

Re: 4 new campaign-specific variables

Post by Schumi »

quote:Originally posted by Widowmaker:
oh and my only input on this one was to put them in the triggerfiles, nothing smart.. lol
:D
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 LOL
quote:Tnx again for fixing the sun,moon,explosion coruptions (this one can't be stressed to much)
np..

Later,
Schumi
Manfred "Schumi" Nelles
Image

Return to “Terrain / Theater”