Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
53 user(s) are online (32 user(s) are browsing Forum)

Members: 0
Guests: 53

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +25€

Current balance: -40€
(last updated 09/2020)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 85 users playing Freelancer on 42 servers.
September. 19, 2020
The Starport Forum Index > All Posts (Quarks)

Bottom Bottom   Previous Topic   Next Topic

(1) 2 3 4 ... 24 »


Re: "Preparing to-Freelancer, Alpha 1" and other bugs (help!)
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Could the duration attribute in Audio/voices_space_*.ini for the corresponding [Sound] block be too short? Just a guess, I only have the SDK lying around right now, so I can't really test.

Posted on: 2015/11/12 20:30
Top
Topic | Forum


Re: Ship creation trouble
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
in my opinion the easiest way of adding hardpoints is using the tool hardcmp after you exported the model as cmp file. Give it a try

Posted on: 2013/11/29 19:47
Top
Topic | Forum


Re: Adding ships into FL Vanillia
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Quote:

DragonRider wrote:
When I want to add a ship from an existing mod, what files do I need to copy and where do I need to put them?


You will need the following parts and files:

shiparch.ini
[ship], optionally multiple [CollisionGroup], if present directly below, and the referenced [simple] entrys
You will also need the referenced model (cmp), textures (mat) and collision box (sur) files.

Goods.ini
[Good] named "<yourshipnameabbrhere>_hull"
Also copy the referenced hud icon model file (3db).
[Package] named "<yourshipnameabbrhere>_package"
Depending on whether custom ones are used, you will also need the equipment stuff referenced in the package, usually a power and an engine, you will find those in the ..._equip.ini files, usually misc_equip.ini and engine_equip.ini some of this equipment stuff might also have/need a [Good] entry from one of the ..._Goods.ini files

I don't have Freelancer installed currently so I can't check whether that is all. I would suggest you try to create a working modified copy of a vanilla ship's entries first to get used to what stuff you need for a working ship.

edit:
Quote:

NovaII wrote:
try using something like Freelancer Explorer for this purpose.

Be careful with this tool, it likes to restructure your files and sometimes messes up, at least that is my experience. Create a backup of yout files before you use it, or do it by hand like it is done in the ship creating tutorial I linked before.

Posted on: 2013/11/1 15:48
Top
Topic | Forum


Re: Adding ships into FL Vanillia
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Hi DragonRider, and welcome to the starport!

Have a look here, that should cover your hardpoint related questions. If not, feel free to ask!
Need Help with First Time Editing: Ships and Weapons

About new ships: Are you more interested in the modeling side, or in the coding part of it? Maybe this helps:
drizzt4.0 ship creating tutorialv1.5 This tutorial already is a bit older, and by now there might be some better alternatives to the tools used. I am pretty sure there are newer exporters available, and instead of fl_ids you might want to try other tools like flDev. On top of that I suggest you don't edit the files directly in your Freelancer installation folder though, but make use of the mod manager tool instead.

Posted on: 2013/11/1 15:00
Top
Topic | Forum


Re: Need Help with First Time Editing: Ships and Weapons
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Regarding question 1:
I have no idea why it is that complicated, but feel free to experiment with other combinations . You du not have to add your new package to all the stations. Adding it to these you want it buyable on is enought.

Question 2:
To make a gun a turret, the only really important thing is on what kind of hardpoint it mounts. You can change the model, as all vanilla turrets strangely use the same one, but this is definatly not necessary!
A different name usually comes with it, too .
Another difference between vanilla turrents and their weapon aquivalent usually is the higher projectile speed, probably to make it easier to shoot at targets behind you.
LOD means Level Of Detail, the numbers in there define the distances between camera and model between which differently detailed 2d models are used.
I guess in your case the easiest way would be to give your freighter the ability to mount class 10 weapons on its turret hardpoints?

