how do I Make captial ships explode?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
stealthunt3r
Private Recruit
Posts: 22
Joined: Mon May 12, 2014 6:37 pm
Projects :: Clones Revenge
Games I'm Playing :: star wars
xbox live or psn: No gamertag set

how do I Make captial ships explode?

Post by stealthunt3r »

Pretty much like the topic is, how do i make them explode? I've seen it done in A KOTOR galactic conquest mod but those were custom models. I would like to, if possible just use the stock one.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: how do I Make captial ships explode?

Post by razac920 »

The only reason the stock ones don't is because they have ridiculously high health and health respawn. For example, all_cap_rebelcruiser.odf has
MaxHealth = "999999.0"
AddHealth = "50000.0"
You'll want to remove health respawn, and have a more reasonable health. I'm not sure if there is an explosion effect in place (it might just disappear when destroyed) so add one if needed.
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: how do I Make captial ships explode?

Post by AnthonyBF2 »

Heh, we did this a long time ago on our server manager for the PS2 version of the game.
Once we lowered the capitol ship's health to 0, it just disappears. There are no effects or chunks.

And even then, the capitol ships are in 3 or 4 pieces and you would need to first get a modelling person to combine them, and then to make chunks, and maybe a large effects files so it looks real (maybe how they explode in EAW will be cool)

Then, you'll sill have a floating hangar, and some floating unprotected rooms...
After we broke the capitol ship objects, we then had a blast dropping ship bombs into the little rooms completely torturing the souls of the troops inside.

You would also need to make the hangar, and every single other object inside of part of the capitol chunks.
The best someone could probably do is make a script that would detect when the capitol ship is broken and kill every other object, turrets, and rooms at the same time so they disappear while the explosion happens.
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: how do I Make captial ships explode?

Post by hunpeter12 »

Or check via LUA when it's health is say at 10, and then use procedural animation + some effects to make it look like it explodes into chunks - stock capital ships are made of multiple parts anyway. To make it more more believable you need some modeling, of course.
stealthunt3r
Private Recruit
Posts: 22
Joined: Mon May 12, 2014 6:37 pm
Projects :: Clones Revenge
Games I'm Playing :: star wars
xbox live or psn: No gamertag set

Re: how do I Make captial ships explode?

Post by stealthunt3r »

So would it be possible to edit the stock ships? I mean i can make new ones but i would like to know if i could edit the stock ones before i do that
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: how do I Make captial ships explode?

Post by hunpeter12 »

If you make a new space map, and open it in ZE you will see that each of the capital ships (but not the frigates) are made up of several smaller parts. That may work to your advantage. If you take the time, use some custom models and effects and procedural (in-editor) animation + some LUA code, you can have a pretty cool explosion, with the ship breaking into parts etc. Of course that's a lot of work.
Hidden/Spoiler:
I thought of this idea once: Edit the stock capital ships, so they're made up of even more parts, and make these parts destroyable with proper explosion effects, jagged/burned edges and such. If you know Star Wars Empire at War, then think about its hardpoint system. This would be similar to that.
stealthunt3r
Private Recruit
Posts: 22
Joined: Mon May 12, 2014 6:37 pm
Projects :: Clones Revenge
Games I'm Playing :: star wars
xbox live or psn: No gamertag set

Re: how do I Make captial ships explode?

Post by stealthunt3r »

Well i went into the game after i did what razac920 suggested and saw that it just disappear's. I'm fine with having the work and everything. But what could i use to animate the pieces falling apart? I'm good with blender but what I read on the forms is that it's not possible to put animations from blender into battlefront. I've tried something called softimunge but had no success in trying to figure it out (yes i tired looking for tutorials). So what is the best thing i can use for the model and animations?
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: how do I Make captial ships explode?

Post by AnthonyBF2 »

Zero Editor allows you to make animations to objects you place in your world.
We have tutorials for that but I think they are a bit sloppy, or the only one I found was impossible to read.

Jedimosse32 is working on modding videos soon and he said he will make one about ZE animations.

Stick around his topic within the next week or so and you'll have it. :thumbs:
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: how do I Make captial ships explode?

Post by AceMastermind »

anthonybf2 wrote:Zero Editor allows you to make animations to objects you place in your world.
We have tutorials for that but I think they are a bit sloppy, or the only one I found was impossible to read.
You still have yet to say which tutorial is "sloppy" and "impossible to read". If this is a problem then we need to fix it, but you need to specify which tutorials and which parts need to be clarified.

The procedural-animation-mode.doc that came with the modding tools is well written and easy to understand.

BF2_ModTools\documentation
stealthunt3r
Private Recruit
Posts: 22
Joined: Mon May 12, 2014 6:37 pm
Projects :: Clones Revenge
Games I'm Playing :: star wars
xbox live or psn: No gamertag set

Re: how do I Make captial ships explode?

Post by stealthunt3r »

So I edited the stock capital ship a bit using blender. but why does it look like this ---> http://prntscr.com/6rv3xo
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: how do I Make captial ships explode?

Post by thelegend »

I don't use blender to create models but it looks like you just opened a part of the ship. All capital ships in bf2 are divided into a few parts.
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: how do I Make captial ships explode?

Post by hunpeter12 »

I think he means why the model is black. Did you use this method to export your models? If you didn't you should give it try. I never had any texture problem with it.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: how do I Make captial ships explode?

Post by THEWULFMAN »

You need to be more specific about the issue. "why does it look like this?" doesn't tell us what we need to know. I can't even begin to guess what your problem is.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: how do I Make captial ships explode?

Post by jedimoose32 »

anthonybf2 wrote:Jedimosse32 is working on modding videos soon and he said he will make one about ZE animations.

Stick around his topic within the next week or so and you'll have it.
Indeed, but I have to agree with Ace, and say that it's really best for stealthhunt3r to read the documentation. There's a really good chance that he won't need a video tutorial to get it.
stealthunt3r
Private Recruit
Posts: 22
Joined: Mon May 12, 2014 6:37 pm
Projects :: Clones Revenge
Games I'm Playing :: star wars
xbox live or psn: No gamertag set

Re: how do I Make captial ships explode?

Post by stealthunt3r »

I'm fine reading the doc. I followed the hunpeter12 gave me but when i get to the part to unwrap it, the textures aren't showing properly.

this is it before i unwrap it ---> http://prntscr.com/6s7r2g

and this is what happens after I unwrap ----> http://prntscr.com/6s7tn7

Is this fine or did I do something i wasn't suppose to or did I do something extra?
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: how do I Make captial ships explode?

Post by hunpeter12 »

You only have to unwrap/UV if you're making a new model, I should've told you that since the tutorial is mainly focusing on how to make a new object. You don't have to unwrap, just edit the model itself. You might have to change the UV's a bit though/add new textures to make the final result look believable. Unfortunately I don't have that much experience with modeling, so I can't be of much help on this part.
Post Reply