Vehicles and other questions
Moderator: Moderators
-
adventfear
- Rebel Sergeant

- Posts: 199
- Joined: Fri Feb 29, 2008 3:46 pm
Re: Vehicles
It won't let me spawn:
Flyers
AT-TEs
Hailfires
STAPs
It will let me spawn:
IFTs
AATs
BARC Speeders
Do those top ones need some special odfs transfered?
Flyers
AT-TEs
Hailfires
STAPs
It will let me spawn:
IFTs
AATs
BARC Speeders
Do those top ones need some special odfs transfered?
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Vehicles
They need everything copied into your side folder and the odfs need to be called in the luas. Did your read the getting started doc, because none of us can explain it as good as that.
-
adventfear
- Rebel Sergeant

- Posts: 199
- Joined: Fri Feb 29, 2008 3:46 pm
Re: Vehicles
Well, got the AT-TE finally working after TWO DAYS. Only problem: No sound from the stomping or weapons.
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Vehicles
Open the odf and add the sound files you want.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Vehicles
The odf already has all the sound references in them the problem is that not all world sound files have the walker sounds. What you will need to do is in the LUA change the line ReadDataFile("sound\\yav.lvl;yav1cw") to a world that would normally have the ATTE I would suggest ReadDataFile("sound\\geo.lvl;geo1cw") now the problem with this is you may now get the walker sounds but may lose some other ones. The other thing you could do is make a custom sound file which would have all the sounds required for the ATTE but the first way I mentioned is easier.
- tsurugi13
- Lieutenant Colonel

- Posts: 543
- Joined: Mon Dec 17, 2007 6:16 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Battling the ISA menace on Helghan.
Re: Vehicles
You need to add those to the .lua. It should look like this:
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_cloakedanakin",
"rep_hover_barcspeeder") << replace with what you want or just add.
ReadDataFile("dc:SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"sit_hero_revan",
"cis_hover_aat")
Sorry for the mess, code buttons not working?
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_cloakedanakin",
"rep_hover_barcspeeder") << replace with what you want or just add.
ReadDataFile("dc:SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"sit_hero_revan",
"cis_hover_aat")
Sorry for the mess, code buttons not working?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Vehicles
Appreciate the helpfulness, but there's no need to make a new topic to answer his question. (Especially since the documentation still covers this in addition to the fact that it's been posted countless times.)
-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Re: Vehicles
yea lol, i made this, then realized he already answered it, so w/e
-
adventfear
- Rebel Sergeant

- Posts: 199
- Joined: Fri Feb 29, 2008 3:46 pm
Re: Vehicles
Great, now the droid starfighters won't show. What do I have to type into the LUA: droidfighter or droidstarfighter?
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Vehicles
@ Obibabdo (whatever)- it actually is in the docs you just haven't been looking hard enough because that is where I have learned it.
@adventfear- You have type in the odf name. Underscores and everything. This has been asked countless times and documented countless times as well.
@adventfear- You have type in the odf name. Underscores and everything. This has been asked countless times and documented countless times as well.
-
adventfear
- Rebel Sergeant

- Posts: 199
- Joined: Fri Feb 29, 2008 3:46 pm
Re: Vehicles
But what name do I have to type in?
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Vehicles
What?!! How can this be even a question?!! you type in the odf title - the .odf part. This is in the getting started guide which it seems you haven't read. If you have, the read it again. I refuse to answer any more noobish questions.
-
adventfear
- Rebel Sergeant

- Posts: 199
- Joined: Fri Feb 29, 2008 3:46 pm
Re: Vehicles
I have read it four times yet it doesn't really help my situation.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Vehicles
What are you trying to spawn? Specifically? And what's the name of the .odf? Do you know the name of the .odf you want?adventfear wrote:But what name do I have to type in?
For flyers, it's best to spawn the versions that have _sc in the names of their .odfs, those are the ones you're used to from space.
-
adventfear
- Rebel Sergeant

- Posts: 199
- Joined: Fri Feb 29, 2008 3:46 pm
Re: Vehicles
No confusion on that anymore. But what I am having trouble with now are buildings. I copy everything (msh, odf) to my "world1" file, yet when I put the building in the map it comes out gray and textureless on the Zero Editor, coming out that way on the map itself as well. I checked all the tuts and documents and nothing helps.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Vehicles
Make sure you're copying all the associated .tga files, too (can be found by opening the .msh file and searching ".tga")
-
adventfear
- Rebel Sergeant

- Posts: 199
- Joined: Fri Feb 29, 2008 3:46 pm
Re: Vehicles
Okay, thanks. My new map is coming along nicely (and this time it IS in the addon folder so when it is done I can ship it).
Just a few more questions:
How can I make it so the rep_fly_gunship (not sc version) has the AT-TE's lasers and the IFT's missiles?
Is it possible to make it stop midair by tapping and holding down the "down" button?
Is it possible to increase the passengar slots on the gunship?
Is it possible to increase the amount of dust in the map provided by the "dust" prop?
Just a few more questions:
How can I make it so the rep_fly_gunship (not sc version) has the AT-TE's lasers and the IFT's missiles?
Is it possible to make it stop midair by tapping and holding down the "down" button?
Is it possible to increase the passengar slots on the gunship?
Is it possible to increase the amount of dust in the map provided by the "dust" prop?
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Vehicles
Go into the odf and you'll see all those values that you just asked about. I've got to go, so I can't explain it in much detail.
-
adventfear
- Rebel Sergeant

- Posts: 199
- Joined: Fri Feb 29, 2008 3:46 pm
Re: Vehicles
I did but it's all greek to me. What exact values do I change/add for the Gunship?
I'm talking about the weaker rep_fly_gunship and not the rep_fly_gunship_sc.
I'm talking about the weaker rep_fly_gunship and not the rep_fly_gunship_sc.
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Vehicles
Change the odf name under the weapon section to change it to a different weapon, remember to type the new weapon's odf name. As for passenger slots if you read down through the odf you'll see that they are mentioned in there, you might be able to duplicate them, however, I'm not sure what the carrying capacity is. As for the stopping in midair, I'm not sure, if it was a jedi you could use a combo file, but for this I'm really not sure.