Question 3:
In Freelancer\EXE you can find several resource dll files which contain the names and descriptions. There are different programs to edit them, which work in different ways or offer different features - have a look for fled-ids, or flDev for example.
So if you just want to add a few things, you should be able to find free spaces inside the existing files, but you can also start a new file - there's an empty one available somewhere here, I think. The texts themselves are adressed by these numbers you have already seen - I think the best way would be to have a look at existing ones to see how formatting works. Sorry that I can't give you more in-depth help regarding this topic, but it's been a longer while since I last activly had to do with this game, and I don't have the files on this computer to test myself.
Have a look into the different tutorials around, there may not be one exactly for this topic, but it may be covered in system or ship creation. It has to be somewhere, as I learned it via tutorials myself

Posted on: 2013/8/5 15:52
Top
Topic | Forum


Re: Need Help with First Time Editing: Ships and Weapons
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Hi cronty, and welcome to the starport!

To question 1:
You are right, ships are defined in shiparch.ini
The Humpback's internal name is rh_freighter
Changing hitpoints is pretty easy, just change "hit_pts = 5800" to whatever number you like. Parts of your ship that can be shot off (e.g. wings) have their own hitpoints though, which are defined in the [CollisionGroup] entries directly below the [ship] code in shiparch.ini. Damage done to these parts is rerouted to the main hull though, so if I only shoot your wing and it blows off at some time, your ship still takes the damage.
Which type of equipment can be mounted onto which hardpoint is defined by the code below, example taken from the Humpback too:
Code:
...
hp_type = hp_gun_special_7, HpWeapon01, HpWeapon02
hp_type = hp_gun_special_6, HpWeapon01, HpWeapon02
hp_type = hp_gun_special_5, HpWeapon01, HpWeapon02
hp_type = hp_gun_special_4, HpWeapon01, HpWeapon02
hp_type = hp_gun_special_3, HpWeapon01, HpWeapon02
hp_type = hp_gun_special_2, HpWeapon01, HpWeapon02
hp_type = hp_gun_special_1, HpWeapon01, HpWeapon02
hp_type = hp_freighter_shield_special_7, HpShield01
hp_type = hp_freighter_shield_special_6, HpShield01
hp_type = hp_freighter_shield_special_5, HpShield01
hp_type = hp_freighter_shield_special_4, HpShield01
hp_type = hp_freighter_shield_special_3, HpShield01
hp_type = hp_freighter_shield_special_2, HpShield01
hp_type = hp_freighter_shield_special_1, HpShield01
hp_type = hp_thruster, HpThruster01
hp_type = hp_mine_dropper, HpMine01
hp_type = hp_countermeasure_dropper, HpCM01
hp_type = hp_turret_special_7, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_6, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_5, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_4, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_3, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_2, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
...


As you see the format is hp_type = <thing you want to mount>, <name of hp>, <name of another hp>, ...
Notice that the same hardpoint name appears in multiple lines, which allows not only to mount level 7 weapons on HpWeapon01, but also the lower classes.
Let's say you add the following:
Code:
hp_type = hp_torpedo_special_1, HpWeapon01, HpWeapon02
hp_type = hp_torpedo_special_2, HpWeapon01

This would allow you to mount disruptors on both weapon hardpoints, and even torpedoes on the second one. If you don't delete the other lines of code regarding HpWeapon01 and 02, it would still be possible to mount the weapons on these hardpoints. If you delete the hp_gun_special_1 line, you could still mount weapons of levels 2-7, but not of level 1.
Same applies for the shields, turrets etc.
Note that there is no restriction on the the hardpoint names, you could even allow mounting mines on the weapon hardpoints and the like. On the other hand, whether or how much a hardpoint can rotate is part of the hardpoint's definition in the model file.
Another note: Changes done here will not be reflected in the ship descriptions in the game. These texts have to be edited manually, but thats a topic for some other time. Hint: code like ids_name = 237051, ids_info = 66598, these reference to texts stored in dll files.

