how to fix weapons in the air next to units

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
User avatar
Jawaraider
Rebel Sergeant
Rebel Sergeant
Posts: 196
Joined: Thu Nov 30, 2006 3:12 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Unknown

how to fix weapons in the air next to units

Post by Jawaraider »

I got my map working, but when I play as naboo guards the weapon is showed in the air next to the unit. How do you fix that?
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

RE: how to fix weapons in the air next to units

Post by Rekubot »

Just put HudTag = "hud" in the weapon ODF. It'll make the weapon HUD disappear, but at least it's not in your way.
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

RE: how to fix weapons in the air next to units

Post by PvtParts »

Just so you dont get scared, he means it removes the icon of that weapon totally from the hud, so basically when that weapons selected, the gray oval in which its icon would normally be is just empty, but any regular weapon will still appear
User avatar
Jawaraider
Rebel Sergeant
Rebel Sergeant
Posts: 196
Joined: Thu Nov 30, 2006 3:12 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Unknown

Post by Jawaraider »

Does it matter where in the odf you put "hud tag = "hud"
Some more qustions:
How to change the Jawas weapon from arccaster to tuskenrifle? Tried but doesnt work. How do you replace gun_weap_inf_fusioncutter with a rifle from another side? what do you have to change?
Is it possible to open for example the tatooine map from the assets and save it as ABC.wld?
How to change sky? (propably stupid question)
How do you make XL on your own maps? (also stupid question)
Anyone know this?
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

as long as the it goes under the "[Properties]" section of the weapons odf, it should be fine.

To change from arccaster to tuskenrifle, replace:

Code: Select all

WeaponName1 			= "tat_weap_inf_jawa_arccaster"
WeaponAmmo1 			= 0
in the jawa's odf with:

Code: Select all

WeaponName1 		= "tat_weap_inf_tuskenrifle"
WeaponAmmo1 		= 0
You also have to put

Code: Select all

dc:
before the

Code: Select all

SIDE\\des.lvl",
In order to replace gun_weap_inf_fusioncutter with a rifle from another side, you need to copy the msh's, tga's, effects, and odfs from that side to your side (I assume its gun) and then perform basically what I said for the jawa.

You might want to read this: http://www.gametoast.com/index.php?name ... 26&start=0

Yes you can save the tatooine map from assets and work on it as your own.

As for sky's, check the world assets folders and look for a .sky file. You should be able to figure out how to do it. A tip, if you want to have like spaceships flying, you need to call for them in your maps mission lua. Again, you can see how this is done by looking in asset luas, (most of the sky flyers will have _dome at the end).

As for XL, do a search. Its really easy, all you need to do is set up a few .reqs, make a lua, and add some lines to it that differentiate it from conquest (xl is just conquest with deathmatch instead of conquest as the ai goal, meaning ai focus on killing not capping flags, and usually more reinforcements.)
User avatar
Jawaraider
Rebel Sergeant
Rebel Sergeant
Posts: 196
Joined: Thu Nov 30, 2006 3:12 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Unknown

Post by Jawaraider »

In order to replace gun_weap_inf_fusioncutter with a rifle from another side, you need to copy the msh's, tga's, effects, and odfs from that side to your side (I assume its gun) and then perform basically what I said for the jawa.

Do I have to change the rifle name to gun_inf_rifle or just keep the names?

Yes you can save the tatooine map from assets and work on it as your own.

Do I have to take odfs and mshs from assets/worlds/tat and put them in data_abc/worlds or something for the map to work?

Also, when I try to change the gungan weapon, use dc: in the lua, munge it and all that the map crashes at startup and says it cant find abcg_con
whats happening?
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

No you dont have to rename it, but you can. Be sure to change all the stuff in the odf accordingly. Since you probably dont know what that means, I'd just leave it.

Yes. You'd need all the mshs/effects and everything. You need everything. Dont forget the textures and files in the tat/world1 folder (might be world2 since bf2 only comes with mos eisly).

Its not finding your lua. Im not sure. Describe what all you mean by change the gungan weapon, dc"..etc. to me, oh and are you munging common? By default it munges common and your world. If you uncheck common you wont munge your lua.
User avatar
Jawaraider
Rebel Sergeant
Rebel Sergeant
Posts: 196
Joined: Thu Nov 30, 2006 3:12 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Unknown

Post by Jawaraider »

Ok, I got the gungan use ALL rifle, and it works.
But when I try and use other gungan units they dont get ingame and I get clones instead.
But one gungan. Wierd. And now the CPs dont show up either
I managed to use TAT as ABC but the cps were at wierd, wrong places.
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

Well, issues like that are things you just have to fix yourself.

You may also want to copy the TATccon.lua and paste it over your ABCccon.lua
User avatar
Jawaraider
Rebel Sergeant
Rebel Sergeant
Posts: 196
Joined: Thu Nov 30, 2006 3:12 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Unknown

Post by Jawaraider »

Ok thanks
Post Reply