Zombine's Coding Cabana

Zak

Resident xenophile
Joined
Apr 26, 2016
Messages
5,887
Nebulae
16,124
as much as i would fucking love to have a vmf loader and editor in game, I think that's a bit out of my skill range. Especially the loader, as I'd have to decode the files into something lua can interpret...
Well, bsp data is stored in vmf files like this
Code:
solid
        {
            "id" "1857"
            side
            {
                "id" "3185"
                "plane" "(1280 4608 800) (1280 5120 800) (2048 5120 800)"
                "material" "TOOLS/TOOLSNODRAW"
                "uaxis" "[1 0 0 0] 0.5"
                "vaxis" "[0 -1 0 9] 0.5"
                "rotation" "0"
                "lightmapscale" "64"
                "smoothing_groups" "0"
            }
            side
            {
                "id" "3186"
                "plane" "(1280 5120 520) (1280 4608 520) (2048 4608 520)"
                "material" "CONCRETE/CONCRETECEILING004A"
                "uaxis" "[1 0 0 0] 0.25"
                "vaxis" "[0 -1 0 45] 0.25"
                "rotation" "0"
                "lightmapscale" "64"
                "smoothing_groups" "0"
            }
            side
            {
                "id" "3187"
                "plane" "(1280 4608 520) (1280 5120 520) (1280 5120 800)"
                "material" "METAL/METALHULL003A"
                "uaxis" "[0 1 0 0] 0.25"
                "vaxis" "[0 0 -1 0] 0.25"
                "rotation" "0"
                "lightmapscale" "64"
                "smoothing_groups" "0"
            }
            side
            {
                "id" "3188"
                "plane" "(2048 5120 520) (2048 4608 520) (2048 4608 800)"
                "material" "METAL/METALWALL025A"
                "uaxis" "[0 1 0 0] 1"
                "vaxis" "[0 0 -1 288] 1"
                "rotation" "0"
                "lightmapscale" "64"
                "smoothing_groups" "0"
            }
            side
            {
                "id" "3189"
                "plane" "(1280 5120 520) (2048 5120 520) (2048 5120 800)"
                "material" "METAL/METALHULL003A"
                "uaxis" "[1 0 0 0] 0.25"
                "vaxis" "[0 0 -1 0] 0.25"
                "rotation" "0"
                "lightmapscale" "64"
                "smoothing_groups" "0"
            }
            side
            {
                "id" "3190"
                "plane" "(2048 4608 520) (1280 4608 520) (1280 4608 800)"
                "material" "METAL/METALWALL025A"
                "uaxis" "[1 0 0 0] 1"
                "vaxis" "[0 0 -1 288] 1"
                "rotation" "0"
                "lightmapscale" "64"
                "smoothing_groups" "0"
            }
            editor
            {
                "color" "0 178 171"
                "visgroupshown" "1"
                "visgroupautoshown" "1"
            }
        }
 
Reactions: List

Ayrism

Electron
Joined
May 16, 2016
Messages
589
Nebulae
215
@Zombine what are the implications of coding something for mpf to be able to use a key to unlock all doors that are authorized with a command

i.e do /unionauthdoor on a door and any mpf or ota can unlock/lock the door

the ic part of it will be a new WI project if its possible.
 

Ayrism

Electron
Joined
May 16, 2016
Messages
589
Nebulae
215
So.... combine locks?
The usage of it would be things like opening apartment doors or shops that don't have combine locks, but you don't want to /kickdoor it because that's 99able apparently.
 

cns - he/him/his

The Winner
Joined
Apr 26, 2016
Messages
23,638
Nebulae
65,342
The usage of it would be things like opening apartment doors or shops that don't have combine locks, but you don't want to /kickdoor it because that's 99able apparently.
use combine locks or shoot the door, its simple
 

Ayrism

Electron
Joined
May 16, 2016
Messages
589
Nebulae
215
in hl2, you don't see cp units really giving two shits about the amount of doors available to the citizenry

they're not that caring
ok i'll put a combine lock on this person's apartment door

oh they're not a redtier who has a card? well fuck them xd.

remember, this is more so for shops and apartments, not restricted areas.
 

Deleted member 374

jesus christ denton
Joined
Apr 26, 2016
Messages
11,399
Nebulae
23,205
ok i'll put a combine lock on this person's apartment door

oh they're not a redtier who has a card? well fuck them xd.

remember, this is more so for shops and apartments, not restricted areas.
they can kick or shoot the door if they really need to go inside
 

JustOrangeTea

Everybody Wants To Rule The World
Joined
Apr 26, 2016
Messages
353
Nebulae
308
What sperg would 99 a unit for kicking a door down

if you get 99d for kicking open a door, please tell me so I can shit on the dispatch who issues it.
Ahem, he kicked open 3 sets of doors outside of the d4 exit area for no reason, one of them had a restricted combine lock on and didnt report a thing. then flippy said 99 so he got it
 
Reactions: List