Modding Discussion When in tent we still take damage

Discussion in 'Starbound Modding' started by amirmiked12, Mar 17, 2017.

  1. amirmiked12

    amirmiked12 Parsec Taste Tester

    Is there any way of any stat to patch tents to disable damage taken by enemy?
     
  2. Dekadrachm

    Dekadrachm Heliosphere

    Yes, an invulnerability stat while inside the tent should work for this.
     
  3. M_Sipher

    M_Sipher Oxygen Tank

    While I'm not sold on tents making you invincible, I DO think they should make you "invisible". As in, monsters and such don't go into attack mode as normal.

    Mind you, should I use a tent, or need to step away from the compy for a couple, I tend to surround myself in dirt as a barrier to be safe anyway. Works against MOST enemies.
     
  4. amirmiked12

    amirmiked12 Parsec Taste Tester

    u mean i should add the "invulnerability" line into my patch file like this??
    [
    {
    "op": "add",
    "path": "/statusEffects",
    "value": [
    "invulnerability"
    ]
    }
    ]
     
  5. Dekadrachm

    Dekadrachm Heliosphere

    If that's the patch for the tent, then it should work fine. The only downside is this will stop them from hurting you, but they will still probably try and attack you.
     
  6. amirmiked12

    amirmiked12 Parsec Taste Tester

    tnx..is there any way to patch whole tent..i mean i have a tent mod with 48 tent ..i should make this patch fo all or??

    didnt work.
     
    Last edited by a moderator: Mar 18, 2017
  7. Dekadrachm

    Dekadrachm Heliosphere

    WHat happened?

    Post ur log
     
  8. amirmiked12

    amirmiked12 Parsec Taste Tester

    nothing i still take damage from enemy and weather such acid rain..
     
  9. Dekadrachm

    Dekadrachm Heliosphere

    Post your starbound log file so I can see whats up lol

    Okay, your patch should look like this if we are talking about tent 1
    Code:
    [
      {
        "op": "add",
        "path": "/sitStatusEffects/2",
        "value": "invulnerable"
      },
      {
        "op": "add",
        "path": "/sitStatusEffects/3",
        "value": "invisible"
      }
    ]
    This makes you invulnerable so you don't take damage and invincible so creatures don't rape your tent.
     
    Last edited by a moderator: Mar 18, 2017
  10. amirmiked12

    amirmiked12 Parsec Taste Tester

    Is there anyway to fix it?

    Oh OK..I'll try it

    nothing again.
    log
    stack traceback:
    [C]: in metamethod '__index'
    [string "/items/buildscripts/abilities.lua"]:30: in global 'addAbility'
    [string "/items/buildscripts/abilities.lua"]:59: in global 'setupAbility'
    [string "/items/buildscripts/buildweapon.lua"]:41: in function <[string "/items/buildscripts/buildweapon.lua"]:7>
    [23:56:33.145] [Info] Root: Loaded ItemDatabase in 29.5157 seconds
    [23:56:33.847] [Info] Root: Loaded CollectionDatabase in 23.1209 seconds
    [23:56:49.310] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 256
    [23:56:53.553] [Info] UniverseServer: Acquiring universe lock file
    [23:56:53.559] [Info] UniverseServer: Loading settings
    [23:56:53.566] [Info] UniverseServer: Starting UniverseServer with UUID: cfc07ba0af9326110e89f92f0152aedb
    [23:56:53.640] [Info] UniverseServer: Logged in player 'Claude' locally
    [23:56:53.640] [Info] UniverseServer: Logged in account '<anonymous>' as player 'Claude' from address local
    [23:56:53.965] [Info] UniverseServer: Reviving player at ClientShipWorld:cd7215401659102b4807eeb1f98f62a9
    [23:56:53.966] [Info] UniverseServer: Client 'Claude' <1> (local) connected
    [23:56:53.967] [Info] UniverseServer: Loading client ship world ClientShipWorld:cd7215401659102b4807eeb1f98f62a9
    [23:56:53.981] [Info] UniverseClient: Joined server as client 1
    [23:56:54.937] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 64
    [23:56:54.937] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 128
    [23:56:54.978] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 256
    [23:56:54.978] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 256
    [23:56:59.095] [Info] UniverseServer: Warping player 1 to ClientShipWorld:cd7215401659102b4807eeb1f98f62a9=1066.26.1024
    [23:59:23.374] [Info] UniverseServer: Loading celestial world 420958156:84200039:-185319713:4
    [23:59:31.017] [Info] UniverseServer: Warping player 1 to CelestialWorld:420958156:84200039:-185319713:4
    [23:59:31.102] [Info] Client received world stop packet, leaving: Removed
    [23:59:31.106] [Info] missing field uninit accessed
    [23:59:31.121] [Info] UniverseServer: Stopping idle world ClientShipWorld:cd7215401659102b4807eeb1f98f62a9
    [00:00:47.039] [Error] Could not load image asset '/objects/protectorate/objects/protectoratetentacle/protectoratetentacleicon.png', using placeholder default.
    (AssetException) No such asset '/objects/protectorate/objects/protectoratetentacle/protectoratetentacleicon.png'
    [00:00:47.062] [Error] Could not load image asset '/objects/protectorate/objects/protectoratetentacle2/protectoratetentacle2icon.png', using placeholder default.
    (AssetException) No such asset '/objects/protectorate/objects/protectoratetentacle2/protectoratetentacle2icon.png'
    [00:00:47.301] [Info] SIP: Done adding 4515 items to the list!
    [00:01:05.158] [Info] UniverseClient: Client disconnecting...
    [00:01:06.262] [Info] Client received world stop packet, leaving: Removed
    [00:01:06.264] [Info] missing field uninit accessed
    [00:01:06.444] [Info] UniverseServer: Client 'Claude' <1> (local) disconnected for reason:
    [00:01:06.445] [Info] UniverseServer: Stopping idle world CelestialWorld:420958156:84200039:-185319713:4
    [00:01:07.762] [Info] UniverseServer: Stopping UniverseServer
    [00:01:10.029] [Info] Application: quit requested
    [00:01:10.029] [Info] Application: quitting...
    [00:01:10.029] [Info] Application: shutdown...
    [00:01:10.359] [Info] Root: Shutting down Root
    [00:01:11.430] [Info] Application: Destroying SDL Window
    [00:01:12.131] [Info] Application: stopped gracefully

    i changed it to txt cause it didt allow uploading patch file
     

    Attached Files:

    Last edited by a moderator: Mar 18, 2017
  11. Dekadrachm

    Dekadrachm Heliosphere

    So you have the patch I have you as tent1.object.patch?

    Hmmm, the patch I gave you is for the vanilla tent 1, is the apex tent derived from the vanilla tent 1?
     
    Last edited by a moderator: Mar 18, 2017
  12. amirmiked12

    amirmiked12 Parsec Taste Tester

    u mean i sould make it tent1.object.patch..???

    cause they both use the same effect...sitStatusEffects
     
    Last edited by a moderator: Mar 18, 2017
  13. Dekadrachm

    Dekadrachm Heliosphere

    try applying the patch to the vanilla tent
     
  14. amirmiked12

    amirmiked12 Parsec Taste Tester

    i did that and made tent1.object.patch but i took damage

    im getting disappointed about this subject..
    lol.
    can u tell me that object or npc dont know what it is exactly that its like a bed and it wont die,,,cause i just killed it using lava

    we can use it as training ..

    i made tent1.object.patch but took damage..
    im kinda getting disappointed about this..lol
    anyway can u tell me the name of that object or npc dont know what its exactly that is just like a bed and we can hit him but it wont die..cause u know i kill him using lava..haha

    ops sorry for posting twice .thought i didnt post my bad.
     
    Last edited by a moderator: Mar 18, 2017
  15. Dekadrachm

    Dekadrachm Heliosphere

    I'm not sure which creature you are talking about, I'm also not sure why my patch didn't work for u
     
  16. amirmiked12

    amirmiked12 Parsec Taste Tester

    did it worked for you?
     
  17. Dekadrachm

    Dekadrachm Heliosphere

    I haven't checked it yet, but I will real quick
     
  18. amirmiked12

    amirmiked12 Parsec Taste Tester

    i mean this Untitled.png
     
  19. Jonesy

    Jonesy Sarif's Attack Kangaroo Forum Moderator

    Moved to the Modding section. And @amirmiked12 and @Dekadrachm, please don't double-post. Use the edit button to expand or update posts, instead of cluttering threads with back-to-back posts.
     
    Dekadrachm likes this.
  20. Dekadrachm

    Dekadrachm Heliosphere

    I don't remember those, but my patch didn't work for me, I'm gonna see what I can do.
    I got it to work
     
    Last edited: Mar 18, 2017

Share This Page