EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[MOD] Player HQ Hack
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6
View previous topic :: View next topic
Author Message
chrisb2244





Joined: 30 Dec 2008
Posts: 15 on topic

Thank you for registering your game
PostPosted: Tue, 24. Nov 09, 20:12    Post subject: Reply with quote Print

Was wondering if by using the Station Repackager script here will in effect recreate the HQ and so allow it to be modified? I had no success but could just be that I edited my .xml file wrong, or failed to save it back into the .cat file properly. Will keep trying now but wondered if anyone knew?

Sorry if this is a stupid question and I should just install the cheat package Razz[/url]

Back to top
View user's profile Send private message
chrisb2244





Joined: 30 Dec 2008
Posts: 15 on topic

Thank you for registering your game
PostPosted: Tue, 24. Nov 09, 20:48    Post subject: Reply with quote Print

Have discovered that it may have been me badly editing/saving the cat03 file where the hq.xml file is stored.
Seems that now, if i extract the file, edit using notepad or something, and then readd to cat03 replacing the original file, it reads at least (currently tested) credit cost for production and storage size/capacity.
Now just to look at the million available files and experiment until I get all the values I want sorted Smile
Incidentally, why is it that changes are made even though the PHQ is already in existence? (I'm docked at it on the save I'm loading without problems)

Sorry now for the double post but thought I'd highlight what seems to be a possible way to edit existing hqs without destruction and scripting left, right and centre Smile

Back to top
View user's profile Send private message
vayu76





Joined: 19 Jun 2009
Posts: 9 on topic

Thank you for registering your game
PostPosted: Mon, 18. Jan 10, 20:51    Post subject: Reply with quote Print

having trouble installing this when i go to extract it to my scripts folder it says "no files to extract" help please.

Sad

Back to top
View user's profile Send private message
lordmuck





Joined: 01 Mar 2009



PostPosted: Wed, 28. Apr 10, 17:15    Post subject: Reply with quote Print

Can any1 edit this mod and upload some place to:

Build times decreased (nothing too cheatish but reasonable not DAYS to make a ship)

but keeping materials as default ?

Back to top
View user's profile Send private message
lordsoulstrike





Joined: 06 Jun 2004
Posts: 65 on topic

Thank you for registering your game
PostPosted: Thu, 29. Apr 10, 04:57    Post subject: Reply with quote Print

@ lordmuck

About a year ago I tinkered around with that thought and it can be found here:
http://forum.egosoft.com/viewtopic.php?t=248943&postdays=0&postorder=asc&start=0

11th post in I explain how to modify the PHQ via it's xml file. It's quite easy actually.

Back to top
View user's profile Send private message
D31m0s





Joined: 13 Feb 2012



PostPosted: Tue, 3. Apr 12, 00:15    Post subject: Reply with quote Print

could you script that also for x3R users (like me =)?

Back to top
View user's profile Send private message
TFO Bloodlust





Joined: 21 Aug 2004
Posts: 10 on topic
Location: Westfield, MA
Thank you for registering your game
PostPosted: Sun, 8. Jul 12, 18:29    Post subject: Reply with quote Print

Has anyone gotten this to work with Albion Prelude 2.0? I tried to make my own with little sucess. Any tips would be welcome. BTW: The file has new entries in it with new values and im not sure how it all comes togeather. I did attempt to duplicate the "factor Values" and "Primary values" but did not work right. Please any help would be appreciated. Smile

Code:

