Blockland Forums > Modification Help

Rallypack Weapons [WIP]

Pages: << < (123/158) > >>

Crook:

Going to change sniper behavior in the next update:
- Removing "sway" penalty which causes bullets to consistently push away from the crosshair in the direction you're swaying the weapon
- Adding camera shake to induce some kind of 'drunk cam' effect when you have a sniper rifle which makes it difficult but not impossible to hit targets
- Bipoding removes this effect, crouching lessens it
- Penalty for moving while trying to shoot is still there

This should deobfuscate snipers a little bit without making them too easy to use

Swollow:


--- Quote from: Crook on October 17, 2020, 01:42:33 PM ---Very cool. Any tips on how to optimize checking for collisions with the rotor blades? My kneejerk solution is to just spam raycasts 360 around the rotors but I'm imagining some kind of container check needs to precede this

--- End quote ---
ya you want to use a container check layer first, then within the container check you should check for player collisions and do the math for their position because you want the propellers to interact with players reliably, then if there are bricks present in the container check i advise shooting out about 20-60 raycasts out in 360 on the propeller axis, this should happen every tick, if you want a lot of helicopters to be present in your game keep the raycast number as low as you can but modify a base angle for the raycasts every tick so that it gets the full range of raycasts over a few ticks, using a relativley small amount for each tick, having the propellers interact with bricks can be done sloppily without any notice

also another tip is: use applyImpulse to give the helicopter small amounts of sway

there should actually be a big zip folder of my mad max gamemode somewhere in mod discussion that has the full helicopter code in it, although it might be a little out of date it has a lot of helpful math and things in it

adel:

 
stuff im making and sending rally because i have nothing else to do

jarelash:

yes yes yes p90 yes

Biqus:

Top gun is bad the bottom gun is good

Pages: << < (123/158) > >>

Go to full version