StellarForum
May 22, 2012, 04:23:36 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Stellar Frontier has moved to the new forum and site at stellarfrontier.com!
Please make a new account there in preparation for SF 2.0 and to chat on the boards!
 
   Home   Help Search Groups Login Register  
Pages: [1]
  Send this topic  |  Print  
Author Topic: The Mod I build  (Read 1461 times)
Boar
Registered Member
*
Posts: 16


Email
« on: December 09, 2008, 07:10:08 PM »

The mod I am building is really getting almost done over all it is really crappy but I got a few questions about it. Game dat/scn file
Quote from: dat/scn
game data {
#INCLUDE sf_data_game.sec
*  name   value
*  ------------------
   players   128
   robots    64
   powerup_action               value+10%
   AI_level                     medium
   robot_population_total        32
   robot_planet_total                32   
robot_population_rate         1
ropot_planet_rate                 1
   max_acc                      50
   light_speed                  250
   ship_g                       50
   planet_g                     50
   debris_count                 4
   extra_colonies               4
   defection_rate               10
   offensive_factor             50
   loyalty_cycle                100
   powerup_action               value+10%
   laser_defense                off
   salvage_right_pct            80
   allow_surrender              no
   name      "Boar's Glaxy"
   desc      "This mod integrates all races to have the Juggernaut class, Frigate Class, and Heavy crusier class of ships the Drengins and Arceans have custom ship graphics. The Juggernaut has a all new load out making it stronger Dreadnought "
}


ship bitmaps {
#INCLUDE Boar_bmp_ships.sec([race]=Arcean,  [nr]=0, [r]=a)
#INCLUDE Boar_bmp_ships.sec([race]=Terran,  [nr]=1, [r]=t)
#INCLUDE Boar_bmp_ships.sec([race]=Drengin, [nr]=2, [r]=d)
#INCLUDE Boar_bmp_ships.sec([race]=Pirate,  [nr]=3, [r]=p)
}

missile bitmaps {
#INCLUDE sf_bmp_missiles.sec
}

explosion bitmaps {
#INCLUDE sf_bmp_explosions.sec
}

planet bitmaps {
#INCLUDE sf_bmp_planets.sec
#INCLUDE sf_bmp_planets_Arceus.sec
#INCLUDE sf_bmp_planets_TCeti.sec
#INCLUDE sf_bmp_planets_Sirius.sec
#INCLUDE sf_bmp_planets_EIndi.sec
#INCLUDE sf_bmp_planets_ACentauri.sec
#INCLUDE sf_bmp_planets_Drengus.sec
#INCLUDE smudge_bmp_planets_smudge.sec
}

colony bitmaps {
#INCLUDE sf_bmp_colonies.sec( [race]=Arcean,  [nr]=0, [r]=a )
#INCLUDE sf_bmp_colonies.sec( [race]=Terran,  [nr]=1, [r]=t )
#INCLUDE sf_bmp_colonies.sec( [race]=Drengin, [nr]=2, [r]=d )
}

transition bitmaps {
#INCLUDE sf_bmp_trans.sec
}

miscellaneous bitmaps {
#INCLUDE sf_bmp_misc.sec
}

debris bitmaps {
#INCLUDE sf_bmp_debris.sec( [race]=Arcean,  [r]=a )
#INCLUDE sf_bmp_debris.sec( [race]=Terran,  [r]=t )
#INCLUDE sf_bmp_debris.sec( [race]=Drengin, [r]=d )
}

sound data {
#INCLUDE sf_data_sounds.sec
}

sound events {
#INCLUDE sf_event_sounds.sec
}

planet data {
#INCLUDE Boar_data_planets.sec
}

robot data {
#INCLUDE Boar_data_robots.sec
}

rank data {
#INCLUDE sf_data_ranks.sec
}

race data {
#INCLUDE sf_data_racesI.sec
}

colony designs {
#INCLUDE sf_design_colonies.sec( [race]=Arcean,  [nr]=0, [mr]=0 )
#INCLUDE sf_design_colonies.sec( [race]=Terran,  [nr]=1, [mr]=1 )
#INCLUDE sf_design_colonies.sec( [race]=Drengin, [nr]=2, [mr]=2 )
#INCLUDE sf_design_colonies.sec( [race]=Pirate,  [nr]=3, [mr]=1 )
}

ship designs {
#INCLUDE Boar_design_ships.sec( [race]=Arcean,  [nr]=0, [mr]=0 )
#INCLUDE Boar_design_ships.sec( [race]=Terran,  [nr]=1, [mr]=1 )
#INCLUDE Boar_design_ships.sec( [race]=Drengin, [nr]=2, [mr]=2 )
#INCLUDE Boar_design_ships.sec( [race]=Pirate,  [nr]=3, [mr]=1 )
}

