a buncha questions, plz help!

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
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

a buncha questions, plz help!

Post by obiboba3po »

alright ive been working on these for a while, and cant get em figured out, so i figured id post all of em here. if you can only answer one, help is still appreciated.
1. when adding vehicles to hero assualt mode, is there a secret? cause i have em in conquest and cant get em to show up in eli. (yes, i added seperate vehicle spawns under that mode layer.)
2. how do you make a weapon have 2 colors at once? (like in boras or pepperland?)
3. how do you correctly make a pattern spread to a weapon like a shotgun?
mostly odfing, i know, prbly pretty simple, but i dont know em or someone who does, so help would be appreciated! thanks!
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

Re: a buncha questions, plz help!

Post by trainmaster611 »

If you put a vehicle spawn in the conquest layer, its not going to show up in hero assault. In the eli layer, place a vehicle spawn and fill out the parameters and all the other stuff you would normally do for a vehicle spawn accept apply it to the eli cp.

As for questions 2 and 3, you use tracers. Go in the sides/common/odf and look at the shotgun ODFs and you'll see how they work.
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: a buncha questions, plz help!

Post by obiboba3po »

trainmaster611 wrote:If you put a vehicle spawn in the conquest layer, its not going to show up in hero assault. In the eli layer, place a vehicle spawn and fill out the parameters and all the other stuff you would normally do for a vehicle spawn accept apply it to the eli cp.

As for questions 2 and 3, you use tracers. Go in the sides/common/odf and look at the shotgun ODFs and you'll see how they work.
for 2-3 i thought it was something like that, just didnt want to risk another crash :cpu: and for one, i did the normal thing, just idk why its not showing up. ill go and double check ZE thanks train

EDIT: for the tracer odf, lets say i want to add one to the rep_weap_inf_rifle. i add "secondary odranance name= blahblahbalh" and the copy the shotgun tracer into the rep side? (and edit it of course) or does a rifle tracer require something else in it?
User avatar
tsurugi13
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Mon Dec 17, 2007 6:16 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: Battling the ISA menace on Helghan.

Re: a buncha questions, plz help!

Post by tsurugi13 »

For #3 I assume you mean like Dann's circle+one-in-the-middle shotgun, right? Look at the Bowcaster odf.

Code: Select all

ShotsPerSalvo           = 7
ShotPatternCount        = 7
ShotPatternPitchYaw     = "0.0 0.0"
ShotPatternPitchYaw     = "0.0 -0.7"
ShotPatternPitchYaw     = "0.0 0.7"
ShotPatternPitchYaw     = "0.0 -1.4"
ShotPatternPitchYaw     = "0.0 1.4"
ShotPatternPitchYaw     = "0.0 -2.1"
ShotPatternPitchYaw     = "0.0 2.1"
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: a buncha questions, plz help!

Post by obiboba3po »

tsurugi13 wrote:For #3 I assume you mean like Dann's circle+one-in-the-middle shotgun, right? Look at the Bowcaster odf.

Code: Select all

ShotsPerSalvo           = 7
ShotPatternCount        = 7
ShotPatternPitchYaw     = "0.0 0.0"
ShotPatternPitchYaw     = "0.0 -0.7"
ShotPatternPitchYaw     = "0.0 0.7"
ShotPatternPitchYaw     = "0.0 -1.4"
ShotPatternPitchYaw     = "0.0 1.4"
ShotPatternPitchYaw     = "0.0 -2.1"
ShotPatternPitchYaw     = "0.0 2.1"
yep ive seen that pattern spread, problem is, im not exactly sure how to add that to a shotgun odf to make it work. what exactly does the yaw and pitch spread need to be on that?
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Re: a buncha questions, plz help!

Post by Culvar »

Make sure you called for whatever vehicle you put the spawn for in the LUA.
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: a buncha questions, plz help!

Post by obiboba3po »

i did and for the life o' me i cannot figure this out! all im trying to do is add an imp speeder and it just wont show up! is there such thing as a speeder entity in the lua? i am sure im getting everything right, any ideas?
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: a buncha questions, plz help!

Post by bobfinkl »

Make sure you added it to every lua (eli, con, etc.), I know this sounds like it's not gonna be the error but it's always those little tiny things that we overlook that get us :yes: .
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: a buncha questions, plz help!

Post by obiboba3po »

bobfinkl wrote:Make sure you added it to every lua (eli, con, etc.), I know this sounds like it's not gonna be the error but it's always those little tiny things that we overlook that get us :yes: .
yea prbly something like that, ill just try again i suppose lol. and as for 3 and 2, scratch those cause dann re-released the boras sides assets. (again, thanks sooooooooooooo much dann :bowdown: )
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: a buncha questions, plz help!

Post by MercuryNoodles »

It might be because you don't have enough memory allocated for hover entities, since this vehicle uses the hover classlabel. The game will only spawn what the memory pool says can be on the map at one time, and not having it set is like setting it to zero. I just looked at the template eli lua, and it doesn't come with a hover pool in it. You'll have to add it, if you haven't already.
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: a buncha questions, plz help!

Post by obiboba3po »

woopsy, forgot to tell the staff to lock, anywho, thats good cause im adding more questions lol :) (btw mercury, that was the problem so thanks)
anyways, heres some more questions lol
1) can you make it so that if you spawn as a particular unit, 4 ai automatically start following you? basically like can you set some property like if you have a flag, 2 ai automatically follow you, but make it permanent to a certian unit?
2) is the "12 cps only rule" hardcoded somewhere?
3) how can you make an atte or laat "non-command post"?
4) whats the max amount of ai allowed on the battlefield at once with uber mode? (i had it a 720 which i know was too high, but i wasnt seeing 720)
thanks for the help :thumbs:
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

Re: a buncha questions, plz help!

Post by computergeek »

For number 2, its 16, not 12 but it includes command vehicles
For number 3, it is in the odf, change the type from command walker or command flyer to just walker or flyer, I think
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: a buncha questions, plz help!

Post by obiboba3po »

okay thanks, i thought it was something like that
Post Reply