AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   VSH / Freak Fortress (https://forums.alliedmods.net/forumdisplay.php?f=154)
-   -   FF2 Would this type of blind be possible to recreate? (https://forums.alliedmods.net/showthread.php?t=233546)

xXDeathreusXx 01-16-2014 12:01

Would this type of blind be possible to recreate?
 
http://www.youtube.com/watch?v=T44M5ExqTgs

xXDeathreusXx 01-16-2014 23:08

Re: Would this type of blind be possible to recreate?
 
I know it could be possible to do since it's been done, but I want to know if it's possible with the current abilities or with minimal coding

ezetna 01-17-2014 05:20

Re: Would this type of blind be possible to recreate?
 
Quote:

Originally Posted by xXDeathreusXx (Post 2086792)

In the video, using env_fog_controller

friagram 01-17-2014 08:38

Re: Would this type of blind be possible to recreate?
 
You have to manually add env_fog_controllers to maps that don't have them, before the map starts. One way is stripper source, but there are others.

You can enable /disable and change the color and such via sourcemod anytime after the entity is created.

xXDeathreusXx 01-17-2014 11:59

Re: Would this type of blind be possible to recreate?
 
Oh, so it's rather simple actually then, so how do I use stripper so add the controller? I currently use to to change koth logic to arena logic

Snaggle 01-17-2014 15:39

Re: Would this type of blind be possible to recreate?
 
It's fairly simple to do.
PHP Code:

add:
{
    
"classname"    "env_fog_controller"


I've not tested, but I would assume that will work.

xXDeathreusXx 01-17-2014 15:47

Re: Would this type of blind be possible to recreate?
 
Quote:

Originally Posted by Snaggle (Post 2087314)
It's fairly simple to do.
PHP Code:

add:
{
    
"classname"    "env_fog_controller"


I've not tested, but I would assume that will work.

As simple as that is, do I need to append it to a .cfg file for each map, or have it just in the global filters??

Snaggle 01-17-2014 15:54

Re: Would this type of blind be possible to recreate?
 
If you're planning on having it on all maps, you could put it in the global filters yes. I do not know if this will cause conflicts with maps that already have a controller though, not sure if adding 2 will cause issues or not.

If it does, you can probably write a global one to remove any fog controllers and then add your own one in. At least that way you'll be sure there is only 1 at any time.

Chdata 01-17-2014 21:00

Re: Would this type of blind be possible to recreate?
 
I think the only issue would be if two are trying to do stuff at the same time.

But if you want, you can always give your env_fog a random targetname

"targetname" "sm_fog_controller"

and delete any other fog filters without that targetname


You probably don't even need stripper and could just spawn it if the entity doesn't exist. If it already exists, use that one. If the map came with one, now you don't have to worry about conflicting fogs because you'll overwrite whatever that one is doing.

See ForceTeamWin in saxtonhale.sp

xXDeathreusXx 01-19-2014 20:39

Re: Would this type of blind be possible to recreate?
 
Ok, so I think I know what I need to do, but it doesn't seem to work, should I spawn the entity on map start, round start, or create a timer for the boss that needs this to turn on the fog? And, what density and startdist should I use if I wanted to recreate the one in the video.


All times are GMT -4. The time now is 16:55.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.