ODF Impossibilities?

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
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

ODF Impossibilities?

Post by Fiodis »

Linked somewhat to my topic and problem with FX files is this: which classlabels support fx's?

For instance, is it possible to have a force choke ODF that makes an effect appear around you when you use the weapon and disappear when you stop?

For example, here is a weapon I'm trying to set up for BrutalFront:

Force Parasite.

Basically, I plan to have it as a 360-degree version of choke, which adds to your health at a rate of 1/2 how fast you take away from an opponent's. I found a perfect effect, but unfortunately this effect is complex and infinite (Max particles set to -1). It'd take a great deal of work to make all parts of it finite and of the same duration (at least for a newbie effecter like me), and in any case I don't want it to stop after a definite amount of time but right after you stop using the weapon.

My questions about that:

First: is a 360-degree choke possible? If not, I could give that part up.

Second: can a weapon both heal you and damage opponents, as described? If not, I'll have to think up an entirely new function for it. That is a key part of how it operates; otherwise it's just your usualy un-fancy choke.

Third: is there some easy way via ODF to make the effect stop when you stop your weapon?

Fourth: is giving choke an effect even possible, maybe by some EffectOnOwner line or something?

Fourth and a half: could you set an effect to affect (so to speak) the victim?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: ODF Impossibilities?

Post by Maveritchell »

1) Yes
2) Yes, as a lua weapon
3) N/A
4) No
4.5) No

Areaeffectweapon is the only weapon classlabel that doesn't support explosions, and consequently can't have any effect associated with it.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: ODF Impossibilities?

Post by Fiodis »

I might be able to use a different classlabel, then, I suppose. Maybe something like that "Force Heat" from the Nelvan Village map: 360-degree incinerator-type dammage, orange buff effect. If healing as well as hurting is possible with the same weapon, I suppose this setup would be ideal, except for the issue of movement. Is there any way to stop the victims from moving while being hit by the weapon?

If not, I suppose that isn't completely critical, although it would be good.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: ODF Impossibilities?

Post by Maveritchell »

Yes you can, but it will require more lua scripting.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: ODF Impossibilities?

Post by Fiodis »

Hmm. I'm fne with that for a single map, but I plan BrutalFront to be an extra era. I think I remember someone saying once that changing the LUA breaks online compatability, but I'm 99.9% sure that this doesn't happen if you only change the extra era's LUA. Am I correct?
Post Reply