[REQ] INS Fog control
Couldn't find out how to do this, so just wondering... could someone make me a plugin that creates fog in a map without the players having to download anything? Or them downloading would be necessary?
Thanks. |
Re: [REQ] INS Fog control
Not sure if this is possible...
Isn't there a plugin that spawns an entity? You need an env_fog_controller entity in your map. (Im pretty sure all the INS default maps have fog entities built in already) Anyone know if it would be possible to spawn an env_fog_controller, setting flag as Master to override any built in env_fog_controller's for the map? Im not 100% sure, but Im thinking the map's default fog is loaded before sourcemod and its plugins... |
Re: [REQ] INS Fog control
Ok so I found some console commands for fog, but the cvar that activates it is considered a cheat (fog_override)
Code:
fog_color -1 -1 -1Isn't there a plugin that changes the cheat flag of a specific cvar? |
Re: [REQ] INS Fog control
Those Cvars are clientside, sourcemod can not change them for clients. However, you could use Stripper: Source to add env_fog_controllers to your map, and assuming there isn't one already, it would take effect everywhere in the map.
http://www.bailopan.net/stripper/ You could do something as simple as this Code:
add:EDIT: If INS already has env_fog_controllers, then you want something like this. Code:
modify: |
Re: [REQ] INS Fog control
Yes stripper works for source.. wow thanks man.. I will try this later today or tomorrow, real busy.
Thank You a lot! |
Re: [REQ] INS Fog control
Hey it works without a flaw!
Quick question.. insurgency uses either light or light_environment entity , most likely light_environment for the sun entity, how do I modify that one? Quote:
|
Re: [REQ] INS Fog control
Or better yet.. how to change it to a moon? I'm trying to make a night map with fog.. If you could help me out with that.. that would be awesome! :)
|
Re: [REQ] INS Fog control
I am not sure for INS, but I believe that env_sun and env_moon are the sun and moon entities (in l4d anyways)
If not, most likely an env_sprite. If you know how to use hammer, open up the map in that and check out the entities, or do a stripper_dump in console and search the dump file for sun or moon, and edit accordingly. As for lighting, environment_light is indeed the light that comes from the skybox. To change skybox texture, edit the classname worldspawn, again look in the dump file, I would write out a cfg but my phone has no special characters, but il check in tommorow invade you can't get it. |
| All times are GMT -4. The time now is 04:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.