Modding Help Targetted blink Help!

Discussion in 'Starbound Modding' started by pickle455, Dec 13, 2014.

Thread Status:
Not open for further replies.
  1. pickle455

    pickle455 Void-Bound Voyager

    I've seen quite a few people on multiplayer with retextures of their blinks. I tried the same, but mine's only clientside.
    How do I make it so others can see mine aswell?
     
    Murlaine likes this.
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    Unfortunately this is an exploit. Sorry.
     
  3. Murlaine

    Murlaine Scruffy Nerf-Herder

    It's pretty simple once someone shows you! (Unlike some people around here, I don't believe in the suppression of information. If someone abuses, oh well, their loss.)

    First you'd need to make a new mod in the mods folder for the target blink, so that you can edit the targetblink.LUA file (what you'll need in order to make the custom texture).
    After creating the necessary folders for the mod (modpak with appropriate values on it, and the folders for the target blink, and finally the target blink lua itself), you are then ready to start modding the LUA of the blink itself :O

    So, first you'd need to open the target blink LUA file with notepad++. You will then see a WHOLE, MEGA bunch of code you might not understand or know (especially if you're brand new like I was). Don't get overwhelmed just yet! I will now show you which section to alter, in order to start customizing the blink, so pay careful attention...

    [​IMG]

    At the very end of the blink LUA you will find this. Well, yours right now is vanilla and is missing some stuff that the picture has, so let's go over what code you'll need to put onto your vanilla blink.

    1.) world.spawnProjectile("icecloud", data.targetPosition, tech.parentEntityId(), {0,0}, false, {})

    #1 is how the people make their blink custom, with the projectile. Copy that under the "then" part in your LUA. Where it says "icecloud" is where you can put any other projectile to replace that. Leave the {} unless you know what you're doing, but as you can see from the picture it's the exact same parameters you would find on a gun's projectile.

    2.) tech.setParentAppearance("normal")

    #2 is less important, but if you want both projectiles to appear when you blink, set both ParentAppearences to "normal"

    3.) tech.setAnimationState("blinking", "in")

    #3 is the ONLY thing you need to delete on your regular vanilla blink. It makes the ugly blue animation that you see whenever you blink. Definitely not something you'd want overlapping your new custom blink, now would you? :p


    And that's all there is to it! When you're done, save it all and test it in-game to see how it turned out.
     
  4. AstralGhost

    AstralGhost Pangalactic Porcupine

    1. Unless you believe that mods are coming in and deleting posts like yours, no one is suppressing information around here.
    2. It's not THEIR loss. It's the loss of others who host or use servers that get abused regularly by people who abuse the information.
    3. You probably do believe in the suppression of information. Do you think it would be beneficial to teach little kids about sex, or how to make pipe bombs? I doubt it. Society suppresses information, and they usually try to do so ethically.

    I believe in the free exchange of information, as well, but as with all things there are limits.
    I think you should think things through more carefully next time before you attempt to imply such judgements in your post.
     
    Murlaine likes this.
  5. Peelz

    Peelz Giant Laser Beams

    As much as I agree with @AstralGhost , I don't see re-skinning the blink tech as an exploit. It's a simple tech mod. I think @xxswatelitexx may have thought what the OP was after was a method of exploiting drawables. That IS an exploit in my mind because it causes terrible server lag and allows for users to import pornographic images into an otherwise kid-friendly game.

    On-topic though, thanks for the info Murlaine!
     
    Murlaine likes this.
  6. Murlaine

    Murlaine Scruffy Nerf-Herder

    Glad to help at least one person @Peelz :hylotl: You need any other help, I'll give you whatever else I know of.
    @AstralGhost :lickitung:
     
  7. AstralGhost

    AstralGhost Pangalactic Porcupine

    I believe the reason he said it was an exploit is because you can easily use the same methods for changing graphics to something friendly as you could to do anything cruel. You cited some examples.

    It's the same concept and some malicious people actually do ask how to do things in nice ways and hide the fact that they are planning to abuse the information. Younger kids, especially, like to do this. And even when someone asks for the info legitimately, like the topic creator might be doing, others can come by and get the info and abuse it easily since any answer makes it freely available to everyone on the internet.

    Not to mention that once the game releases and the Devs work on cleaning up the server-side code, these sort of changes will no longer be available and will be blocked by the server code. So becoming dependent on an exploit, like this, is not in anyone's best interests. It is best if mods are kept to single-player for everyone, even if many of them are not intended to harm anyone.
     
    Whale Cancer likes this.
  8. Peelz

    Peelz Giant Laser Beams

    But he's just replacing the blink animation with vanilla assets, yes? Using anything else would require drawables.
     
  9. joy410

    joy410 Big Damn Hero

    none of this is useful if you dont know how to add your own mod.
     
  10. Peelz

    Peelz Giant Laser Beams

  11. Nox Echo

    Nox Echo Aquatic Astronaut

    behold more necro!

    this doesnt work. i blink once with no effects and after that i cant blink again, :wut:
     
  12. The | Suit

    The | Suit Agent S. Forum Moderator

    Behold more threads locked.
    Information in thread is completely out of date.
     
Thread Status:
Not open for further replies.

Share This Page