View Full Version : Depresuration.
Martin Logan
28-01-2008, 03:31 PM
Hi all I just thought of something that might be a good idea for the mod but I dont now if its possible.
If a ship like the battlestar is hit in a certain spot it might spawn a hole wich could lead to air flowing out of the ship this would be nown as depresuration.
So is this possible and do you think this is a good idea ?
Thanks for any replies in advance.
apollo
28-01-2008, 03:41 PM
I think for it to work it would require a whole host of scripting. Such that say a battlestar is hit by a nuke, there is a 1 in 100 chance of decompressions, then you could be asked what to do - vent, use handheld equipement with suits, handeld without suits, or ignore it. Each different response would result in a loss of manpower. Venting would depend on how many crew members were in the area to be vented, whether or not you waited to get them suits.
The longer you wait, the more the decompression spreads to other parts of the ship. So if you vent, you save the ship, but you might loose a lot of crew.
This might then need another script to give weight to the crew - making them something you don't want to loose. Say, reduced max speed, reduced acceleration, reduced weapons fire rate, reduced pilots.
Might overcomplicate things.
(I have no idea at all about scripting - so not a clue whether anything i said is remotely possible.)
Martin Logan
28-01-2008, 07:15 PM
I think what you suggest is a great way to simulate a certain loss of presuration as this event would make you lose crew in real life as well.
However I agree with you that this would be alot of scripting and I also dont now if its possible at all.
I also dont think there would be any way of simulating it in another way unless someone can make some stuff flow out of the ship showing the hole ??
apollo
28-01-2008, 07:21 PM
I don't think it would be possible to show a physical change to the ship. Scripting can't affect textures or models at all - and i dont think they can spawn effects either.
Martin Logan
29-01-2008, 02:30 PM
I do now of a missle that makes the outside of the ship burn.
If a nuclear bomb in the battlestar example is always going to make a hole with air leaking out the same effect for this particluar device could be used.
Or is this also impossible as the missle might be hardcoded ?
apollo
29-01-2008, 05:38 PM
The effect of the missile isn't hardcoded, but it's pretty limited in what it can - in terms of something like this anyway. Missiles can really only explode or cause shockwaves, there is no way I can think of to make the simulate air leaving the ship.
Martin Logan
29-01-2008, 06:21 PM
But then how does the missle I`m talking about make the ship seem to burn ?
When it hits my LX`s front I cant fight normally anymore because theres all this fire outside my ship a quick look outside confirms that.
But as said before I dont now if this missle can be modded however if this effect can be my idea of air leaving the ship should (Note should) be possible.
apollo
29-01-2008, 06:38 PM
Ant idea what missile type it is? It's been a while since I got hit by one.
Firestorm missle has that, that there is a flame after impact.
ninjitsumonk
30-01-2008, 10:52 AM
no scripts cannot spawn effects, but they can be simulated by creating a ship(or special object) that is in fact the special effect in itself.
For example the kha'ak animation can be simulated by spawning the animation ship, disabling its collision detection, setting its correct position and then rotating it to allow the shaders to work they're magic.
So essentially the same could be simulated by using a 3d calculation script to calculate the position that it should be in and then constantly calculate to set its correct position and hence simulating the animation required.
Unfortuntely you run into more problems when you try to calculate where bullets came from, so the best way to do it would be to get which sector the fire is coming from(fore, aft, port, starboard or more, depending on complexity of script.)
apollo
30-01-2008, 12:10 PM
Cheers ninjitsu, did you say it's possible to disable collision detection?
Elffin
30-01-2008, 06:28 PM
Cheers ninjitsu, did you say it's possible to disable collision detection?
I think she did....:shock: if possibile it might solve that problem we discussed :idea:
apollo
01-02-2008, 12:56 PM
I think she did....:shock: if possibile it might solve that problem we discussed :idea:
Yes - though, I wonder if no collision detection in that case would cause further problems.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.