missile designs {
#INCLUDE sf_design_debris.sec
#INCLUDE sf_design_missiles.sec([race]=Arcean,  [nr]=0, [name1]=Blaster,    [name2]=Stinger, smart, bomb, heat, ram, grenade, dart, flame, cannon, ImplodeMine, DOCUMENT, SHOW)
#INCLUDE sf_design_missiles.sec([race]=Terran,  [nr]=1, [name1]=MassDriver, [name2]=PlasmaTorp, smart, bomb, heat, ram, grenade, dart, flame, cannon, ImplodeMine, SHOW)
#INCLUDE sf_design_missiles.sec([race]=Drengin, [nr]=2, [name1]=PhotonGun,  [name2]=Disruptor, smart, bomb, heat, ram, grenade, dart, flame, cannon, ImplodeMine, SHOW)
}

module data {
#INCLUDE sf_data_modules.sec( [race]=Arcean,  [nr]=0, smart, bomb, heat, ram, grenade, dart, flame, cannon, ImplodeMine, DOCUMENT, SHOW )
#INCLUDE sf_data_modules.sec( [race]=Terran,  [nr]=1, smart, bomb, heat, ram, grenade, dart, flame, cannon, ImplodeMine, SHOW )
#INCLUDE sf_data_modules.sec( [race]=Drengin, [nr]=2, smart, bomb, heat, ram, grenade, dart, flame, cannon, ImplodeMine, SHOW )
}


colony data {
*      race        population    design                location   
*--------------------------------------------------------------   
     Terran        3000000000     Major                Earth   
     Terran         250000000   Outpost                Luna
     Terran        3000000000   Major                  Mars
     Terran         250000000     Minor                 Deimos
      Terran        250000000      Minor                 Phobos
     Terran         250000000       Major                Callisto
      Terran        250000000        Minor                Europa
     Terran          250000000        Minor               Ganymede
      Terran         250000000         Outpost            Io
     Drengin       4000000000     Major                Drengi
     Drengin       4000000000     Major                DrengusI
     Drengin       4000000000     Major                DrengusIII
     Drengin       2000000000     Minor                DrengusIV
     Drengin       1000000000     Minor                DrengusV
     Drengin      1000000000     Minor                DrengusVa
     Drengin        100000000     Outpost              DrengusVIa
     Drengin        100000000     Outpost              DrengusVIb
     Drengin        100000000     Outpost              DrengusVIc
     Pirate          1000000000     Major                SiriusAI
    Pirate           1000000000     Major                SiriusAII
    Pirate             500000000     Minor                SiriusAIIa
    Pirate           3000000000     Major                 SiriusAIII
    Pirate             500000000     Minor                 SiriusAIIIa
    Pirate             500000000     Minor                  SiriusAIIIb
    Pirate             500000000     Minor                  SiriusAIIIc
     Arcean        4000000000     Major                Arcea
     Arcean        4000000000     Major                ArceusI
     Arcean        4000000000     Major                ArceusIII
     Arcean        2000000000     Minor                ArceusIV
     Arcean        1000000000     Minor                ArceusV
     Arcean        1000000000     Minor                ArceusVa
     Arcean         100000000     Outpost              ArceusVIa
     Arcean         100000000     Outpost              ArceusVIb
     Arcean         100000000     Outpost              ArceusVIc   
}

ship data {
*                 
* add ship initialization data here.  The column specifications are the same
* as the colony data section, except for the player column, which can specify
* either a name or index.
*
*      player      race        population    design          location   
*--------------------------------------------------------------------
      William     Terran            1            Starbase       Luna+(100,100)
     Hannibal    Drengin         1          Starbase     Drengi+(100,100)
     Arcus        Arcean             1         Starbase    Arcea+(100,100)
    Edmund      Pirate              1          Starbase      SiriusAII+(100,100)   
    Duke          Pirate              1          Starbase      SiriusAII+(150,100)
}

Now I am have a few issues with it over all, one graphic does not show up but that is a minor issues (bm-a-jn wont load for the Arcean Juggernaut but not important). The question that I want to ask is how do I get more AI ships in the game and also how do i get all the SB I add in to use unique names instead of the standard Arceus prime name?
Report to moderator   Logged
Sandtrooper
Vice CinC of TRIBE
Administrator
Expert Member
*****
Posts: 504



WWW Email
« Reply #1 on: December 09, 2008, 08:37:53 PM »

Now I am have a few issues with it over all, one graphic does not show up but that is a minor issues (bm-a-jn wont load for the Arcean Juggernaut but not important). The question that I want to ask is how do I get more AI ships in the game and also how do i get all the SB I add in to use unique names instead of the standard Arceus prime name?

If you read how the Sirius mod is built, there are two extra lines at the #INCLUDE Robot data:

Code:
robot data {
#INCLUDE si_data_robots.sec
  William    William    15     Terran  1006  Normandy     0  0
  Hannibal   Hannibal   15     Drengin 2006  Cannae       0  0
}

(Notice how there are two manually added robots...they do not exist in the main robot file)
You can add new bots in the main file or write new ones in the SCN file. You need to think up botnames if you want to go past the stock 60 bots.