<?xml version="1.0" encoding="iso-8859-1" ?>
<headquarters>
  <upgrades>
    <upgrade index="0" typename="SS_DOCK_P_HQ" storage="500000">
      <blueprints>
        <blueprint typename="SS_SH_A_M4" />
      </blueprints>
      <production time="100" money="100" resources="100">
        <factor class="ship" value="1" />
      </production>
      <repair time="100" money="100" resources="100">
        <factor class="ship" value="2" />
        <factor class="hq" value="2" />
      </repair>
      <reverse time="100" money="0" resources="0">
        <factor class="ship" value="1" />
      </reverse>
      <recycle time="5" money="0" resources="80">
        <factor class="ship" value="1" />
      </recycle>
    </upgrade>
  </upgrades>
  <resources>
    <!-- Time (uses the SETA upgrade as the typename!) -->
    <resource typename="SS_WARE_TECH231">
      <factor class="m5" value="10000" primary="1" />
      <factor class="m4" value="12500" primary="1" />
      <factor class="m3" value="16666" primary="1" />
      <factor class="gonership" value="16666" primary="1" />
      <factor class="freighter" value="5000" primary="1" />
      <factor class="bigship" value="25000" primary="1" />
      <factor class="hq" value="25000" primary="1" />
    </resource>
    <!-- Money -->
    <resource typename="SS_WARE_CREDITS">
      <factor value="3" primary="1"/>
    </resource>
    <!-- Energy Cells -->
    <resource typename="SS_WARE_ENERGY">
      <factor value="885" primary="1" />
    </resource>
    <!-- Ore -->
    <resource typename="SS_WARE_ORE">
      <factor value="21250" primary="1" />
    </resource>
    <!-- Silicon -->
    <resource typename="SS_WARE_SILICON">
      <factor value="28333" primary="1" />
    </resource>
    <!-- Nividium -->
    <resource typename="SS_WARE_NIVIDIUM2">
      <factor racemask="khaak" value="170000" primary="1" />
    </resource>
    <!-- Cloth Rimes -->
    <resource typename="SS_WARE_F217">
      <factor value="85000" />
    </resource>
    <!-- Rastar Oil -->
    <resource typename="SS_WARE_F238" >
      <factor value="42500" />
    </resource>
    <!-- Teladianium -->
    <resource typename="SS_WARE_R255">
      <factor value="28333" primary="1" />
    </resource>
    <!-- Crystals -->
    <resource typename="SS_WARE_TECH205">
      <factor value="85000" primary="1" />
    </resource>
    <!-- Quantum Tubes -->
    <resource typename="SS_WARE_TECH206">
      <factor value="85000" />
    </resource>
    <!-- Microchips -->
    <resource typename="SS_WARE_TECH207">
      <factor value="42500" />
    </resource>
    <!-- Computer Components -->
    <resource typename="SS_WARE_TECH208">
      <factor value="85000" />
    </resource>
  </resources>
</headquarters>


Back to top
View user's profile Send private message
khadgarion





Joined: 14 Aug 2012
Posts: 3 on topic

Thank you for registering your game
PostPosted: Wed, 15. Aug 12, 00:25    Post subject: Reply with quote Print

I modified my own hq.xml file and it does work with production times in AP.

I was a little pissed off at how the Aamon Prototype took 10 times the amount of time to produce. The #deca.cefa I have takes 40 minutes to produce, and the Aamon takes 4 hours and 50 minutes!!!

I edited the production time to 25% of the normal time, and the numbers changes accordingly. My only issue is I need to find out where the individual times / resources required are stored, because the amount of resources required to produce the Aamon Prototype is ridiculous... roughly 10 times the amount of other M3's.

Yes, I understand it's a "special" prototype, but damn! That ship would weigh so much it couldn't move with all those materials. I could understand 2x the resources, or even 3x.... But 10? Really?

I'll post again if I can find the location of the individual ship costs.

Khad

Back to top
View user's profile Send private message
DrBullwinkle





Joined: 17 Dec 2011
Posts: 3398 on topic
Location: Boston, USA
Thank you for registering your game
modified
PostPosted: Wed, 15. Aug 12, 03:27    Post subject: Reply with quote Print

khadgarion wrote:
if I can find the location of the individual ship costs.


PHQ Re-engineering time and resources are based on Production rel. value (NPC) in TShips.


Checking Your Math:
    - 4:50 / 0:40 = 7.25x (not 10x)

    - Comparing to a #deca.cefa is an extreme case because #deca.cefa costs almost nothing at all. Most other M3's take more than 1.5 hours to re-engineer. That puts the Aamon Prototype squarely into 2x - 3x time (which you already said is reasonable).



For more information, see:


_________________
Peace through superior firepower

Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software (DCS) | Ship Tricks: Mini-Guides (with Video)


Last edited by DrBullwinkle on Fri, 17. Aug 12, 06:37; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
khadgarion





Joined: 14 Aug 2012
Posts: 3 on topic

Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 06:27    Post subject: Reply with quote Print

