GoldenEye: Source Forums

  • September 19, 2021, 03:34:27 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1] 2  All   Go Down

Author Topic: Respawning Glass??  (Read 6577 times)

0 Members and 1 Guest are viewing this topic.

WatchMyTrace

  • Secret Agent
  • **
  • Posts: 97
  • Reputation Power: 0
  • WatchMyTrace has no influence.
  • Offline Offline
Respawning Glass??
« on: September 14, 2009, 07:50:29 pm »

How do make the glass repawn?

also; what texture are you using for the glass in control?
Logged

Doc.NO

  • 00 Agent
  • ***
  • Posts: 836
  • Reputation Power: 0
  • Doc.NO hides in shadows.
  • Offline Offline
Re: Respawning Glass??
« Reply #1 on: September 14, 2009, 08:29:35 pm »

glass in control are (mostly) props.
Logged

VC

  • Valiant Varanidæ, Citrus Jockey
  • Retired Developer
  • GE:S Fanatic
  • *****
  • Posts: 2,843
  • Reputation Power: 16
  • VC is working their way up.VC is working their way up.VC is working their way up.
  • Offline Offline
Re: Respawning Glass??
« Reply #2 on: September 15, 2009, 03:23:29 am »

Control glass is crap.  Library glass was a hack.

Glass is properly implemented in Beta 4.
Logged
"As for VC's scripts they have not broken the game at all, in fact the game has never felt better." -- KM
"(03:12:41 PM) KM: I would call you a no life loser, but you are useful"
"(03:12:59 PM) VC: Go ahead.  I am, and I am."

WatchMyTrace

  • Secret Agent
  • **
  • Posts: 97
  • Reputation Power: 0
  • WatchMyTrace has no influence.
  • Offline Offline
Re: Respawning Glass??
« Reply #3 on: September 15, 2009, 07:19:30 am »

What i need to know is how do i make my glass in the map I'm creating respawn? ive tried googling it with no luck, also what i'm looking for is any breakable glass texture that is tinted like the ones in control and library.

Can anyone point me in the right direction?

How do make the glass repawn?

??? wow i must have been real tired when i wrote that!
« Last Edit: September 15, 2009, 12:31:25 pm by WatchMyTrace »
Logged

Jeron [SharpSh00tah]

  • Level Designer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 3,003
  • Reputation Power: 53
  • Jeron [SharpSh00tah] has an aura about them.Jeron [SharpSh00tah] has an aura about them.Jeron [SharpSh00tah] has an aura about them.Jeron [SharpSh00tah] has an aura about them.Jeron [SharpSh00tah] has an aura about them.Jeron [SharpSh00tah] has an aura about them.Jeron [SharpSh00tah] has an aura about them.Jeron [SharpSh00tah] has an aura about them.Jeron [SharpSh00tah] has an aura about them.Jeron [SharpSh00tah] has an aura about them.
  • Offline Offline
Re: Respawning Glass??
« Reply #4 on: September 16, 2009, 02:51:28 am »

It will be fixed in B4 however, check out the "point_template" entity. Read up and enjoy lol
Logged

Complete: Ge_Runway (now under care of CC Saint); Ge_Caverns // W.I.P.:Ge_Streets; Ge_Depot; Ge_Train;

VC

  • Valiant Varanidæ, Citrus Jockey
  • Retired Developer
  • GE:S Fanatic
  • *****
  • Posts: 2,843
  • Reputation Power: 16
  • VC is working their way up.VC is working their way up.VC is working their way up.
  • Offline Offline
Re: Respawning Glass??
« Reply #5 on: September 16, 2009, 03:18:07 am »

You suggest he study a contrived and obsolete hack?
Logged
"As for VC's scripts they have not broken the game at all, in fact the game has never felt better." -- KM
"(03:12:41 PM) KM: I would call you a no life loser, but you are useful"
"(03:12:59 PM) VC: Go ahead.  I am, and I am."

WatchMyTrace

  • Secret Agent
  • **
  • Posts: 97
  • Reputation Power: 0
  • WatchMyTrace has no influence.
  • Offline Offline
Re: Respawning Glass??
« Reply #6 on: September 16, 2009, 05:02:32 pm »

ok ive been messing around with the curved control glass tied to props_physics_respawnable but the only glass prop i can find is the curved one is there more? and is there another way to do it not using physics so that the glass doesnt fall when pushed or in my case as soon as the map loads?
Logged

major

  • On Vacation
  • Retired Developer
  • 007
  • ****
  • Posts: 1,836
  • Reputation Power: 109
  • major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!
  • Offline Offline
Re: Respawning Glass??
« Reply #7 on: September 16, 2009, 06:46:56 pm »

Make the prop a prop_physics. And set flags: Don't take physical damage, motion disabled,prevent pickup, and prevent motion enable on player bump.

only the curved glass is a model, all others is just a func_breakable.
« Last Edit: September 16, 2009, 06:49:19 pm by major »
Logged
All view points are of my own and not associated with the team.

