Page 1 of 2

How do i make a poison dart?

Posted: Sun Nov 09, 2008 12:28 am
by ={Z32}=Kfm946
How do i make a poison dart (how do i attach the poison buff thing to a [laser] bolt)?

Re: how to make a poison dart

Posted: Sun Nov 09, 2008 12:45 am
by Maveritchell
You can't. All you can do is create an emitterordnance that has smolder damage (like a flamethrower) and a long distance.

Note that I didn't actually try this out, it's just quickly thrown together from the flamethrower's ord file:

Code: Select all

[OrdnanceClass]

ClassLabel          = "emitterordnance"

[Properties]
ImpactEffectWater   = "com_sfx_watersplash_ord"

ConeLength          = "200" //random high number, haven't tested this
ConeAngle           = "3" //random low number, haven't tested this
FirstRadius         = "2.0"
MaxTargets          = "1"  // Max number of targets to hit. Chaining is off so the damage will be split between the number of targets
NoChaining          = "1"   // No chaining - all bolts coming from the attacker

//OrdnanceSound         = "com_weap_launcher_energy_dumbfire"

Damage              = "15"  // This is the min damage. Even if the initial damage is split between the number of targets, it will never go below this number for each target
MaxDamage           = "15" // This is the max damage
JumpDeduction       = "0"  // No jump deduction. This is for chaining only
DamageThreshold     = "0"  // Always do damage (no threshold)
MaxJumpDistance     = "0"  // No max jump distance because the chaining is off

VehicleScale        = "0.1"
ShieldScale         = "1.0"
PersonScale         = "1.0"
AnimalScale         = "1.0"
DroidScale          = "1.0"
BuildingScale       = "0.1"

//Push                = "0.0"
//LightningEffect     = "com_sfx_lightning"
//LightningEffectScale = "0.25"
//NoTargetLightningEffectCount = "5"  // The number of ligthning effects to display when the ordinance has no targets to hit
//NoTargetLightningEffectRandomSpread = "0.4"  // The random rotation spread the ligthning effects does when the ordinance has no targets to hit

AffectFriends = "1"  // default is 1. should the ordnance affect friends. 
AffectEnemies = "1"  // default is 1. should the ordnance affect enemies. 

TrailEffect = "your trail effect name"
SmolderDamageRate = "50.0" // this is where you set how much damage the "poison" does, play around with this

SmolderEffectTimer = "5.0" //how long "poison" lasts

SmolderEffect = "com_sfx_buffed_poison"
SmolderBone = "bone_ribcage"

//you can add more or different smolder effects to different bones, just check out the flamethrower ord for examples.

SmolderVanishDeath = "0"

BonusAmplification  = "0.5"				//how much more damage will be done when team_bonus_blaster_amplication is on

Re: how to make a poison dart

Posted: Sun Nov 09, 2008 12:51 am
by ={Z32}=Kfm946
or i can use dann boeing's DD-9 flamer rifle and change the effect if someone would tell me how it works ( i cant download it in the released assets forum cuz the link(s) are messed up)

Re: how to make a poison dart

Posted: Sun Nov 09, 2008 2:19 am
by Maveritchell
={Z32}=Kfm946 wrote:or i can use dann boeing's DD-9 flamer rifle and change the effect if someone would tell me how it works ( i cant download it in the released assets forum cuz the link(s) are messed up)
?

...or you can use the flamethrower as a base, because it's already in your assets and I just gave you a working _ord.odf.

Re: how to make a poison dart

Posted: Sun Nov 09, 2008 8:10 am
by ={Z32}=Kfm946
cant i just put these lines:

Code: Select all

SmolderDamageRate = "50.0" // this is where you set how much damage the "poison" does, play around with this

SmolderEffectTimer = "5.0" //how long "poison" lasts

SmolderEffect = "com_sfx_buffed_poison"
SmolderBone = "bone_ribcage"

//you can add more or different smolder effects to different bones, just check out the flamethrower ord for examples.

SmolderVanishDeath = "0"
into a rifle ord er sumthin?

Re: how to make a poison dart

Posted: Sun Nov 09, 2008 8:28 am
by Frisbeetarian
No, a rifle is not an emitter ordnance, and it just so happens that those lines only work with emitter ordnance.