Thanks for the links, I will check them out.

As for checking my math... All I did was a quick mental calculation, and ballparked it. Your calculations would be correct using a floating point number; Calculating minutes and seconds is different, because 1 minute does not equal 100 seconds.

4:50 = 4 x 60 + 50 = 290
0:50 = 50 = 50
290 / 50 = 5.8x (not 7.25x)

Neither one of us were correct, and my ballparking is even worse than I thought Wink

As for ship resources, I will probably only modify the player HQ xml file, as trying to edit the TShips file would not allow me to use another mod that changed the file already.

Back to top
View user's profile Send private message
DrBullwinkle





Joined: 17 Dec 2011
Posts: 3398 on topic
Location: Boston, USA
Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 06:40    Post subject: Reply with quote Print

LOL

Man, neither of us can do this right!

It's 4:50 / 40 , which does equal 7.25. Smile

Apparently I typed a 5 instead of a 4.

Oh, well.... yeah, that's the problem with changing ship values. And, as we (probably) demonstrated, you don't need to change the relval for the Aamon anyway -- it is about "right" as it is.


_________________
Peace through superior firepower

Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software (DCS) | Ship Tricks: Mini-Guides (with Video)
Back to top
View user's profile Send private message Visit poster's website
TheCoolSideofthePillow





Joined: 22 Sep 2010



PostPosted: Fri, 19. Apr 13, 06:15    Post subject: Reply with quote Print

Would using this or editing my own HQ.xml require starting a new game?

I edited all the time factors to be the same as the recycle time, but nothing has changed in my current game. I am not sure if it's not working because I did something wrong, or if it requires a new game be started.


_________________
.::]Flip over to The Cool Side of the Pillow[::.
Back to top
View user's profile Send private message
DrBullwinkle





Joined: 17 Dec 2011
Posts: 3398 on topic
Location: Boston, USA
Thank you for registering your game
modified
PostPosted: Fri, 19. Apr 13, 06:18    Post subject: Reply with quote Print

It does not require a new game start, but it might require a new PHQ.

Tip: In order to create a PHQ that works, you must create the station inside the cargo hold of a TL, then deploy the PHQ from the TL.


_________________
Peace through superior firepower

Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software (DCS) | Ship Tricks: Mini-Guides (with Video)


Last edited by DrBullwinkle on Fri, 19. Apr 13, 06:19; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
RoverTX



MEDALMEDALMEDAL

Joined: 16 Nov 2011
Posts: 424 on topic

Thank you for registering your game
PostPosted: Fri, 19. Apr 13, 06:19    Post subject: Reply with quote Print

While it wouldn't require a new game, it would require a new PHQ. You could script in a new PHQ, move all the products and then script in all the related Blueprints, and then blow up your old one.

Edit: And the Dr Beat me too it, and JINX. You owe me a coke.


_________________
NPC Traders With Jump Drives O My
Station Capture Through TL Boarding
B.A.M. - Bad *ss Marines
Back to top
View user's profile Send private message
TheCoolSideofthePillow





Joined: 22 Sep 2010



PostPosted: Fri, 19. Apr 13, 07:11    Post subject: Reply with quote Print

DrBullwinkle wrote:
It does not require a new game start, but it might require a new PHQ.

Tip: In order to create a PHQ that works, you must create the station inside the cargo hold of a TL, then deploy the PHQ from the TL.


I already know about the second point Smile

I will try building a new one. Hopefully it works.

EDIT: Nope. Didn't work. Sad

Oh, and while I am at it: I can't remember how to make my headuarters *buy* goods. I don't know if this is just something removed from AP, it was something I had from a mod, or if I just haven't played in so long I completely forgot, but I do recall being able to set my headquarters to BUY the resources it needs to build a ship rather than SELL them in TC. Any clues how to get my HQ to buy it's resources in AP?

EDIT 2: I finally got the station hack to work correctly. I made it an SPK file for those looking for faster production times (2 minutes max on the biggest ships) and without the credit cost. It will still cost resources, however.

http://www.mediafire.com/?5e4v1077mocnh3s


_________________
.::]Flip over to The Cool Side of the Pillow[::.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Sat, 25. May 13, 06:27

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.28375 seconds, sql queries = 74