UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

five style window barrier

broken avatar :(
Created 11 years ago
by krimzon
0 Members and 1 Guest are viewing this topic.
2,773 views
broken avatar :(
×
broken avatar :(
Location: usIndiana
Date Registered: 13 September 2013
Last active: 2 years ago
Posts
66
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
krimzon's Groups
krimzon's Contact & Social Links
I'd like to make a five style window where the boards are on the ground and the zeds break the glass first then you can rebuild the window
i have my own prefab window built with the breakable glass
i assume you would:
 enter prefab
  ungroup the prefab
   repositon the boards to floor -not so sure that would work so simply now that i think about it how will the boards know to go to the window from the floor


how do i link the glass to be broken first before i can rebuilld the boards

http://modsonline.com/Tutorials-read-554.html
^this shows how to make a custom breakable blocker like the wall in Nacht der but i don't want to rebuild the glass just the window boards
Last Edit: September 19, 2013, 08:50:11 pm by krimzon
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 5 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
Signature

(Click to enter portfolio)
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
I don't know where the script resides for this but yeah most likely editing the custom script so that the glass is present in the beginning, it gets broken and then on re-board the windows are set up. I've never actually seen the script so not many specifics I can give you.
broken avatar :(
×
broken avatar :(
Location: usIndiana
Date Registered: 13 September 2013
Last active: 2 years ago
Posts
66
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
krimzon's Groups
krimzon's Contact & Social Links
i was hoping it was something i could do through script structs
 or just adding a mon brush to the window pane <-this might work but how would i make zombes target it

as of now i have the pane in my window its breakable by gunshot and the zeds climb straight through it the mon brush would fix this but i need to know how to make the zeds target it or more specifically just the inside pieces of the breakable pane so that i can optionally break it via gun/knife as in five to more quickly get the boards built

Last Edit: September 19, 2013, 09:01:55 pm by krimzon
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 5 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
i was hoping it was something i could do through script structs
 or just adding a mon brush to the window pane
You could always add a glass pane there with the windows but you also gotta make sure the zombies can cause damage and break the pieces, which once again will most likely be done through script.
broken avatar :(
×
broken avatar :(
Location: usIndiana
Date Registered: 13 September 2013
Last active: 2 years ago
Posts
66
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
krimzon's Groups
krimzon's Contact & Social Links
You could always add a glass pane there with the windows but you also gotta make sure the zombies can cause damage and break the pieces, which once again will most likely be done through script.

i'm sure this can be done w/o external script
i'm going to play around with a window prefab and see what makes it tick if i figure it out i'll post my findings

:edit:
it seems from observation that the order that the zombies target the boards is controlled by script_noteworty and then a number
my hypothesis is if i make my window pane have a script_noteworty value numbered one more than the last board they will target it also would have to name it the same targetname as my boards also give it a spawnflag of 0 i assume but would have to figure out how to keep it broken it might just remain broken if i keep the dest value

this will only work if i add the window pane to my prefab window
 i feel as though i've seen my next step in someone elses map does anyone know how to make a buildable window with the boards not originally on the window

my hypothesis is if the boards aren't built they'll target the window first

:edit: adding those values made them target the glass and it was still destroyable by shot/knife but makes it act the same as a board which makes sense

if anybody has an idea i'll gladly test it and let you know the effects
 at the moment i'm not worried about the boards being placed on ground upon spawn only making the glass targetable by zombies to destroy without it being rebuildable

probably will have to make my own glass sections to be broken in order and pieces like five's instead of using the dest window model

Last Edit: September 19, 2013, 10:49:49 pm by krimzon
broken avatar :(
×
broken avatar :(
Constants and Variables
Location: us
Date Registered: 18 August 2013
Last active: 2 years ago
Posts
889
Respect
Forum Rank
The Decider
Primary Group
Box Mappers Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
The Worst Secret Agent Ever
Signature
×
MAK911's Groups
Box Mappers Elite
Box Mappers Elite
Banned Elite
Banned Elite
MAK911's Contact & Social Linksmkramrtmkramrt
Did you ever figure out how this works?

 
Loading ...