Re: how to make a poison dart

Posted: Sun Nov 09, 2008 9:22 am
by ={Z32}=Kfm946
can i make a secondary ordinance (a tracer) for it?

Re: how to make a poison dart

Posted: Sun Nov 09, 2008 10:38 am
by Maveritchell
Sure. Cannons can use both emitters and bolts as ordnances, and cannons support multiple ordnances.

Re: how to make a poison dart

Posted: Sat Nov 15, 2008 11:19 am
by ={Z32}=Kfm946
the emitter isn't working.....how 'bout a poison grenade (launcher)? How do i make one of those? (poison grenade- explosion=neuropoison buff thing)

Re: how to make a poison dart

Posted: Sat Nov 15, 2008 12:48 pm
by obiboba3po
actually i think this is pretty easy (i sort of have one)
what you do is take youre weapon of choice, make geometryname in the ord file com_weap_missile (most dart-like msh in the game) and give it a stick effect and an impact effect that looks like poison. (like the magnaguard mortar)

Re: how to make a poison dart

Posted: Sat Nov 15, 2008 3:11 pm
by Sky_216
Poison dart rifle is included here......
http://starwarsbattlefront.filefront.co ... Pack;95488
And its a 2.5 meg download so if you don't want the other weapons just delete them.

If you want to get a short range poison dart then Syth released one. Check the released assets forum, its in one of the released BFP source file downloads (not the weapon model pack, the one with the side odfs. CIS has it).
ConeLength = "200" //random high number, haven't tested this
ConeAngle = "3" //random low number, haven't tested this
FirstRadius = "2.0
"
Too big (radius and angle). If you want it to have 200m range that means people will be getting hit like a metre away from where your projectile is (if its a dart...if it was like a gas gun that'd make sense). But otherwise pretty much right.

Re: how to make a poison dart

Posted: Sat Nov 15, 2008 8:36 pm
by Maveritchell
Skyhammer_216 wrote:Too big (radius and angle).
Yeah, but the exact number wasn't the point. It was just a random number, and numbers don't matter anyway (for examples), because they're easy to tweak. I'd rather teach a man to fish instead of giving the fish, if you catch my drift.

Re: how to make a poison dart

Posted: Sat Nov 15, 2008 8:39 pm
by Sky_216
Sure Mav. I wasn't having a go at ya, I was just telling him the problem with having a too big angle.

Re: how to make a poison dart

Posted: Sun Nov 16, 2008 12:16 pm
by ={Z32}=Kfm946
ok i got the poison dart rifle but wat about a poison grenade (launcher)? (poison grenade- explosion=neuropoison buff thing)? i could really use one of those

Re: how to make a poison dart

Posted: Sun Nov 16, 2008 1:01 pm
by elfie
Just wondering but, would a posion mine work if you change the line in the _exp odf to this instead of explosion class?

Code: Select all

[OrdnanceClass]

ClassLabel          = "emitterordnance"
and also added the smolder lines?

Re: how to make a poison dart

Posted: Sun Nov 16, 2008 6:18 pm
by Maveritchell
No. A working poison grenade would have to be a .lua weapon (it's actually a really easy one, but any .lua weapons are unwieldy).

Re: how to make a poison dart

Posted: Mon Nov 17, 2008 6:11 pm
by ={Z32}=Kfm946
wha(t does that mean)?

Re: how to make a poison dart

Posted: Mon Nov 17, 2008 10:50 pm
by Sky_216
Lua weapon means you gotta add some code into your lua for whatever era you want it in for it to work.

Oh and poison mines/grenades - sorta possible. But kills with it won't get counted to you so it's kinda useless, especially in assault mode.
May be possible using orbital strike beacons (which would fix the kill problem and the animations), but so far (I tried once) haven't been able to get it to work.

Re: how to make a poison dart

Posted: Wed Nov 19, 2008 9:07 pm
by Tourny
Sorry to stick my nose in and ask a sort of unrelated question, but from wht I can tell the Flamer Rifle shouldn't work. How did Dann make the flames stick?

Re: how to make a poison dart

Posted: Thu Nov 20, 2008 7:49 am
by ={Z32}=Kfm946
impact effects always stick to people. i have one for an emp rifle and it sticks