Coder Social home page Coder Social logo

splatoonsweps's People

Contributors

githatmos avatar zenkakuhiragana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

splatoonsweps's Issues

Enhanced ink colors

I have completely no idea if it is possible, but these are preferable:

  • metalic/shining ink color like the Chaos/Order festitival
  • textured ink like the Sanitized Ink
  • glittery colors like Hero Mode in Splatoon 2.

Ink looks like water

So the ink looks like water, except when it's on dynamic terrain or whatever it's called.

OS : Windows 10 64bit
CPU : AMD Athlon II X4 640 3.00 GHz
RAM : 6 GB
GPU : AMD Radeon HD 5700 Series
(yeah my pc is trash)

I don't think my subscribed addons are conflicting with the sweps, and I didn't really have any cache files, because I reinstalled gmod a while ago.
20200330172123_1

Sub weapon

Giving >TSY a weapon_splatoonsweps_splattershot_wasabi

[splatoonsweps-master] addons/splatoonsweps-master/lua/effects/splatoonswepslandingpoint.lua:44: bad argument #1 to 'SetPos' (Vector expected, got nil)

  1. SetPos - [C]:-1
  2. unknown - addons/splatoonsweps-master/lua/effects/splatoonswepslandingpoint.lua:44 (x6)

Splatoon SWEPS seemingly freezes No Mercy Rooftop

1. Describe the bug
This mod, permanently freezes the game whilst trying to load into No Mercy's Final Map on Gmod. Which MAY affect other Left 4 Dead maps.

2. To Reproduce
Steps to reproduce the behavior:

  1. Have this addon installed
  2. Open up c8m5_rooftop from Left 4 Dead Category
  3. Your game is now frozen (I waited like, 10 minutes before shutting it down lol.)

3. Expected behavior
Supposed to just be able to load up the map as normal with the Splatoon sweps.

4. Screenshots or videos
The frame it just decides to freeze on.
618d95eb7a8be70334b38ebcda102700

5. Environments

  • Singleplayer
  • Sandbox
  • Downloaded latest as of October 5th, 2023.
  • Latest Windows 10 Version
  • Intel Core i7-3770S CPU @ 3.10GHz
  • NVIDIA GeForce GTX 1050 Ti
  • NVIDIA Driver 537.13
  • 16 GB Ram

