Base Generator
-
I wrote this tool for the HHC-Server, but I think we aren’t the only server/mod-team which could need this.
Description:
BaseGen generates a base of the same kind in every system.
Each base has it’s own base-files, system- and universe-entrys.
Its highly customizable, all text written into the files can be changed.
Could be used to generate bases for a ship-carrier-system (docking on player-ships).Features:
-
Create a base in every system
-
Create Market-Entrys
-
Creates FLMM-Script and .flmod-archive
-
Parse universe.ini (to get a list of all systems)
-
More in further versions!
Additional Info:
Programing language: C#.NET
Used IDE: SharpDevelop 4.0.1
Required Framework: .NET 2.0
License: GPL (OpenSource)Have fun with your bases!
-
-
Great
but it generate mobile_base and not mobile_proxy_baseso when docking on a player, kicked then i come back when i have been kicked, if i modify the script with mobile_proxy_base (replace all function in the flmmscript) then InGame, i type /d, it say “dicking” then nothing happened, i beam me up in li01_01_mobile_proxy_base with the .beam command, then i am docked at the mobile base.
So don’t know why it oesn’t dock me on players o_O
but it make the job very easy to make the moble base in all the systeme (conventional system, modded system not created for the momment)
god job, keep it on
-
Great
thanks
but it generate mobile_base and not mobile_proxy_base
You can edit nearly everything in the schema-folder! You don’t need to use some replace-all function! See ReadMe.txt
So don’t know why it oesn’t dock me on players o_O
Sorry… I can’t offer support for the docking. I have never used it
modded system not created for the momment
You have to set your universe.ini in config.txt
-
OK i have looking the readme, my english is not perfect so i dont understand all the document, but i have found what you mean with the schema file
Powerfull tool to build all the system proxy bases in only 1 minute
Great tool
(i have the docking working now just a syntax error in my basenaming )Thanks for this tool
-
Glad you like it.
Have you got your universe.ini working?
Why 1 minute? The generation-progress takes > 2s on my PC -
Yeah universe.ini working
Why 1 minute ? it takes 2 secondes on my computer too, but it take some extra secondes to get / copy / paste the full path in the config file and enter the custom config in the file -
Awesome tool M1C!!
Ezekiel wrote:
So don’t know why it oesn’t dock me on players o_OIt should be something with the FLHook. Did you change something in it?
-
No, nothing change, i use the 1.6.7 test 19 (flakhook version)
But with my firts tests, base have been named for exemple li01_mobile_base and not li01_mobile_proxy_baseso i will make more test this night
-
The right name is “$sys$_mobile_proxy_base”?
Okay I’ll change this in the next versionIn the next version it will be possible to add text to more files (eg Mbases.ini).
This will be as customizable as the existing features (you can choose the files and the text and…) -
this is my config file :
I’m a comment
autoclose = true # true if the console should automatically close
dist_dir = dist # output dir
schema_dir = schema
systems_file = C:\Program Files\Microsoft Games\Freelancer\DATA\UNIVERSE\universe.ini # contains list of all systems, see ReadMe.txt
ignore_sys = FP7_system # ignore this systems, seperated by “,”
automod = true # generate a flmod-file?
deletefiles = false # delete the raw-files after creating .flmod-file?
modname = Mobile Docking # the mod’s name in the script
scriptname = script.xml
base_name = $sys$_mobile_proxy # $sys$ will be replaced, see ReadMe.txt
file_sep = ~~~ # Seperator if the system-file is in plain-text (see ReadMe.txt)With this value system-names (and file-names) cannot contain ~~~
after that i need to open the xml file (thescript) and do a replace all of : “_mobile_proxy ids_name” by “_mobile_proxy_base ids_name”
in order to make it functionnal the object nickname seem to not have the _base suffix (i think it can be done in the source code) -
The object in space is named Li01_mobile and the thing where you are docked at is named Li01_mobile_base, this is FL-standard.
Edit: if you don’t like that, all this is changeable in the schema-directory…
after that i need to open the xml file (thescript) and do a replace all of : “_mobile_proxy ids_name” by “_mobile_proxy_base ids_name”
I don’t understand this one… why ids_name?
-
i must add the start of the next string in order to not replace the “li01_mobile_proxy_base” by “li01_mobile_proxy_base_base” because
file = Universe\Systems\Li01\Bases\Li01_mobile_proxy_base.ini is already correctly formatted exemple :just after you soft you have :
nickname = St01_mobile_proxy
ids_name = 0
……
[Base]
nickname = St01_mobile_proxy_base
system = St01
strid_name = 0
file = Universe\Systems\St01\Bases\St01_mobile_proxy_base.iniand i think i must have
nickname = St01_mobile_proxy_base
ids_name = 0
……
[Base]
nickname = St01_mobile_proxy_base
system = St01
strid_name = 0
file = Universe\Systems\St01\Bases\St01_mobile_proxy_base.iniand for the schema, i must look at it and tryong how it work (not in your soft but in FL, cause i am not familliar with modding this parts, actualy my domain is 3d modeling and texturing only, i just trying to learn more :))
So maybe i am totally wrong, thats wwhy i ask for more informations i don’t know all the FL standart
-
It tested the standard configuration before uploading,
it worked and didn’t generate any errors in fl-spew.
So I think mine is rightbtw: 3D modeling with what program?
-
depending my mood : milkshape, 3dsmax, blender etc…
-
Ezekiel wrote:
depending my mood : milkshape, 3dsmax, blender etc…IMO 3Ds Max is the best. BTW are you working on some mod already?
Sorry for off-topic. -
Yep, i work on the Solarius mod and the sirius hegemonia mod (both as part of te modding team, for SH i made some small task like redoing surs, retextures existing ships/stations etc… and on Solarius : hard working in correcting bugs, redoing most of the models and exturing them and making new systems… but it’s just a fresh starting mod, and actually we use some existing stuff to let me some time to do our own stuffes :))
-
Reupload please for lazy people
-
hook an old sodder such as my self up with a new link