Invis

Started by SchlumPF
09/06/2008 17:50
Page 1 of 3
SchlumPF09/06/2008 17:50(edited 30/10/2011 02:48)

This plugin will NOT BE SAFE for recording if you use it while recording. -SchlumPF

Invis

Description
A plugin to make all players or water invisible to the player who used the menu.
This will cause better performance (= more fps) for the player.

Credits
skyjur - for figuring out the Es_Origin effect in FM_AddToFullPack
xPaw - for telling me about the SpecHealth2 event to save a lot of CPU
Connor - for finding detections of two other ways to create water entities

More information in the readme.txt!

DOWNLOAD OF THE SOURCEFILES ON PAGE 3 - COMPILE YOURSELF
__________________________________________________________________

Water Types

func_water
The most common way to create water. It uses a lot of performance and has a feature to create waves.

func_illusionary
Another way to create water. It looks like a func_water with only two differences: The performance is much better and this way has no wave-feature.
To create such an entity simply set "Contents" in the entity properties to "-3".

func_conveyor
The third way of creating water. Ok, you cannot create water with func_conveyor alone. You can use this ent to get a nice effect of streaming water if you use such an entity with a water-texture and a invisible func_illusionary which is only needed to create the actual water.

NumB11/06/2008 15:50

Always wondered why it is not save to use this on wrs? This plugin dosn't change server-engine behaviour - it changes only the client part what has nothing to do with the server entity 'thinks'.

SchlumPF11/06/2008 15:56

Originally posted by NumB
Always wondered why it is not save to use this on wrs? This plugin dosn't change server-engine behaviour - it changes only the client part what has nothing to do with the server entity 'thinks'.


yep ^^ i did ask faker and he told me the main point why admins decided to disallow using such a plugin in wr demos was that it may look annoying to some ppl. but maybe there is a way to send wrong data to the player but correct data to the recorder or however i should call it xD but i guess its impossible with AddToFullPack because i think the record feature does just exactly write to a file what the player can see + coords etc.

skyjur11/06/2008 16:33

No water = easier (at least for me). Thats the point I think. Plugins should not make map easier.

Illusionary stuff makes no sense to engine behavior too. However it makes map harder since you can't see well where is the jump.

SchlumPF11/06/2008 20:59

just to say an example why allowing making water invisible for more fps in wr runs would be good: rabbithighways

SchlumPF26/06/2008 12:26

update, players can be invis while spectating to now

Lt.RAT26/06/2008 14:25

Originally posted by SchlumPF*
update, players can be invis while spectating to now

>> 07/26/2008
>> c: Changed the plugin to make players invisible while spectating

so, why it 07/26 ?)

Acidas26/06/2008 15:24

Lt.RAT please leave you contact, thanks :)

Lt.RAT26/06/2008 16:01(edited 26/06/2008 16:02)

Originally posted by SchlumPF*
update, players can be invis while spectating to now

and its not working for me, coz 1 little mistake :)

so, sources of equalized version http://www.sendspace.com/file/tqk1v9
and it have 1 improvment for menu and triggered after it FM_AddToFullPack...
add it to your version, if u want...

i dont want to post amxx file coz, my version of amxx is 176 and it have modified hamsandwich.ini.

PS i have only icq - 226997945

SchlumPF26/06/2008 16:28(edited 26/06/2008 16:52)

english format of date, but the month is wrong ;D
im going to fix the readme and the plugin + i add your idea to disable the water function if the map ahs no water

updated

SchlumPF05/10/2008 13:34

updated

SchlumPF20/11/2008 00:03

updated!!

cC|SpiNe26/11/2008 21:42

Sucks that water invis aint allowed, gives me way better fps :(

Seal- LV26/12/2008 12:16

I putted .sma and .amxx files in folders where it need to be, writed in plugins.ini (or smthn like this) I go in my new game serv, write /invis and nothing happens :/ please help!

SchlumPF26/12/2008 14:31

.amxx needs to be added in configs/plugins.ini
then restart your listenserver or open it
then say /invis

if this does not help... check whether you are using amxx 1.8 if not install it

check for errorlogs in the console too!

Seal- LV26/12/2008 17:58(edited 26/12/2008 18:07)

I installed amxx 1.8, but it ditn't work! Metamod, and hookmod worked, but not amxx :[ !
Edit:
L 12/26/2008 - 19:02:21: [AMXX] Plugin "invis.amxx" failed to load: Module/Library "hamsandwich" required for plugin. Check modules.ini <--from console... and i have it same for team changer!

SchlumPF26/12/2008 20:07

if you really installed amxx 1.8 that failure should not occure.
check your amxmodx/modules/ directory for a hamsandwich.dll file (dont know the exact name but in contains hamsandwich :P). if it doesnt exist reinstall the latest amxx nightly (download it from amxmodx.org) and if it does try to enable the module in the modules.ini (located in the configs dir)

Seal- LV26/12/2008 20:57

Ty! Dunno wtf happened, but it works!
But with one problem, when I put xj listenserver(downloaded from misc in download section) in my cs it changes back to 1.7, which files i don't need to move in cstrike folder?

SchlumPF23/06/2009 16:05

updated, two new types of water are made invisible + plr sound will now be turned off (old pluginw as buggy)

xPaw mapper23/06/2009 16:19

:)

Page 1 of 3

Please log in to post replies.