Discovery Gaming Community
player factions - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7)
+--- Forum: Discovery Mod General Discussion (https://discoverygc.com/forums/forumdisplay.php?fid=37)
+--- Thread: player factions (/showthread.php?tid=72543)

Pages: 1 2


player factions - blunty - 01-14-2012

' Wrote:The 4.86 mod added 20 new player faction IDs to your files. They use IDS #'s 505500 through 505539

thanks this sounds promising



player factions - Cannon - 01-14-2012

Folks, this is a technical question related to server administration of the discovery mod. It's got little to do with what happens on the GC server.

---

It is possible to edit a small number infocards on the server. These changes will be sent to clients when they connect to your server.

To do this see the dsacesrv.cfg file. You need to be using the dsacesrv.dll.

You can edit the infocards for any item. Note that dsy_license_pf01 to dsy_license_pf20 are reserved for player factions and are possibly the easiest to edit but anything can be edited.

To edit an infocard you need to know its IDS number. Find either FLInfocardIE or FLDev or search in the DATA\EQUIPMENT ini files for entries starting with dsy_license_ and look for ids_info and ids_name.

Once you have the IDS number of the item you want to edit, add a line to the bottom of the dsacesrv.cfg file in the form:

<IDS number>=<new infocard text>

The infocard text may have to be in Freelancer xml markup. Look at other infocards for an example of this.

You'll probably also want to edit the techcompat.cfg to adjust the ID-powerplant recharge rates.




player factions - blunty - 01-14-2012

thanks cannon - your a top bloke:D



player factions - blunty - 01-15-2012

ok the info card is written and parsed , and the server says the changes are accepted - im a bit lost to the spawn code for the id card though :S

sorry if im being a bit dumb got a horrible cold and im taking too many tablets to think properly , i have used 5055000 for the IDS number

edit spoted first mistake changing it to 505500

final edit - yeah cold medicien befuddled me i see it in your post now :S


player factions - blunty - 01-15-2012

well i seem to have something wrong somewhere - using your info reader thing it cant seem to find any dsy_license text in the dll's loaded , do i need to import something? i did fond 505500 and its listed as player faction - however when i try .addcargo blunty dsy_license_pf01 1 i get ERR invalid good

:S cheers in advance

sorted it - pf_01_grp and i had in the wrong places - all fixed now ta so much