Ok...here is the one post I promised above.
What I am currently working on regarding the interiors is editing the files inside trigger.img.
Each of those files can be edited with a text editor, I suggest very highly notepad++ due to it being opensource and very versatile.
Here is a example of what the files contain and a rundown of what I have figured out:
NPATHS 0
NPOINTS 16
NPERIMETERS 5
NTRIGGERS 9
NPOIS 0
PERIMETER
BEGIN
PLACEMENT "NLock02B"
ISDOOR FALSE
HEIGHT 1.000000
DEPTH 0.000000
NPERIMETERPOINTS 0
END
NTRIGGERS 0
PERIMETER
BEGIN
PLACEMENT "NLock02B"
ISDOOR FALSE
HEIGHT 1.000000
DEPTH 0.000000
NPERIMETERPOINTS 0
END
NTRIGGERS 0
PERIMETER
BEGIN
PLACEMENT "ESCDoorL"
ISDOOR TRUE
HEIGHT 1.000000
DEPTH 0.000000
NPERIMETERPOINTS 4
PERIMETERPOINTX -1.500000
PERIMETERPOINTY -1.000000
PERIMETERPOINTX -1.500000
PERIMETERPOINTY 7.000000
PERIMETERPOINTX 0.000000
PERIMETERPOINTY 7.000000
PERIMETERPOINTX 0.000000
PERIMETERPOINTY -1.000000
END
NTRIGGERS 1
TRIGGER
BEGIN
TRIGGERNAME "DT_DormExitDoorL"
AREACODE 14
POSITION -502.385010, 306.834991, 31.398701
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW -180.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
PERIMETER
BEGIN
PLACEMENT "ESCDoorR"
ISDOOR TRUE
HEIGHT 1.000000
DEPTH 0.000000
NPERIMETERPOINTS 4
PERIMETERPOINTX 0.000000
PERIMETERPOINTY -1.000000
PERIMETERPOINTX 0.000000
PERIMETERPOINTY 7.000000
PERIMETERPOINTX 1.500000
PERIMETERPOINTY 7.000000
PERIMETERPOINTX 1.500000
PERIMETERPOINTY -1.000000
END
NTRIGGERS 1
TRIGGER
BEGIN
TRIGGERNAME "DormExitDoorR"
AREACODE 14
POSITION -502.385010, 306.834991, 31.398701
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW -180.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
Just a quick edit here since I forgot to mention this.
DT_DormExitDoorL in the beginning of the code above tells us that this is a left hand exit door....in all reality this is the left door that you use to enter and exit the boys dorm (main entrance) and the other door will be labled
DT_DormExitDoorR and have much of the same code.
This small sample of code is from
BDorm_Doors.dat which is in the triggers.img file. Every file inside that archive is a dat file thats human readable.
this part of the code from the above section:
PLACEMENT "[color=red]ESCDoorR[/color]"
ISDOOR TRUE
HEIGHT 1.000000
is pretty easy to understand. The ISDOOR value is either true or false and it just tells bully wether that is in fact a door.
PLACEMENT portion just is the name of this particular part in the bully map...basicly its node name for lack of a better way of describing it. The HEIGHT is the height of the door in question. That value should never need to be messed with since obviously a door set at too low a value will be so small you cannot fit through it....lol.
The
NPERIMETERPOINTS parts are the coords of said door in the map which I think may be either different then the same coords used for spawn points...but they also may be linked in some way, have not exactly figured that part out just yet...lol.
This next code sample is what all of you can experiment with as I have been.....tho I will be messing with spawn points next to see if I can either link some or maybe override them somehow..
TRIGGER
BEGIN
TRIGGERNAME "DT_DormExitDoorL"
AREACODE 14
POSITION -502.385010, 306.834991, 31.398701
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW -180.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
This section is where the door triggers are able to be modded tho I have only managed to unlock a couple doors so far....namely just the nurse station outside the school and some the normally locked doors in the boys dorm which leads me to believe that there may be a way to enable the second floor of the boys dorm like the girls dorm has since I do know for a fact the beta had that which was cut for the final game.
ISLOCKED FALSE means that the door is not locked and can be opened by the player
like any other door and this also puts the blue circle in front of the door on the ground telling the player that its a door that can be interacted with by the player like any other door in the game.
ISMISSIONSPECIFIC means that if set to true then it is only available during a mission and when set to false means it is available all the time.
POSITION -502.385010, 306.834991, 31.398701 is the coords in the map where it is located...
and for the last bit of code for this post since its already a big one as it is...lol
here is the code specifically for getting the upstairs working however you will notice its missing the coords portions like the parts above.
POINT
BEGIN
POINTNAME "BdrDoorUpstairs5"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs4"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs3"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs2"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs1"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs6"
AREACODE 14
NPOINTPOINTS 0
END
If I could find the coords or have a listing of all known coords in the game....I could recode that and possibly get the normally inaccessible areas in the game accessible to everyone during any part of the game.
And for reference here is the full code for the file mentioned above:
NPATHS 0
NPOINTS 16
NPERIMETERS 5
NTRIGGERS 9
NPOIS 0
PERIMETER
BEGIN
PLACEMENT "NLock02B"
ISDOOR FALSE
HEIGHT 1.000000
DEPTH 0.000000
NPERIMETERPOINTS 0
END
NTRIGGERS 0
PERIMETER
BEGIN
PLACEMENT "NLock02B"
ISDOOR FALSE
HEIGHT 1.000000
DEPTH 0.000000
NPERIMETERPOINTS 0
END
NTRIGGERS 0
PERIMETER
BEGIN
PLACEMENT "ESCDoorL"
ISDOOR TRUE
HEIGHT 1.000000
DEPTH 0.000000
NPERIMETERPOINTS 4
PERIMETERPOINTX -1.500000
PERIMETERPOINTY -1.000000
PERIMETERPOINTX -1.500000
PERIMETERPOINTY 7.000000
PERIMETERPOINTX 0.000000
PERIMETERPOINTY 7.000000
PERIMETERPOINTX 0.000000
PERIMETERPOINTY -1.000000
END
NTRIGGERS 1
TRIGGER
BEGIN
TRIGGERNAME "DT_DormExitDoorL"
AREACODE 14
POSITION -502.385010, 306.834991, 31.398701
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW -180.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
PERIMETER
BEGIN
PLACEMENT "ESCDoorR"
ISDOOR TRUE
HEIGHT 1.000000
DEPTH 0.000000
NPERIMETERPOINTS 4
PERIMETERPOINTX 0.000000
PERIMETERPOINTY -1.000000
PERIMETERPOINTX 0.000000
PERIMETERPOINTY 7.000000
PERIMETERPOINTX 1.500000
PERIMETERPOINTY 7.000000
PERIMETERPOINTX 1.500000
PERIMETERPOINTY -1.000000
END
NTRIGGERS 1
TRIGGER
BEGIN
TRIGGERNAME "DormExitDoorR"
AREACODE 14
POSITION -502.385010, 306.834991, 31.398701
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW -180.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
PERIMETER
BEGIN
PLACEMENT "BdrDoorL"
ISDOOR TRUE
HEIGHT 1.000000
DEPTH 0.000000
NPERIMETERPOINTS 4
PERIMETERPOINTX -1.500000
PERIMETERPOINTY -1.000000
PERIMETERPOINTX -1.500000
PERIMETERPOINTY 2.000000
PERIMETERPOINTX 0.500000
PERIMETERPOINTY 2.000000
PERIMETERPOINTX 0.500000
PERIMETERPOINTY -1.000000
END
NTRIGGERS 7
TRIGGER
BEGIN
TRIGGERNAME "BdrDoorDownstairs1"
AREACODE 14
POSITION -517.804016, 315.747986, 31.415001
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW -180.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
TRIGGER
BEGIN
TRIGGERNAME "BdrDoorDownstairs2"
AREACODE 14
POSITION -507.493011, 315.806000, 31.415001
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW -180.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
TRIGGER
BEGIN
TRIGGERNAME "BdrDoorDownstairs4"
AREACODE 14
POSITION -488.197998, 315.829987, 31.415001
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW -180.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
TRIGGER
BEGIN
TRIGGERNAME "BdrDoorDownstairs8"
AREACODE 14
POSITION -516.554993, 321.075989, 31.415001
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW 0.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
TRIGGER
BEGIN
TRIGGERNAME "BdrDoorDownstairs7"
AREACODE 14
POSITION -511.307007, 321.052002, 31.415001
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW 0.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
TRIGGER
BEGIN
TRIGGERNAME "BdrDoorDownstairs6"
AREACODE 14
POSITION -490.471008, 321.096008, 31.415001
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW 0.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
TRIGGER
BEGIN
TRIGGERNAME "BdrDoorDownstairs5"
AREACODE 14
POSITION -486.895996, 321.097992, 31.415001
YAWPITCHROLL 0.000000, 0.000000, 0.000000
YAW 0.000000
ZHEIGHT 1.000000
ISMISSIONSPECIFIC FALSE
ISLOCKED FALSE
AMBIENT 149, 149, 149
USETIMECYCLE FALSE
HASPOPULATIONDATA 0
FORCEPOPREAD FALSE
HASAMBIENTVEHICLEDATA 0
FORCEVEHREAD FALSE
END
POINT
BEGIN
POINTNAME "DormExitDoorL"
AREACODE 14
NPOINTPOINTS 1
POINTPOINT -501.584991, 301.246002, 32.119999
POINTYAWPITCHROLL 270.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
POINT
BEGIN
POINTNAME "DormExitDoorR"
AREACODE 14
NPOINTPOINTS 1
POINTPOINT -503.669006, 301.252014, 32.090000
POINTYAWPITCHROLL 270.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
POINT
BEGIN
POINTNAME "BdrDoorDownstairs2"
AREACODE 14
NPOINTPOINTS 1
POINTPOINT -507.014008, 314.026001, 31.514999
POINTYAWPITCHROLL 90.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
POINT
BEGIN
POINTNAME "BdrDoorDownstairs1"
AREACODE 14
NPOINTPOINTS 1
POINTPOINT -517.297974, 313.852997, 31.424999
POINTYAWPITCHROLL 90.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
POINT
BEGIN
POINTNAME "BdrDoorDownstairs4"
AREACODE 14
NPOINTPOINTS 1
POINTPOINT -487.683014, 314.033997, 31.705000
POINTYAWPITCHROLL 90.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs5"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs4"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs3"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs2"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs1"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorUpstairs6"
AREACODE 14
NPOINTPOINTS 0
END
POINT
BEGIN
POINTNAME "BdrDoorDownstairs5"
AREACODE 14
NPOINTPOINTS 1
POINTPOINT -487.510986, 322.996002, 31.660000
POINTYAWPITCHROLL 270.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
POINT
BEGIN
POINTNAME "BdrDoorDownstairs6"
AREACODE 14
NPOINTPOINTS 1
POINTPOINT -490.937988, 322.984009, 31.684999
POINTYAWPITCHROLL 270.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
POINT
BEGIN
POINTNAME "BdrDoorDownstairs7"
AREACODE 14
NPOINTPOINTS 1
POINTPOINT -511.734985, 322.713013, 31.715000
POINTYAWPITCHROLL 270.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
POINT
BEGIN
POINTNAME "BdrDoorDownstairs8"
AREACODE 14
NPOINTPOINTS 1
POINTPOINT -517.101013, 322.906006, 31.605000
POINTYAWPITCHROLL 270.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
POINT
BEGIN
POINTNAME "DT_DormExitDoorL"
AREACODE 0
NPOINTPOINTS 1
POINTPOINT 271.162994, -116.274002, 6.415840
POINTYAWPITCHROLL 90.000000, 0.000000, 0.000000
POINTLABEL ""
POINTPICKUPNAME ""
POINTSFXID ""
POINTSOUNDBANKID ""
POINTSFXVOLUME 1.000000
STREAMFADEINTIME 0
STREAMFADEOUTTIME 0
POINTSML 0
STARTHOUR 0
ENDHOUR 0
WEATHERMASK ""
USEOCCLUSION FALSE
POINTMISSIONSPEC FALSE
MISSIONNAME ""
POINTPERMANENT FALSE
POINTTAG 0
PICKUPBUTES ""
END
hope some of this has made any sense to the non coders out there.
Any ideas in this thread are much appreciated.