Need help with "replaceblock" console command

Discussion in 'Questions, Discussions & Feedback' started by Track Driver, Feb 5, 2018.

  1. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    After 2 years, I'm still a beginner when it comes to console commands.
    i have the id=1300. I keep getting "error parsing entity id".
    I don't know what that means or hpw to correct it. I had a similar problem before, but my "oldtimer's disease" has kicked in and can't, for the like of me, remember what I did!

    HE-E-E-E-L-L-LP!
     
    #1
  2. Razorwire

    Razorwire Captain

    Joined:
    Jul 6, 2017
    Messages:
    164
    Likes Received:
    505
    What's the exact command you're typing?
    And do you have a screenie of where you got the ID from?
     
    #2
  3. rucky

    rucky Rear Admiral

    Joined:
    May 29, 2017
    Messages:
    935
    Likes Received:
    2,626
    everytime a good idea:

    help

    it lists ALL available commands the console has (at least it should ;-)
    then

    help replaceblocks

    to get more information about that command.

    Now, to get the correct ID, you should type in DI (for debug information), and go near the structure you want to change and point at it.
    This will give you the ID of the structure.
    *** IT IS NOT THE FIRST NUMBER YOU SEE WHEN TYPING IN ENTS ***
    Could this have been your problem perhaps ;-) ?

    for replacing anthing, you need the internal Identifiers for the block you want to change.
    lets say you want standard steel blocks converted to combat steel blocks.
    then both commands (there are full and half blocks, because that way you need both of them ;-)

    replaceblocks ID HullFullLarge HullCombatFullLarge
    replaceblocks ID HullThinLarge HullCombatThinLarge

    replacing "ID" with the ID you got from the debug info screen.

    hope that helps ;-)
     
    #3
  4. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    QUOTE="Razorwire, post: 215028, member: 21235"]What's the exact command you're typing?
    And do you have a screenie of where you got the ID from?[/QUOTE]
    I used "find" to get the ID -1300.

    2018-02-06.png
    2018-02-06.png

    Using advice from @rucky, I got the results below. ( You explained this to me before, but as I said. "Oldtimer's Disease". 2018-02-06 (1).png
    This whole thing is wanting to "replaceblocks" in the Wolverine HV. As shown below, it consists of "Hardened Steel Blocks" with HP=200 .

    2018-02-06 (2).png
    The intent was to replace them with "Hardened Steel Blocks S" shown below on the Hornet, which have HP=2000 . This is due to the amazing, if sometimes confusing, world of the config.ecf that y'all have so kindly introduced to me.

    2018-02-06 (3).png
     
    #4
  5. rucky

    rucky Rear Admiral

    Joined:
    May 29, 2017
    Messages:
    935
    Likes Received:
    2,626
    :eek::eek::eek::eek: WAT THE FUUUUUKKKKKK

    2000 HITPOINTS ?!!!!

    as the police men in Werner would say... This is not orchinoal.....


    Seriously. HV and SV Hardened Blocks are the same and both have 200 HP. You have messed a bit with your config-file, right?
    Like making some BA/CV Blocks available to SVs or upped block HP or added that block??

    edit: nevermind, now I've seen you've mentioned editing that file. sorry, nevermind.
    nevertheless please specify what exactly you have edited (copy the changes here), so we can see what needs to be done.
     
    #5
  6. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    #6
  7. binhthuy71

    binhthuy71 Rear Admiral

    Joined:
    Oct 17, 2016
    Messages:
    1,072
    Likes Received:
    2,788
    #7
  8. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    I take it this is a Deutscher thing, right? (Not the first part)o_O

    I'm strictly SP and am tired of being pasted by PVs and alien ion cannons with much too much accuracy. It stands to reason I will engineer a better, stronger ship. If I should ever partake in MP (not likely) I will be happy (ugh!) to go by their standards (if they have any).

    The block descriptions in the config.ecf file are a lot different from the game menus. So anything that said anything related to small hull blocks got 2ooo HP.

    The Wolverine is from an older BP. It's blocks are referred to as "Hardened Steel Blocks" while newer BPs are referred to as "Hardened Steel Blocks S". These, of course, do not match any descriptions in the config.
     
    #8
  9. rucky

    rucky Rear Admiral

    Joined:
    May 29, 2017
    Messages:
    935
    Likes Received:
    2,626
    Yes, that was a german joke ;-)
    (edit: Werner is a german comic where Werner sometimes driving a very tuned-up motorbike, and the police, in person two more or less slow-minded persons, sometimes wondering, if some of the "attachments" are "original" that is ex works and then they're saying, "das is nich orchinoal"... ;-)


    "Die is nich orchinol!"


    Back to your problem, as it seems you have a very old blueprint? Then you first have to convert it.
    From here: https://eleon.zendesk.com/hc/en-us/articles/212553769-Replaceblocks-COMMAND

    replaceblocks <entityid> -alpha4

    do this first, that should convert them to the new S blocks...

    and @Spirit_OK I find it a bit unfriendly to say our answers here were completely not helpful. o_O

    edit 2:


    sorry this was in the playlist and I COULD NOT resist...
     
    #9
    Last edited: Feb 6, 2018
  10. Spirit_OK

    Spirit_OK Captain

    Joined:
    Jan 10, 2018
    Messages:
    71
    Likes Received:
    133
    @rucky, sorry, this is a great thread, I just remember at least two that were not so great. And without sticky this thread with all its greatness would still drift to the 10-something page rather soon, forums are changing fast.
     
    #10
    Last edited: Feb 6, 2018
  11. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    HA-HA-HA! I get it!:D

    I noticed if I removed a block with the MT and replaced the same block it was the updated version, so I think you're right. I'll give it a try and let you know. Thanks.

    @Spirit_OK , I have found these guys (@rucky , @Razorwire , @Brimstone ,@binhthuy71 and others) have been both helpful and supportive to me. We poke a little fun here and there, but my knowledge of this game has increased exponentially.

    Yeah, some folks seem to like to bop their baloney on-line, but not all and not these people. I had no intention of involving a community when I started this game, and didn't for 6 months.

    Now I'm glad I did. Thanks to all of you.
     
    #11
    Razorwire, binhthuy71 and rucky like this.
  12. Razorwire

    Razorwire Captain

    Joined:
    Jul 6, 2017
    Messages:
    164
    Likes Received:
    505
    Might also be worth trying replaceblocks to convert to normal steel and back to hardened.

    Worth adding anyway, with a reference to the localization.csv file for looking up names?
     
    #12
    Track Driver and binhthuy71 like this.
  13. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    I liked Werner. I watched it w/o my headphones and it was still hilarious (or maybe that's why).
     
    #13
    rucky likes this.
  14. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    I'm doing something wrong beyond my typo's? 2018-02-07.png

    My fingers tend to be insubordinate, so typing is an extreme effort sometimes. Still. I don't know what I'm doing wrong.

    BTW, I now know what parsing means: syntax analysis. (yes, I know syntax and analysis means) (more or less) ;)
     
    #14
    Last edited: Feb 7, 2018
  15. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    I took a look at both links. Thanks, especially for the "Guide". It's all still a bit confusing. I am on pain meds right now, so............. what was I saying?

    BTW, you're also on that list of helpful people.:)
     
    #15
    Last edited: Feb 7, 2018
  16. Razorwire

    Razorwire Captain

    Joined:
    Jul 6, 2017
    Messages:
    164
    Likes Received:
    505
    You just need the number for the ID, not the name, so for the bogo you're after...

    replaceblocks 307 -alpha4
    replaceblocks 307 hullarmoredthin hullthin
    replaceblocks 307 hullarmoredfull hullfull
    replaceblocks 307 hullthin hullarmoredthin
    replaceblocks 307 hullfull hullarmoredfull

    ...which will update legacy blocks, then convert the two types of HS to normal steel, then convert all the normal steel back to HS.
    This should update the blocks' HP to the ones in your custom config.
    Look up the block names in your localization.csv file, as I'm at work and can't check the exact names. They're a combination of 'hull' 'full/thin' 'armored' and maybe 'small' for small HS, but I can't remember exactly as I always look it up.

    **edit** Also, if you're English, 'armored' is spelt the American way. This has tripped me up more than once. Savages... **/edit**
     
    #16
    Last edited: Feb 8, 2018
  17. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    I appreciate you're taking time from work to help me. There wasn't any hurry as the game goes on regardless of any block changes. In the meantime, I was creating a fire suppression unit for my current base, using a SV starter to create a working (in appearance) pump. Not sure where I will go with this.

    I'll try again and let you know.

    Ich bin Amerikanisch, but if I see any Englishmen, I will let them know.;)
     
    #17
    Razorwire likes this.
  18. Razorwire

    Razorwire Captain

    Joined:
    Jul 6, 2017
    Messages:
    164
    Likes Received:
    505
    No worries matey. Happy to help.

    Work-wise, we're in the middle of shutting down and decommissioning my site, and once we're done we're all redundant, so I have a lot of unused time at 'work' right now :D
    I'm sanguine, for reasons I won't post here.
     
    #18
    Track Driver likes this.
  19. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    HALLE-BLOODY-LUJAH!! I DID IT!!
    I was so discouraged with my failure to get this console command to work, i just said 'eff ' it and changed the blocks manually, as I really wanted to reproduce my Wolverine assault HV and Badger tank HV in my new enhanced specs. Actually, as you can see. i skipped it for more than a week.

    Today, just for the hell of it, with no real expectation of it working, i tried on one of mt favorite early bases and.........

    IT WORKED!!!! I don't know how or why and I'm not even sure if I can do it again because I just did it and ran over here to tell you. (huff-huff) I'm breathless with excitement (tee-hee-hee!) this is so-o-o-o GREAT!
    Regardless of how I did it, I did it because of all of your help, and again I thank you all.

    Sincerely,
    Track Driver
     
    #19
    Razorwire and Captain Jack II like this.
  20. Track Driver

    Track Driver Rear Admiral

    Joined:
    Jun 28, 2016
    Messages:
    798
    Likes Received:
    1,591
    Celebrations were a little premature. I have been able to "changeblocks" on bases, NOT on my vessels. On the bases was most important, as there were so many blocks to change. The vessels are relatively small and upgrading them block ny block is actually rather immersive as we like to say. Plus i get re-acquainted with how I put them together.

    For now, I'm not going to worry about it. However if you have any tips as to how to improve hit points on spotlights, I be pleased to hear them.;)
     
    #20
    Razorwire likes this.

Share This Page