6. Additional context
All of my enabled addons, excluding Splatoon SWEPS (since it's not an addon downloaded from steam)
62e51edb8d8e0aa2241f5e3d415675e9

Compatibility with VRMod

It must be fun to play Splatoon in VR!!!

Actually the SWEPs are equippable in VR, but better experience such as throwing bombs are preferable.

Targeting Reticle On Seeker Disappears After Switching to another Splatoon Weapon

The seeker's targeting reticle disappears after changing to another splatoon weapon. The seeker itself still locks on, the reticle just doesn't appear.

Steps to reproduce:

  1. Equip Carbon Roller Deco (Right click while targeting an NPC to verify it is working)
  2. Equip any other splatoon weapon
  3. Switch back to the carbon roller deco, and right click and target an NPC, and you'll see the targeting reticle is gone
  4. Unequip the carbon roller deco, and re equip it to get the targeting reticle back.

Anyways, this is a really small bug, but I thought you might want to know about it.

NPC/Idea Turf Inker

This idea came to me from using the old Splatoon sweps it even though this one is drastically better than the other i would like to see these npc functions return or be implemented.

FUNCTION 1.

Splatoon npcs would use to throw their subs at any given time in the old swep by this following video. https://www.youtube.com/watch?v=bvGHvmT4heI

FUNCTION 2.

NPCS would also move around and shoot their main weapons as if trying to claim turf this would probably be used in the single player and was a great fit for the swep following by this video.https://www.youtube.com/watch?v=DAd_7FQPzx4

FUNCTION 3.

This is not implemented in etiher sweps but if possible mabye the npc inklings hair inkcolor can change depending on the team.

Unable to download an ink map on built-in Half-Life 2 maps

What happened

Upon loading into any HL2 map, I immediately receive the following errors:
[splatoonsweps-master] addons/splatoonsweps-master/lua/splatoonsweps/server/lightmap.lua:195: attempt to index field '_lighthdr' (a nil value)

  1. BuildLightmap - addons/splatoonsweps-master/lua/splatoonsweps/server/lightmap.lua:195
  2. v - addons/splatoonsweps-master/lua/splatoonsweps/server/autorun.lua:188
    3. unknown - lua/includes/modules/hook.lua:96

The "Downloading ink map" meter in the bottom left of the screen stays indefinitely, with no percentages appearing.

I have attempted the steps written in Known Issues, it didn't help.

Are HL2 maps just not supported or did I do something wrong?

Steps to reproduce

  1. Download and enable the addon
  2. Load any built-in HL2 map

My environment

OS: Win10
RAM: 32 GB, 24 GB allocated to GMod
VRAM: 36 GB
CPU: 11-th Gen Intel Core i5-11600KF
GPU: NVIDIA GeForce RTX 2060 SUPER

Addons enabled (including splatoonsweps-master)

addons

Import and export configurations

There are many configurations already and it's good to make compatibility with the preset system in many other tools.

Other ways like JSON export are also considerable.

Squiffer has a slow charge mid-air

This isn't a bug, rather just the lack of a weapon feature. Squiffer is meant to have a normal recharge while in mid-air, yet it doesn't in the mod. I'm not sure how it worked in the previous games, but at least it's the case for Splatoon 2 and 3.

Incorrect painting of Brushes

I think this is incorrect with respect to the middle part of the ink.
Inkbrush seems incorrect, too.

A screenshot of the painted ink using Octobrush:
Image

Painted in the original game:
Image

[Idea/Information] A tool to help you fight lag, and the results from a short test

Hi, let me start off by saying I'm a huge fan of this mod. It's truly incredible what you've done with it and I am eagerly looking forward to it's completion! I am also a computer programmer/mod maker for various other games and I know how frustrating things can be when you don't have tools to help you. Before I installed your mod, I was sorting through my mods to try to get rid of some mystery lag that would happen around 30-50 minutes into my gameplay. I eventually found the culprits (not your mod, since I hadn't installed it yet) through the help of a tool called "Badcoderz". This tool was designed to find un-optimized/CPU heavy code and give you a detailed report of where it occurred. You can even read the LUA file directly from the game by right clicking its' entry. It's a very impressive tool, despite it being branded as something to "annoy developers" with, and I think in the right hands (your hands that is) it will be quite useful.

Here's the workshop link for it: Badcoderz
Let me make this clear, your code is NOT bad, it's complex, impressive, and pushing Garry's Mod far beyond any other mod I've seen! I'm sharing this tool because it was difficult to find on the workshop for how useful it is. It's an extremely powerful tool for mod development that I hope will lessen your workload significantly.

Anyways, since I have experienced minor lag spikes with the splatoon sweps, which is to be expected considering how complex and advanced your mod is, I decided to try the tool out on it.

Here's the results I got for the client test:
Client Result

Result 1: "lua/splatoonsweps/client/autorun.lua", line 511 [ents.GetAll flagged]: The for loop to display marked enemies, uses the ents.GetAll() inside the loop, which is what was found by the tool.

Result 2: "lua/splatoonsweps/util.lua", line 341 [ents.GetAll flagged]: A for loop for an ally filter, uses the ents.GetAll() inside the loop, which is what was found by the tool. It also lists off 3 more lines with a clock on them (see the picture), I'm not sure what that means, but I think it might mean the function was repeatedly called by another LUA file.

Result 3: "lua/effects/splatoonswepshooterink.lua", line 192 [ents.GetAll flagged]: It calls the function in Entry 2 to get an ally filter list for the ink trace filter. The scanner detected ents.GetAll() inside the for loop and this is the reason it was detected.