WatchMyTrace

  • Secret Agent
  • **
  • Posts: 97
  • Reputation Power: 0
  • WatchMyTrace has no influence.
  • Offline Offline
Re: Respawning Glass??
« Reply #8 on: September 21, 2009, 07:56:28 pm »

got it working using the method from library  :D  what a headache though!  >:(  hopefully by fixed in beta4 you mean simply using the entity func_rebreakable.

now i have another problem though, i'm trying to make armor spawn inside a moving elevator, is that even possible?
« Last Edit: September 21, 2009, 07:58:32 pm by WatchMyTrace »
Logged

VC

  • Valiant Varanidæ, Citrus Jockey
  • Retired Developer
  • GE:S Fanatic
  • *****
  • Posts: 2,843
  • Reputation Power: 16
  • VC is working their way up.VC is working their way up.VC is working their way up.
  • Offline Offline
Re: Respawning Glass??
« Reply #9 on: September 21, 2009, 09:56:38 pm »

You would need to spawn it at the top and allow it to fall into the elevator through one of those hatches that let action heroes get on top of elevator cars.
Logged
"As for VC's scripts they have not broken the game at all, in fact the game has never felt better." -- KM
"(03:12:41 PM) KM: I would call you a no life loser, but you are useful"
"(03:12:59 PM) VC: Go ahead.  I am, and I am."

kraid

  • Game Artist
  • 007
  • *****
  • Posts: 1,981
  • Reputation Power: 170
  • kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!
  • Offline Offline
    • my Homepage
Re: Respawning Glass??
« Reply #10 on: September 22, 2009, 12:21:33 am »

Why spawning ammo, armor, weapons, w/e inside of an moving elevator?

Just watch what happens on ge_citadel_luch when you destroyed the glass above the main room.
The gun will spawn, is falling to the ground and the engine will relocate it to it's spawning position.
The same thing would happen in your case.
As there is no possibility to attach the ge_w/e-spawner to another entity, simply because it's not supposed to be like that.

Do yourself a favor and place the weapon & ammo somewhere else not in the elevator.
Logged

VC

  • Valiant Varanidæ, Citrus Jockey
  • Retired Developer
  • GE:S Fanatic
  • *****
  • Posts: 2,843
  • Reputation Power: 16
  • VC is working their way up.VC is working their way up.VC is working their way up.
  • Offline Offline
Re: Respawning Glass??
« Reply #11 on: September 22, 2009, 12:54:19 am »

Easy fix: make the elevator a normal room and make the rest of the map a moving entity, or have a spawn in the "up" and "down" locations.  Sometimes you'll have two armors in there, but that's just to be fair to the guy who's been pushing the arrow button on the other floor for two minutes because he's not taking the stairs god damn it.
Logged
"As for VC's scripts they have not broken the game at all, in fact the game has never felt better." -- KM
"(03:12:41 PM) KM: I would call you a no life loser, but you are useful"
"(03:12:59 PM) VC: Go ahead.  I am, and I am."

kraid

  • Game Artist
  • 007
  • *****
  • Posts: 1,981
  • Reputation Power: 170
  • kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!
  • Offline Offline
    • my Homepage
Re: Respawning Glass??
« Reply #12 on: September 22, 2009, 03:34:50 am »

^^ROFL
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,472
  • Reputation Power: 345
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: Respawning Glass??
« Reply #13 on: September 22, 2009, 04:01:18 am »

Moving elevators suck in multiplayer anyway since there are issues with prediction and wrongful deaths. To sum it up, getting in an elevator with any type of lag and jumping will most likely cause pain infliction.

Spawning things in an elevator is just as bad, I suppose you *could* parent the spawner entity to the elevator, but that would probably not produce good results. The calculation to teleport the armor/ammo/weapon back to it's proper position uses the current position of the spawner entity as the test so that would not be so bad.
Logged

kraid

  • Game Artist
  • 007
  • *****
  • Posts: 1,981
  • Reputation Power: 170
  • kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!
  • Offline Offline
    • my Homepage
Re: Respawning Glass??
« Reply #14 on: September 22, 2009, 04:40:02 am »

It's not possible to parent the spawner to anything, there's simply no Parent parameter in there.
Creating one won't solve the problem, too. There's no code for it in the engine and Orangebox also seems to have a problem with func_door parented to a moving entity like Tracktrain.

It's also not possible to disable a ge_w/e-spawn entity in a map, otherwise i would suggest you to have the tracktrain activating the entity when it reached a certain pathnode and stoped there.
Ofc. it would have to be deactivated again if the elevator starts moving, otherwise the entity will simply relocate to it's spawn location and might block the elevator.

If you ask me, simply forget about this idea and return to the more vital things you have to take care of in your map.

I might have another idea soon, but first i need to check if it's working.
Logged
Pages: [1] 2  All   Go Up