Jedi Meditation
Moderator: Moderators
- DarthXeon
- Banned
- Posts: 84
- Joined: Mon Sep 19, 2011 5:41 pm
- Projects :: I move fast... Lightning fast...
- Location: In A Nearby Solar System
Jedi Meditation
Hey, im trying to make my 1st weapon and its gonna be jedi meditation. im gonna use
"cis_weap_walk_droideka_shield" and "com_weap_inf_buff,"
What would i do to mix them into 1 odf? its ok if no one knows how but there seems like theres alot of experenced modders.
--
Thanks
"cis_weap_walk_droideka_shield" and "com_weap_inf_buff,"
What would i do to mix them into 1 odf? its ok if no one knows how but there seems like theres alot of experenced modders.
--
Thanks
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Jedi Meditation
what exactly do you want it to do...DarthXeon wrote:Hey, im trying to make my 1st weapon and its gonna be jedi meditation. im gonna use
"cis_weap_walk_droideka_shield" and "com_weap_inf_buff,"
What would i do to mix them into 1 odf? its ok if no one knows how but there seems like theres alot of experenced modders.
--
Thanks
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: Jedi Meditation
You can't give shields to a unit through a buff, IIRC.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Jedi Meditation
someone could give the illusion of it. make a defense buff that makes the driodeka shield effect play on people hit by it. it would seem quite easy if it doesn't crash.CressAlbane wrote:You can't give shields to a unit through a buff, IIRC.
- DarthXeon
- Banned
- Posts: 84
- Joined: Mon Sep 19, 2011 5:41 pm
- Projects :: I move fast... Lightning fast...
- Location: In A Nearby Solar System
Re: Jedi Meditation
oh ok its fine but what i ment is when you start meditating the sheild and buff comes up but the shield stays after the buff
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Jedi Meditation
do you need custom meditating animations? also what type of buff, just the visual effect or powerup effects? also how do you want this shield to act?DarthXeon wrote:oh ok its fine but what i ment is when you start meditating the sheild and buff comes up but the shield stays after the buff
(is confused at lack of information)
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Jedi Meditation
lets start of fresh:
you want a buffweapon that gives allies a shield, right? that is not really possible in battlefront because the ordnance (whats shot and causes the damaga or whateve on units that are hit) only supports buff defense, health, offense and damage. you could however create a defensebuff and replace the buffeffect with one that looks like a shield. the problem here is that the droidekashieldeffect is unique and will most liekly not work as a normal dama7buff effect.
you want a buffweapon that gives allies a shield, right? that is not really possible in battlefront because the ordnance (whats shot and causes the damaga or whateve on units that are hit) only supports buff defense, health, offense and damage. you could however create a defensebuff and replace the buffeffect with one that looks like a shield. the problem here is that the droidekashieldeffect is unique and will most liekly not work as a normal dama7buff effect.
- DarthXeon
- Banned
- Posts: 84
- Joined: Mon Sep 19, 2011 5:41 pm
- Projects :: I move fast... Lightning fast...
- Location: In A Nearby Solar System
Re: Jedi Meditation
thats what i ment, yeaDarthD.U.C.K. wrote:lets start of fresh:
you want a buffweapon that gives allies a shield, right? that is not really possible in battlefront because the ordnance (whats shot and causes the damaga or whateve on units that are hit) only supports buff defense, health, offense and damage. you could however create a defensebuff and replace the buffeffect with one that looks like a shield. the problem here is that the droidekashieldeffect is unique and will most liekly not work as a normal dama7buff effect.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Jedi Meditation
Well, then,
Duck's other suggestion, about creating a powerful defense buff with a custom effect, seems like the best option. You could even make a custom effect that uses the shield msh, so it actually would look more or less like the Droideka shield.DarthD.U.C.K. wrote:that is not really possible in battlefront because the ordnance (whats shot and causes the damaga or whateve on units that are hit) only supports buff defense, health, offense and damage.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Jedi Meditation
and maybe even attempt adding a defense or health buff.Fiodis wrote:Well, then,Duck's other suggestion, about creating a powerful defense buff with a custom effect, seems like the best option. You could even make a custom effect that uses the shield msh, so it actually would look more or less like the Droideka shield.DarthD.U.C.K. wrote:that is not really possible in battlefront because the ordnance (whats shot and causes the damaga or whateve on units that are hit) only supports buff defense, health, offense and damage.
i got an lua coding based idea but it would be hard or impossible.
use the thing for if hit by ordenance and then if hit then add shield. i don't know the exact codes since i rarely work with LUA. someone else will know though.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Jedi Meditation
Dakota wrote:use the thing for if hit by ordenance and then if hit then add shield. i don't know the exact codes since i rarely work with LUA. someone else will know though.
Code: Select all
shieldfunction = (
OnObjectDamage(object, damager)
if GetObjectLastHitWeaponClass(object) == FindWeaponClass("odf_of_weapon") then
SetProperty(object, "CurShield", #)
end
end
)Oh, whatever weapon you use to give the shield to a unit must do at least some damage, so the LUA detects it. For that reason you might not actually want to use a buff. Probably a modified flamethrower would do, since you could still attach the shield effect to a unit as a smolder effect.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Jedi Meditation
are you sure you can simply use "curshield"? atleast for the shieldenergydisplay battlefornt would need macshield.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Jedi Meditation
You mean maxshield? Idk; I wasn't bothering about the display. CurShield is a valid instance property, as well as MaxShield, so it should work.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Jedi Meditation
the idea of my weapon would get the visual effect from the weapon, the weapon could do 1 damage as a buff but then have a health buff with it that heals exactly 1 point (set the time to like 0.1 and rate to 1) if you do that and then have the LUA code then it could work.Fiodis wrote:You mean maxshield? Idk; I wasn't bothering about the display. CurShield is a valid instance property, as well as MaxShield, so it should work.
is there an LUA code for playing an effect on a unit if shielded? if so then we could get rid of the bug of the shield appearing when not shielded.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Jedi Meditation
not without major stuffwriting in the lua that wouldnt be worth it in my opinion (and would probably not even be possible)
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Jedi Meditation
You can't just combine two buffs; they'd have to be seperate weapons and there'd not be any way to get them to trigger each other. Nah, just have whatever you end up using do 1 damage, people can live through that.Dakota wrote:but then have a health buff with it that heals exactly 1 point
