Chalwk / HALO-SCRIPT-PROJECTS

:white_check_mark: Halo PC|CE - Add-ons for Phasor V2+ and SAPP :new_zealand:
Other
32 stars 13 forks source link

Player Vanish Script #48

Closed Sinisterhpc closed 5 years ago

Sinisterhpc commented 5 years ago

Will the script be for Halo PC, CE or BOTH?

What server extension are you using?

Will the script be run on a custom map? (non stock)

Will the script need to be map and/or gametype specific?

Script Details:

write your description here...

Hello, basically, what this script does, is vanishes the player who enable it with a command while scrim_mode on, other players cannot see the player but the player can kill normally, and it can also boost the player where he aims at, I'm really interested in a script like that, it already exists but I'm not sure who is his creator, I've played scrims recently and the player who has it has used it and it's impossible to kill him, it would be really great if you could create it, please, I've also got a fragment of screenshot of the script, hope it helps as reference of the original script.

script

Thank you so much.

Chalwk commented 5 years ago

Sure thing. I'll see what I can come up with.

Sinisterhpc commented 5 years ago

Thank you so much, I really appreaciate it!

Chalwk commented 5 years ago

Alright, here you go.

link to mod

If you discover any bugs or want anything changed, let me know (:

~edit: When scrim mode is enabled, Lua Scripts and Naughty Commands are disabled. This script won't work in scrim mode.

Sinisterhpc commented 5 years ago

Omg, this is a really awesome work!, it works pretty cool, thank you so much!

btw I have found some things while using it, one of them is the scrim_mode on, but you've answered that already, also when changing map and gametype it stops working, I need to use /reload command so it works again, is there any reason causing that?, other than that, it works pretty awesome, I'm really happy about this script, you're a master.

Here's a video: https://youtu.be/0FEAV8BXWwQ

Edit: I tried to use /vanish me, and it seems it's not working.

Chalwk commented 5 years ago

Cool man! Glad you like it. The script has been updated with bug fixes. I was able to reproduce the same problem you described and fixed it.

New setting:

If this is true, vanish will be auto-disabled (for all players) when the game ends, thus, players will not be in vanish when the next game begins. Note: All parameters are now reset when you execute /reload, as such, there is now a private message sent to the player, letting them know that their Vanish has been auto-deactivated when SAPP is reloaded.

~edit
Updated again (forgot something)
Sinisterhpc commented 5 years ago

Wow, this is just fantastic, I'm so happy with this script, it's working great now.

Here's a video I recorded: https://youtu.be/liyrcVUS7Oo

You're really great at your projects, I'm really thankful to you for making this possible, big shout-out to you and your work.

Chalwk commented 5 years ago

@Sinisterhpc No worries! I am closing this ticket now, but if you need to report any bugs or want something changed, feel free to reopen it.

Chalwk commented 5 years ago

@Sinisterhpc I have updated this mod with a new feature and bug fix:

vanish.hide_vehicles

If this is enabled, your vehicle will disappear too!

BUGFIX:

Vanished players will now disappear from the radar.

Sinisterhpc commented 5 years ago

@Chalwk77 That's the touch that made this script perfect!

It's working so great! https://youtu.be/3QDT36Rw9N0

btw, I do have a question, when I use the vanish command the server prefix changes to**SERVER**, it can be customized? like instead of changing it to **SERVER**, it can change to ** Admin **, so the messages have a space between the prefix and the text, for example:

How it looks currently: **SERVER**You're playing on X server.

How it would look: ** Admin ** You're playing on X server.

Thank you!

Edit: I've found what's causing to show the prefix like that:

That's how currently is on the script. vanish.serverprefix = "**SERVER**"

It needs to be like this:

vanish.serverprefix = " **SERVER** "

Chalwk commented 5 years ago

Hello. Script Updated with a couple of improvements and minor bug fixes.

This will probably be the last update for this mod unless bugs are found or additional features are requested.

Sinisterhpc commented 5 years ago

Hello! this is so awesome!

I've tested it and it's working great so far, I'm really happy with this update. Thank you so much for all the work you done on this script, I'll let you know if there any bugs or additional features want to be added.

Only a question, this script has god mode, when I use it, I stay in front of a warthog and my friend can still kill me with it, do I need to enable that function?

Edit: I tested it again, and it seems to be working great now. Thank you so much!

Chalwk commented 5 years ago

Edit: I tested it again, and it seems to be working great now. Thank you so much!

Awesome man!

Chalwk commented 5 years ago

I wasn't planning on updating this mod again, but someone else pointed out a bug, which I have fixed in the latest updated (v1.5). I also took the opportunity to make some documentation edits (see changelog at the bottom of the script), and also added a new setting.

New setting: vanish.hide_from_radar -> If this is true, you will be hidden from radar.

Sinisterhpc commented 5 years ago

This script is working great for me, it's awesome! I'll let you know if there are any bugs, or any features want to be added.

Thank you so much!