Page 1 of 1

a buncha questions, plz help!

Posted: Sat Aug 02, 2008 8:04 pm
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!

Re: a buncha questions, plz help!

Posted: Sat Aug 02, 2008 8:15 pm
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.

Re: a buncha questions, plz help!

Posted: Sat Aug 02, 2008 8:24 pm
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?

Re: a buncha questions, plz help!

Posted: Sat Aug 02, 2008 8:33 pm
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"

Re: a buncha questions, plz help!

Posted: Sat Aug 02, 2008 8:42 pm
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?

Re: a buncha questions, plz help!

Posted: Sun Aug 03, 2008 12:07 am
by Culvar
Make sure you called for whatever vehicle you put the spawn for in the LUA.

Re: a buncha questions, plz help!

Posted: Sun Aug 03, 2008 8:02 pm
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?

Re: a buncha questions, plz help!

Posted: Sun Aug 03, 2008 9:23 pm
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: .

Re: a buncha questions, plz help!

Posted: Sun Aug 03, 2008 9:26 pm
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: )

Re: a buncha questions, plz help!

Posted: Mon Aug 04, 2008 9:01 am
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.

Re: a buncha questions, plz help!

Posted: Fri Aug 08, 2008 2:14 pm
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:

Re: a buncha questions, plz help!

Posted: Fri Aug 08, 2008 3:08 pm
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

Re: a buncha questions, plz help!

Posted: Fri Aug 08, 2008 3:22 pm
by obiboba3po
okay thanks, i thought it was something like that