Result 4: "lua/splatoonsweps/fixings.lua", line 46 [player.GetAll flagged]: A function for "Fix playermodel hull change", which I assume has to do with adjusting the player model to look correct when using your sweps. player.GetAll() inside a for loop is what was detected by the tool.

And here's the results I got for the server test:
Server Result

Result 1: "lua/splatoonsweps/fixings.lua", line 46 [player.GetAll flagged]: The same file as Result 4 for the client test. So it was detected for the same reason it was detected in the client test.

Result 2: "lua/weapons/weapon_splatoonsweps_inklingbase/init.lua", line 366 [file.Exists flagged]: This function for detecting if a specific player model related file was called 1352 times by "lua/weapons/weapon_splatoonsweps_shooter/weapon_nzap85.lua" [line 86]. Because the function in line 366 of init.lua has file.Exists() it was detected by the scanner, and for some reason the creator of the scanner.

These are the results I got from running the scan for 15 seconds, firing with the NES Zapper 89, and throwing a sprinkler (the sprinkler is what makes my game shutter the most, I have no idea why). I really hope these scan results help you. This tool can help you find much more if you do more things while it's scanning (like it says in the upper right corner of the pictures). I only did a small test and the tool can only detect code that is running during it's scan.

You've done a very good job of making your SWEPs have no impact on the performance of other mods, when I switch to a different weapon the lag goes away no matter how much I've covered the map or even if I have a sprinkler. I think this tool could help you achieve similar performance (if possible) while using your SWEPs too!

Anyways, I really don't know if anything I said will be useful, I hope it will be. You know your code far better than I do, or even this tool. I just think it would be awful for you to have to search search for sources of lag in your code by hand, when you could get the help of a hard to find, yet very useful tool instead. Your mod is truly one of a kind, and by far one of the most impressive mods I've ever seen. Keep up the great work!

Also there's 6 things I've learned about using this tool that might be helpful to know:

  1. It's activated by the console command "BadCoderz"
  2. It will lag a bunch while scanning, this is completely normal so do not be alarmed by it
  3. The tooltips for hovering over things like ents.getAll in the results will not appear until you right click it and connect to the garrysmod wiki from the mod, otherwise they'll be blank tooltips.
  4. The tooltips for hovering over the sub categories will always be blank (this is probably because garrysmod wiki domain was changed to the facepunch domain)
  5. It doesn't automatically re-open the scan menu unless you go into the options and check the box for it (as shown below)
    Options
  6. Even TFA shows up in this scanner, so it's not abnormal for a perfectly functional mod to show up in the results

Effects to be added

This is the To-Do list of effects (such as splashes) to be added

Basically I'd like to list ones which can be created by the Particle Effect System.

More effects will be added here.

  • Main weapons
    • Muzzle flash (rework)
    • Flying bullets from Shooters (rework, low priority)
    • Spin up effect of Splatling (rework, low priority)
  • Sub weapons
    • Predicted landing point when holding MOUSE2 with throwable ones (rework)
    • Disruptor (rework)
    • Point sensor (rework)
    • Black squid around marked players by the Point Sensor
    • Black squid that goes away from marked player when it expires
  • Special weapons
    • Black aura around the player activating the Echolocator
    • Black squids flying toward enemies when activating the Echolocator
    • Brighter red light at the ink tank when activating the Bomb Rush
    • the Bubbler, including activating/deactivating animations
  • Players
    • Splashes when swimming in the ink
    • Splashes when sticking at walls
    • Generic splashes used among many situations
    • Boiling effects on the head when the Special is ready
    • Flash on the head when the Special just gets ready
    • Jumping / landing on ground
    • Jumping / landing on the ink
    • Trails when performing Super Jump (rework)

Bugs

So I found these 2 bugs :

