Development > Newbie Coding

ufoai coding...

(1/2) > >>

Dr. Doom:
is this right forum to ask about it??

--- Code: ---nation europe
{
name "_The Greater European Union"
color "0 128 255 1"
pos "-7 49"
funding  125000
happiness 0.5
soldiers 3
scientists 3
}
--- End code ---

this one is missing
--- Code: ---pos "-100 33"
--- End code ---

I just wondering if this nation do have pos or not ??

whay am asking, I see other nation do have pos.

geever:

--- Quote from: Dr. Doom on August 29, 2011, 06:34:10 pm ---is this right forum to ask about it??

--- Code: ---nation europe
{
name "_The Greater European Union"
color "0 128 255 1"
pos "-7 49"
funding  125000
happiness 0.5
soldiers 3
scientists 3
}
--- End code ---

this one is missing
--- Code: ---pos "-100 33"
--- End code ---

I just wondering if this nation do have pos or not ??

whay am asking, I see other nation do have pos.

--- End quote ---

It's right in your post:

--- Code: --- pos "-7 49"

--- End code ---

-geever

Dr. Doom:
no, that last only one example.
it should be "pos" if it is to have what should it be?
as it is now it has no "pos".

geever:

--- Quote from: Dr. Doom on August 29, 2011, 09:27:03 pm ---no, that last only one example.
it should be "pos" if it is to have what should it be?
as it is now it has no "pos".

--- End quote ---

Please try asking... better. Maybe it is a language problem but, I'm not sure what you wanna know.

pos values are latitude/longitude pairs. Snippet from cities.ufo:

--- Code: ---//      pos
//              Position of the city on earth "longitude, latitude"
//              East and South have negative values.

--- End code ---

-geever

Dr. Doom:
I only change the funding nothing else.

--- Code: ---//=================================================
// NATIONS - A list of nations funding the Phalanx project.
//=================================================
// Description
//
// funding (credits)
// Initial funding per month of this faction.
// color
// Defines the color used to seperate the nations in the geoscape (internally)
// soldiers,scientists (number of people)
// The number of people (the best of the best ;)) you can hire (additionally) from this nation each month.
//=================================================
// TODO: Logging this data in a seperate list so a statistic can be calculated.
//=================================================


// TODO: tweak all parameters realistically, according to the wiki descriptions

// and soldiers/scientists/etc. from 1 to 5

// NOTE: If you rename a nation, also rename the symbol in base/pics/nations

// Current max total funding: 600K credits/month

// I change max total funding from 600k credits/month to 900M/month by Dr. Doom
// Am using notepad++ v5.8.6 but I still using codeblocks to compile this file. by Dr. Doom


nation latin
{
name "_The Revolutionary Countries"
color "0 255 128 1"
funding 9000000     // 90000
happiness 0.5
soldiers 4
scientists 1
pos "60 -13"
}

nation states
{
name "_United America"
color "0 128 0 1"
funding 9000000        //130000
happiness 0.5
soldiers 4
scientists 2
pos "103 48"
}

nation europe
{
name "_The Greater European Union"
color "0 128 255 1"
pos "-7 49"
funding 9000000           //125000
happiness 0.5
soldiers 3
scientists 3
}

nation asia
{
name "_The Asian Republic"
color "128 128 0 1"
funding 9000000           //180000
happiness 0.5
soldiers 5
scientists 1
pos "-100 33"
}

nation middle
{
name "_The Middle-Eastern Alliance"
color "255 255 0 1"
funding 9000000       //66000
happiness 0.5
soldiers 1
scientists 3
pos "-46 26"
}

nation africa
{
name "_New Africa"
color "255 128 64 1"
funding 9000000     //105000
happiness 0.5
soldiers 5
scientists 1
pos "-20 5"
}

nation russia
{
name "_Russia"
color "128 0 0 1"
funding 9000000    //90000
happiness 0.5
soldiers 5
scientists 5
pos "-80 63"
}

nation oceania
{
name "_The Commonwealth of Oceania"
color "128 0 128 1"
funding 9000000    //120000
happiness 0.5
soldiers 4
scientists 2
pos "-130 -25"
}

--- End code ---
Look at nation europe!

Do you find something missing?

I find one.....what about pos?
or....

Navigation

[0] Message Index

[#] Next page

Go to full version