Power source related values are not part of the ship, but of a special equipment. To understand this, we have to go a bit deeper into the "goods", and that is what all these ..._goods.ini files are for. For every part of equipment, ship, trade good that can be seen in your inventory or at a trader there is an entry in one of the goods files. For our needs, have a look into Goods.ini. There you should be able to find something like:
Code:
[Good]
nickname = rfr_hull
category = shiphull
ship = rh_freighter
price = 152000
ids_name = 12011
item_icon = Equipment\models\commodities\nn_icons\rh_freighter.3db

But as ships in freelancer are not sold completely empty, but usually come with an engine, power source, some lights, a tractor beam, a shield and stuff, there is something called packages. If you scroll further down in the Goods.ini file, you should find
Code:
[Good]
nickname = rfr_package
category = ship
hull = rfr_hull
addon = ge_rfr_engine_01, internal, 1
addon = rh_freighter_power01, internal, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
addon = shield01_mark05_fr, HpShield01, 1
addon = LargeWhiteSpecial, HpHeadlight, 1
addon = SlowSmallYellow, HpRunningLight01, 1
addon = SlowSmallYellow, HpRunningLight02, 1
addon = SlowSmallYellow, HpRunningLight03, 1
addon = SlowSmallYellow, HpRunningLight04, 1
addon = SlowSmallYellow, HpRunningLight05, 1
addon = SlowSmallYellow, HpRunningLight06, 1
addon = SlowSmallYellow, HpRunningLight07, 1
addon = contrail01, HpContrail01, 1
addon = contrail01, HpContrail02, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1

Se here we have our ship hull, and onto it we mount a lot of different equipment. Have you ever seen lights and engines mounted onto your ship? No? Thats because they have no goods entry for them, and you also don't have any hardpoints defined that appear in the interface mounting lights and stuff!

But we can see we have a power source mounted which is called rh_freighter_power01. Let's see if we can find a piece of equipment with this name. Have a look into misc_equip.ini. You should be able to find the right values.

The level needed to buy a ship is part of the defenition what you can buy on which station. In market_ships.ini there is one code block for every station that has a ship dealer. Look for all the lines which include your ship package name, and change the value directly behind the package. Be careful though, every station has every ship listed, but the 0's and 1's at the end define whether the ship is available or not. Also not that every single station can only sell a maximum of three ships.


About using your modified files:
You don't have to encrypt the files again, Freelancer can read both.
The simplest way would be to directly replace the files in your freelancer directory, but I don't recommend this as it might be difficult to keep track of your changes and, with more complex changes, give you problems with different savegames.

Much better would be to get the Freelancer Mod Manager, create a new subfolder in it's mods folder with any name you like and put in all the files you changed, keeping the original folder structure of the game. Using the mod manager, you can easily activate and deactivade different mods, and it even keeps the savegames separated. If you want to use your old save with the mod, simply copy it after activation.


About savegame compability:
As long as you only edit or add things like equipment, using old save games should be fine. Deleting things might be a problem (e.g. you have a weapon mounted, but it's code doesn't exist anymore). Changing faction relations requires a new game, as these relations are saved in the save file. The save file "restart.fl" also has to be deleted in this case for the changes to take effect.


About Question 2:
This should be as simple as adding the turret to an trader via market_misc.ini. You have to find out the nickname of this turret though - a search through weapon_equip.ini for nomad should give you several turrets.
All weapons in the game, so even station turrets and the like, should already have an [good] entry somewhere, and they should mount onto any weapon or turret slot. Might look a bit silly though, with turrets bigger than your fighter... All equipments info texts about its stats are auto-generated, but they probably have no descriptional text.


Edit: About viewing models and their hardpoints: Try out HardCMP! It allows you to add new ones as well.

Posted on: 2013/8/2 21:01
Top
Topic | Forum


Re: Three Gun Turret
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
As far as I remember there is the possibility to add the sound effect to the muzzle flash effect and not the gun itself.