Bomb acting weirdly underwater
https://youtu.be/DhHEKp_ryog

Ink showing outside the skybox (idk)
20200927201618_1

I'm pretty sure that there are no addons that cause these bugs
Also sorry if my english is bad

Incorrect behavior of decaying shot spread

Currently, the Shooter's shot spread angle instantly resets to its initial value when you stop firing.
The correct behavior is to gradually return to normal.

Reference: Splatoon 2 patch note Version 5.3.0

  • When you stop firing, the shot spread gradually returns to normal, but with this fix, we’ve reduced the amount of time it takes to return.

Visual bugs

I was testing the new sub-weapons and noticed a few visual bugs.

https://youtu.be/pq7AloG21q0
and
darkink

Even with all addons disabled, the bugs still occur. I have no idea what what causes these bugs, but I'm guessing it's a problem with OpenGL.

Garry's Mod x86-64
OS : Fedora 34 x64 (linux)
GPU : Radeon RX 570 (8 GB)
CPU : Ryzen 7 3800xt

I don't know exactly how to reproduce these problems on Windows, but a launch option you can try is -r_emulate_gl. Hopefully that might help!

Unable to paint terrain + lua errors while in squid form swimming in ink

I've been trying multiple maps with this addon, but it looks like i'm unable to paint the terrain with any weapon (ink spreads, but doesn't color anything), while some of them won't even shoot (Roller, Paintbrush, etc.). It looks like i'm only able to paint only using secondary weapons (which work flawlessly).

OS: Windows 10
Gmod branch: x86_64
Mod build: code downloaded and mounted as for 07/20/2022

Nothing also seems to make conflict with the addon itself, so i'm not exactly sure what's causing that...

Also this is the LUA error that's showing up in the terminal and issues section, it seems like it will happen only while in squid form swimming in ink:

[splatoonsweps-master] addons/splatoonsweps-master/lua/splatoonsweps/movement.lua:369: bad argument #2 to '__add' (Vector expected, got userdata)
1. __add - [C]:-1
2. CheckParameters - addons/splatoonsweps-master/lua/splatoonsweps/movement.lua:369
3. SquidMove - addons/splatoonsweps-master/lua/splatoonsweps/movement.lua:1509
4. v - addons/splatoonsweps-master/lua/splatoonsweps/movement.lua:1617
5. unknown - lua/includes/modules/hook.lua:96

If screenshots and/or other stuff to track the issue will be needed, i'll provide them.

Generate the lightmap as PNG serverside and send it to the clients for multiplayer games

The new lightmap texture looks quite different from the base texture.

The previous way is as follows:

  • Read a lightmap for each face from the map
  • Perform an affin transform to it to fit the base texture's UV coordinates
  • Draw the transformed lightmap at the same location as the base texture

The new way is as follows:

  • Read a lightmap for each face from the map
  • Do not perform any transform to it but compute the appropriate UV coordinates
  • Now the lightmap texture has different UV coordinates and resolution from the base texture

The new way can be performed completely serverside and cached for later use.
The generated PNG file is not networked to the clients yet so it's unplayable .

'You aren't ready to splat yet!' message appears on EVERY map

I don't know why, but for some reason, even though I seemingly deleted all data (both in main gmod folder and downloads folder) related to the addon before reinstalling it, the weapons broke for me on ALL maps, only displaying the 'You aren't ready to splat yet! Try again later!' message with any attempt to equip them and these two error messages.
[splatoonsweps] addons/splatoonsweps/lua/splatoonsweps/client/autorun.lua:134: attempt to index local 'dataTable' (a nil value)
1. v - addons/splatoonsweps/lua/splatoonsweps/client/autorun.lua:134
2. unknown - lua/includes/modules/hook.lua:96
[splatoonsweps] addons/splatoonsweps/lua/splatoonsweps/client/userinfo.lua:22: bad argument #1 to 'Compress' (string expected, got no value)
1. Compress - [C]:-1
2. v - addons/splatoonsweps/lua/splatoonsweps/client/userinfo.lua:22
3. unknown - lua/includes/modules/hook.lua:96

Multiple issues

Ink doesn't appear properly it just makes the area hit slightly darker.

sub weapons don't work

super jump doesn't work. (I assume it isn't implemented yet)

