How do i make a poison dart?

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

={Z32}=Kfm946
Private Second Class
Posts: 70
Joined: Wed Jul 30, 2008 6:49 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: Uhh...Not behind you...
Contact:

How do i make a poison dart?

Post by ={Z32}=Kfm946 »

How do i make a poison dart (how do i attach the poison buff thing to a [laser] bolt)?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: how to make a poison dart

Post 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
={Z32}=Kfm946
Private Second Class
Posts: 70
Joined: Wed Jul 30, 2008 6:49 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: Uhh...Not behind you...
Contact:

Re: how to make a poison dart

Post 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)
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: how to make a poison dart

Post 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.
={Z32}=Kfm946
Private Second Class
Posts: 70
Joined: Wed Jul 30, 2008 6:49 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: Uhh...Not behind you...
Contact:

Re: how to make a poison dart

Post 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?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: how to make a poison dart

Post by Frisbeetarian »

No, a rifle is not an emitter ordnance, and it just so happens that those lines only work with emitter ordnance.
={Z32}=Kfm946
Private Second Class
Posts: 70
Joined: Wed Jul 30, 2008 6:49 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: Uhh...Not behind you...
Contact:

Re: how to make a poison dart

Post by ={Z32}=Kfm946 »

can i make a secondary ordinance (a tracer) for it?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: how to make a poison dart

Post by Maveritchell »

Sure. Cannons can use both emitters and bolts as ordnances, and cannons support multiple ordnances.
={Z32}=Kfm946
Private Second Class
Posts: 70
Joined: Wed Jul 30, 2008 6:49 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: Uhh...Not behind you...
Contact:

Re: how to make a poison dart

Post 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)
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: how to make a poison dart

Post 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)
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: how to make a poison dart

Post 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.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: how to make a poison dart

Post 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.
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: how to make a poison dart

Post 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.
={Z32}=Kfm946
Private Second Class
Posts: 70
Joined: Wed Jul 30, 2008 6:49 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: Uhh...Not behind you...
Contact:

Re: how to make a poison dart

Post 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
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: how to make a poison dart

Post 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?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: how to make a poison dart

Post 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).
={Z32}=Kfm946
Private Second Class
Posts: 70
Joined: Wed Jul 30, 2008 6:49 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: Uhh...Not behind you...
Contact:

Re: how to make a poison dart

Post by ={Z32}=Kfm946 »

wha(t does that mean)?
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: how to make a poison dart

Post 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.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: how to make a poison dart

Post 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?
={Z32}=Kfm946
Private Second Class
Posts: 70
Joined: Wed Jul 30, 2008 6:49 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: Uhh...Not behind you...
Contact:

Re: how to make a poison dart

Post by ={Z32}=Kfm946 »

impact effects always stick to people. i have one for an emp rifle and it sticks
Post Reply