project-navigation
Personal tools

Author Topic: ufoai coding...  (Read 4721 times)

Offline Dr. Doom

  • Rookie
  • ***
  • Posts: 24
    • View Profile
ufoai coding...
« on: August 29, 2011, 06:34:10 pm »
is this right forum to ask about it??
Code: [Select]
nation europe
{
name "_The Greater European Union"
color "0 128 255 1"
pos "-7 49"
funding  125000
happiness 0.5
soldiers 3
scientists 3
}

this one is missing
Code: [Select]
pos "-100 33"
I just wondering if this nation do have pos or not ??

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

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: ufoai coding...
« Reply #1 on: August 29, 2011, 07:01:18 pm »
is this right forum to ask about it??
Code: [Select]
nation europe
{
name "_The Greater European Union"
color "0 128 255 1"
pos "-7 49"
funding  125000
happiness 0.5
soldiers 3
scientists 3
}

this one is missing
Code: [Select]
pos "-100 33"
I just wondering if this nation do have pos or not ??

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

It's right in your post:
Code: [Select]
pos "-7 49"

-geever

Offline Dr. Doom

  • Rookie
  • ***
  • Posts: 24
    • View Profile
Re: ufoai coding...
« Reply #2 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".

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: ufoai coding...
« Reply #3 on: August 29, 2011, 10:12:30 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".

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: [Select]
//      pos
//              Position of the city on earth "longitude, latitude"
//              East and South have negative values.

-geever

Offline Dr. Doom

  • Rookie
  • ***
  • Posts: 24
    • View Profile
Re: ufoai coding...
« Reply #4 on: August 30, 2011, 02:24:24 am »
I only change the funding nothing else.
Code: [Select]
//=================================================
// 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"
}
Look at nation europe!

Do you find something missing?

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

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: ufoai coding...
« Reply #5 on: August 30, 2011, 04:20:46 am »
Errrr.... but it's right there! Third line in the europe block, just above of the funding line which you edited!!!

You need to pay closer attention, sorry if I sound rude, but you just edited the line below europe's pos property (and posted it here twice already) and didn't even notice it, despite geever already pointed you to it, so may I suggest you have a good rest and carefully read the file again?

Offline Dr. Doom

  • Rookie
  • ***
  • Posts: 24
    • View Profile
Re: ufoai coding...
« Reply #6 on: August 30, 2011, 10:46:53 am »
no, I will apologize that I did not see it there. Thank you for opening my eyes:)