Posted on: 2013/4/10 1:50
Top
Topic | Forum


Re: Starspheres again...... dont say use search.
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Wow, that looks great!
I really hope you manage to make a working starsphere of it.

Have you tried to put your texture on one of the spherical vanilla backgrounds?
That was the only thing that worked for me when I was investigating on this topic some time ago. Although my textures always were meant to tile up/down and left/right...
I never hat any luck exporting one myself, too.

Posted on: 2013/1/29 15:37
Top
Topic | Forum


Re: 'freelancer did not detect a 3d capable video card in your system'
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
have you tried skipping that notice? That has always worked for me.

Posted on: 2012/9/18 18:01
Top
Topic | Forum


Re: A couple questions about editing / modifying vanilla FL
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Quote:

Bobthemanofsteel wrote:
As for the HP of your destructible parts, I believe the magic lies in the hit_points line of the [Collision Group] section of your ship in the shiparch.

That is right. And when such a part is destroyed, all equipment mounted on hardpoints attached to this part is lost, too. These parts are definded in shiparch.ini as [Collision Group] entries under the ship itself.

Posted on: 2012/6/26 22:00
Top
Topic | Forum


Re: Vanilla Freelancer patching...
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Quote:

Jerico wrote:
I have done this, but I have since found that the main Freelancer menu screen still says v1.0. Is that right, or have I gone wrong somewhere?


That ist right, as that 1.1 patch does not destroy compability with the unpatched game.

Don't know about quickfix though as I don't use it, but I thinks it's the same.

Posted on: 2012/5/20 21:13
Top
Topic | Forum


Re: NPC cargo drop
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
MISSIONS\LootProps.ini might help.

Posted on: 2012/3/31 18:29
Top
Topic | Forum


Re: Random System Generator
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
So you are another one who works on a system generator. Good idea to use such a thing to generate concepts, not for actually creating usable systems. That's why I stopped my project, I realised it won't have any use the way I wanted.
Still, your program sometimes places objects too close together, although it seems to take care that objects are not on top of each other. But as it is not meant to produce finished layouts, that's no real problem though.

Posted on: 2012/3/13 20:14
Top
Topic | Forum


Re: Q-Place new base into a system
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Ok, I will explain a litttle bit.
As ColdFire said, an entry for a base starts with a [base] block. There the nickname, faction it belongs to and how npcs call it are defined.

After that is a [MVendor] block, which defines how many jobs there are on the board (only for SP).

Then there are some [BaseFaction] blocks, one for every faction present on that base, it controls wether the given faction gives missions, which npc (defined below in a multitude of [GF_NPC] blocks) belong to them and their weight relative to the others theyhave on that base.

The [GF_NPC] contain the info for the individual npcs (body parts, voice, name, rumors they tell, if you can bribe them sometimes, wether they know some wrecks and bases they can sell the info of and so on. The Vendors are also defined, but usually don't have any voice and rumors and so on.

There is one [MRoom] block for every room you can enter on that base, traders and the baarkeeper have to be set as fixtures here to be always there, not only sometimes like the other npcs.

And then follows the next base starting with the [base] block and so on.

Posted on: 2012/3/8 17:51
Top
Topic | Forum


Re: Q-Place new base into a system
Just can't stay away
Joined:
2010/2/2 13:57
Group:
Registered Users
$$$ Supporters $$$
Posts: 351
Offline
Adding a ship dealer room by hand to a base that has none at default is quite a bit of work - have a look at the files where the station interiors are saved. You would have to add the shipdealer hotspot (the button) to every other room, and add a file for the dealer itself.
If you speak of the person: This you have to do inside mbases.ini. You could simply copy a shipdealer (and his fixture line) from a base that has one to your new base and edit the nickname.

Posted on: 2012/3/7 18:14
Top
Topic | Forum



Top Top
(1) 2 3 4 ... 24 »



[Advanced Search]