Wall swimming can get a bit buggy like getting stuck in walls if it has a lip (rare occurrence unable to recreate consistently). but the fact you are able to do it at all is impressive.

setting ink color values to 0 or 26 give nil value error and makes all ink sprayed and on the ground permanently invisible.

squids eyes don't work properly very minor issue.

enable and disable fall damage doesn't work (tested with and without realistic fall damage installed)

Besides those issues the mod is really great much better than it's predecessor if you have a kofi link or a patreon i would love to support you in that way. I love the aiming the arms do if there is a wall or floor in the way. overall the mod is amazing keep up the good work.

PC specs
graphics card: GeForce GTX965M
Processor: Intel Core i7-4720HQ CPU
OS: Windows 10 version 1903

[Suggestion] Gel, similar to the gel in Portal 2

English: Using the ink code from here, Portal 2's repulsion and propulsion gel could be made. The current addons that implement this aren't worked on anymore, so this could be a possibility. It doesn't make sense for it to be in a Splatoon addon, but it's just an idea.
Japanese (Google translate): ここからのインクコードを使用して、Portal2の反発および推進ゲルを作成できます。これを実装する現在のアドオンはもう機能していないため、これが可能である可能性があります。それがスプラトゥーンアドオンにあることは意味がありませんが、それは単なるアイデアです。

No knockback on placing an Inkmine

In fact, placing an Inkmine has a slight knockback in the original game, but the SWEPs doesn't.

I'll add knockback system for the Inkzooka and will use it for fixing this.

Curved charger line

The charger line looks curved when noclipping and in thirdperson. It seems to do this with all playermodels and maps.

Steps to reproduce:

  1. Load into any map
  2. Equip a charger type weapon
  3. Go in thirdperson
  4. Noclip
  5. Charge the weapon

Screenshot
Screenshot_2022-10-02_18-00-57

Environment

  • OS: Arch Linux
  • Singleplayer
  • Addon version 2022.10.2

Add "intensity for glowing ink" option for night maps

Recent lightmap updates enables us to adjust the brightness of the ink almost properly in day maps.

There are still problematic things on night maps, something like the ink looks too dark.

It's preferable to add glowing ink feature and its intensity as one of visual settings for each map.

Insane "irregular" lag

Whenever I have one of the weapons selected it drop my fps to exactly 23. Exactly 23. If I add an npc with on of them (with me still holding one) it goes to exactly 13. Never higher, never lower. Add another and you have unplayable FPS. My pc is bad, but not that bad. What makes this happen? there are no errors

image

i am now realizing that my pc is just really bad but im still interested in what is causing intense resource use (and if i can fix it even temporarily on my end)

Ability to make areas inkable, uninkable and grates

Describe the idea you'd like

A way to create and/or edit existing surfaces' properties, changing their inkableness or making them pass-through in squid form.

Describe alternatives you've considered

Hardcoding more stock surfaces into being uninkable/grates

Additional context

Most maps feature custom surfaces that all default to solid inkable walls. This should not be the case for grates, glass, metal and etc. Some stock grates and iron surfaces already have their proper functionality, but most don't.

No delay between firing a Shooter and turning into squid again

There are delay between shooting a weapon and time to be able to become squid again.
Blasters, L-3 Nozzlenose, and H-3 Nozzlenose have significant one and they seem OK, but the other weapons seems to have no delay at all.

I believe there is for the other ones, it's really small amount, though.

Customizable subs and specials

One of the things I don't like in the original game is that the combination of main, sub, and special is fixed at all. I'd like to customize it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.