This line that you have at the very end does only one thing:
Code:
ship data {
*                 
* add ship initialization data here.  The column specifications are the same
* as the colony data section, except for the player column, which can specify
* either a name or index.
*
*      player      race        population    design          location   
*--------------------------------------------------------------------
      William     Terran            1            Starbase       Luna+(100,100)
     Hannibal    Drengin         1          Starbase     Drengi+(100,100)
     Arcus        Arcean             1         Starbase    Arcea+(100,100)
    Edmund      Pirate              1          Starbase      SiriusAII+(100,100)   
    Duke          Pirate              1          Starbase      SiriusAII+(150,100)
}
(Do these bots exist in the main robot file or did you manually add them in the SCN file?)

That code there only places the bots on a different planet, and has an unintentional side effect where they rarely engage targets if attacked.

As for the Arcean Juggernaught not showing up, well thats SF's fault, it sometimes wants to NOT load bitmaps.
Report to moderator   Logged



Fleet Admiral Sandtrooper
2nd in Command of TRIBE

TRIBE-SD)    オークエボリューション
(Oak Evolution)
Staker
Moderator
Veteran Member
****
Posts: 352



WWW Email
« Reply #2 on: December 09, 2008, 09:30:44 PM »


As for the Arcean Juggernaught not showing up, well thats SF's fault, it sometimes wants to NOT load bitmaps.

That all depends on the code.. It may have to be carefully looked at again... Like really Deep Search for the error... Could be a space or even the ship graphic itself. Check everything... and the JN for Arcean has to be the same size as the other JN for other races... Smiley
Report to moderator   Logged

<<GB-C>> King of Death
I am Shiva the King of Death
Boar
Registered Member
*
Posts: 16


Email
« Reply #3 on: December 09, 2008, 11:12:12 PM »

Those bots that I added in are not in the data file, but to add in more bots I can add in more right? The Juggernaught issues is really kind of funny Tongue the engine one does fine I will keep fiddling with it.
Report to moderator   Logged
Boar
Registered Member
*
Posts: 16


Email
« Reply #4 on: December 10, 2008, 05:00:33 PM »

Also I was wondering how to add in AIs that use certian ships, and if I do add them in to the robot data then do i need to add them in to the sever scn/dat
Report to moderator   Logged
Staker
Moderator
Veteran Member
****
Posts: 352



WWW Email
« Reply #5 on: December 11, 2008, 05:47:20 AM »

  William    William    15     Terran  1006  Normandy     0  0
  Hannibal   Hannibal   15     Drengin 2006  Cannae       0  0

The 2006 area... Ok... 2 is the race... 006 is the ship type that you can find in the sf_design_ships under

Code:
  [race]   Starbase      0      14    .10    Starbase[mr]    3 sexplode [nr]006  [nr] 25000    12 ([mr]1006,[mr]5007,[mr]2004,[mr]7002,[mr]9301*6*0*24,[mr]9301*18*0*0,[mr]9301*30*0*12,[mr]4003*0*0*0*-18*18,[mr]4003*12*0*12*18*36,[mr]4011*24*0*24*0*35,[mr]4503*0*1*0*0*35,[mr]0001)

3 sexplode [nr]006 is the ship number... Notice how both are the same and both are Starbases in game.
Report to moderator   Logged

<<GB-C>> King of Death
I am Shiva the King of Death
Boar
Registered Member
*
Posts: 16


Email
« Reply #6 on: December 11, 2008, 10:20:09 PM »

Ah ok, thanks alot
Report to moderator   Logged
Boar
Registered Member
*
Posts: 16


Email
« Reply #7 on: December 22, 2008, 12:25:55 AM »

Sorry for the long delayed new bug report Tongue but it seems now I get 3 starbases instead of two it spawns a nameless starbase 1 that is standard in the bots and the one I added in.
Report to moderator   Logged
Staker
Moderator
Veteran Member
****
Posts: 352



WWW Email
« Reply #8 on: December 22, 2008, 03:32:21 AM »

Explain.
Report to moderator   Logged

<<GB-C>> King of Death
I am Shiva the King of Death
AdmiralTigerclaw
Sound Developer
Expert Member
****
Posts: 734


Naval Commander: Forum Sound Admin


« Reply #9 on: December 24, 2008, 02:42:10 AM »

Or better yet:  "Pics, or it never happened."
Report to moderator   Logged

GCFA Naval Commander
Veteran Player - Supreme Spaceforce Agressor
Owner: Samurai Penguin Studios
Listen on Last.FM
Boar
Registered Member
*
Posts: 16


Email
« Reply #10 on: December 27, 2008, 09:50:20 PM »

Good point but i think I fixed it kind of, meh i am losing heart I shall work on  it erratically until i give up and lose it by accident.
Report to moderator   Logged
DarkSun
Administrator
Expert Member
*****
Posts: 551


The Miracle Worker!


WWW
« Reply #11 on: December 27, 2008, 10:48:05 PM »

Press on! Energy and persistence conquer all things; without work and toil no work is made perfect. Smiley
Report to moderator   Logged

Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!