Changing a Normal Object into a Vehicle
Moderator: Moderators
- Blade
- Captain

- Posts: 496
- Joined: Fri Apr 04, 2008 11:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Changing a Normal Object into a Vehicle
Alrighty, I downloaded FragMe! and Caleb's house pack. I got them placeable in zeroedit, and I'm wondering something. Is there a way to change a normal object into a useable vehicle.
Like... could I take one of those houses, copy the x-wing odf into it, and change all the .msh calls, and have a house that can be flown? I'm kinda bored and I think this would be an immensely funny experiment.
Like... could I take one of those houses, copy the x-wing odf into it, and change all the .msh calls, and have a house that can be flown? I'm kinda bored and I think this would be an immensely funny experiment.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Changing a Normal Object into a Vehicle
I think that would work, but when you blow up you would turn into an x-wing
you would also need to change some other names like the mesh name .etc
But as far as I know (which is not a lot) it should work
you would also need to change some other names like the mesh name .etc
But as far as I know (which is not a lot) it should work
- Blade
- Captain

- Posts: 496
- Joined: Fri Apr 04, 2008 11:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Changing a Normal Object into a Vehicle
Ah, thank you, and as far as turning into an x-wing, that's not my biggest concern right now, I just want to see if i can get a flying house or wall working
Testing now
Testing now
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Changing a Normal Object into a Vehicle
Unless you wanted to pilot the house or wall, you could just animate them in Zeroeditor.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Changing a Normal Object into a Vehicle
it wouldnt work
you have to edit the model itself
a vehicle needs hardpoinst to know where to shot from..
you have to edit the model itself
a vehicle needs hardpoinst to know where to shot from..
- Blade
- Captain

- Posts: 496
- Joined: Fri Apr 04, 2008 11:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Changing a Normal Object into a Vehicle
Actually, while I know that's right (none of my "vehicles" have shot directly where the reticle is), I've gotten a few models to work. Now, for some reason, if I try to make one into a flyer, it crashes the map, but if I just make it a hover vehicle, it works fine. I'd post screenies, but as there really isn't anything you can see from a still image, I may have to make a video of them.
EDIT: and @ Frisbeetarian, I want to pilot them. I mean, who wants an animated health dispenser when you can drive one around and shoot people with it!
EDIT: and @ Frisbeetarian, I want to pilot them. I mean, who wants an animated health dispenser when you can drive one around and shoot people with it!
Last edited by Blade on Wed Jun 11, 2008 1:02 pm, edited 1 time in total.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Changing a Normal Object into a Vehicle
interresting
maybe the game uses the dummyroot for all hardpoints..
maybe the game uses the dummyroot for all hardpoints..
-
MandeRek
- Sith Master

- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: Changing a Normal Object into a Vehicle
This is simple to explain.
The flyer all got their own unique bones, which also use unique anims, so indeed, the building doesn't use this so can't work..
You don't NEED a hp_fire.. The result will be it shoots from the middle, and gives a note in the errorlog about a hardpoint not found.. No problem at all! Ground vehicles only need a dummyroot, the vehicle will move like all others, speed, rotation etc can be changed through the odf. Also, you can make the firepoints-names dummyroot, and change the 'offset' to the coordinates you want..
This is very good possible, and can be fun as well some times! Who doesn't want to have a flying house? The bad part is, that the assets models (especially houses) may miss a botom, meaning you look through it.. But still:
HOUSE WAR!!
The turning into X-Wing thing is also noncense; this is the chunk. It uses the x-wing chunk parts, so just use some common chunk parts who doesn't look like one particular model
The flyer all got their own unique bones, which also use unique anims, so indeed, the building doesn't use this so can't work..
You don't NEED a hp_fire.. The result will be it shoots from the middle, and gives a note in the errorlog about a hardpoint not found.. No problem at all! Ground vehicles only need a dummyroot, the vehicle will move like all others, speed, rotation etc can be changed through the odf. Also, you can make the firepoints-names dummyroot, and change the 'offset' to the coordinates you want..
This is very good possible, and can be fun as well some times! Who doesn't want to have a flying house? The bad part is, that the assets models (especially houses) may miss a botom, meaning you look through it.. But still:
HOUSE WAR!!
The turning into X-Wing thing is also noncense; this is the chunk. It uses the x-wing chunk parts, so just use some common chunk parts who doesn't look like one particular model
-
PsYcH0_]-[aMsT3r
- 2nd Lieutenant

- Posts: 405
- Joined: Fri Jan 25, 2008 3:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Location Location.
Re: Changing a Normal Object into a Vehicle
Lol couldnt you just change the odf into a vehicle and rename a few meshs then fly it? Since once i made a drivable wall just it didnt move lol 
- Blade
- Captain

- Posts: 496
- Joined: Fri Apr 04, 2008 11:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Changing a Normal Object into a Vehicle
Yes, I've gotten a normal Prop to behave as a tank, but for the reasons MandaRek stated above, a flying vehicle (such as a Droid Tri-Fighter) uses different... bones? was it? (I don't know much about models
) so you can't have an object that doesn't have those bones work right as a flyer. Also, admittedly, aiming is a hassle, as you can only aim straight forward, but hey, for a two-day project, I'm pretty pleased with my Noob modding skills 
Oh, and MandaRek, where could I find those chunks (as in, which would you reccomend I use?). And also, what would I need to edit in the odf to change the chunks.
Oh, and MandaRek, where could I find those chunks (as in, which would you reccomend I use?). And also, what would I need to edit in the odf to change the chunks.
-
MandeRek
- Sith Master

- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: Changing a Normal Object into a Vehicle
I suggest using com_mediumchunk1, adding it something like this:
This would also mean adding an explosion file.. Just copy paste one you want... Both chunk and explosion file line should be added to the odf
Code: Select all
CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "com_mediumchunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "1"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "-0.1 -0.1 0.2"
ChunkSpeed = "1.0"
ChunkUpFactor = "2.00"- Blade
- Captain

- Posts: 496
- Joined: Fri Apr 04, 2008 11:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Changing a Normal Object into a Vehicle
Hm, well I decided to try and make a fighter anyway
, and what i did was basically delete everything from the weapons section on down. I'm not sure if it truly IS NOT possible (I know I should believe you, but I have this insane desire to prove it wrong), but the error in the log was something about not being able to find the GeometryName I gave the fighter (I didn't copy the exact error, sorry).
I made sure I had everything spelled correctly, and also made sure I had the msh for the object I was converting it into in the right msh folder.
If this is what you expected to happen (Probably is), then tell me and I'll give the starfighter idea up...
for now 
Oh, also, if anyone has an answer to this question:
I made an Ewok model into a tank. It shows up fine in game and the AI can use it. But for some reason I can't get into it. Here's the odf for it.
I made sure I had everything spelled correctly, and also made sure I had the msh for the object I was converting it into in the right msh folder.
If this is what you expected to happen (Probably is), then tell me and I'll give the starfighter idea up...
Oh, also, if anyone has an answer to this question:
I made an Ewok model into a tank. It shows up fine in game and the AI can use it. But for some reason I can't get into it. Here's the odf for it.
Hidden/Spoiler:
- redgroupclan
- High General

- Posts: 867
- Joined: Thu Jan 24, 2008 11:47 pm
- Location: For less cheap gameplay - BF2 v1.1 server "NoEngineersAntiGlitch"
Re: Changing a Normal Object into a Vehicle
Lol I look forward to seeing fllying houses. Wait! *thinks about Calebs toilet props.....opens up BF2_Modtools!!*
