Jump to content


Photo

Projectiles and fx


  • Please log in to reply
22 replies to this topic

#1 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 24 March 2005 - 09:55 PM

Does anyone know of a good tutorial on projectiles or fxlist entries, I can't figure them out at all. :)

I tried following one for generals, but alot of stuff is different in bfme

#2 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 24 March 2005 - 10:49 PM

Ask me what FX you are looking for and I'll tell you what I know...:)

#3 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 24 March 2005 - 11:02 PM

I just wanted a better understanding of them on the whole really. What i'm trying to do is some kind of 'web' weapon for shelob, where she appears to shoot web at people.
I know I have to add a new weapon with a projectile nugget, but that's about it really :( I'm looking if I can modify the firearrow projectile to drop some kind of trail, but anything i change makes no difference in game.

As for the fxlist stuff, anything i try in there just seems to display as square textures no alpha channel i guess.

#4 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 24 March 2005 - 11:04 PM

Well, I'm gonna finish up the animate infantry tutorial and maybe I'll do one for FX and Particle FX. That's a complicated one. I've knocked out all the easy ones, so I'm down to the hard ones now. :(

:)

#5 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 25 March 2005 - 12:04 AM

Ooh. I got her shooting web. Now what I want it to do is when she kills a unit, it creates a webbed unit (from shelobs lair) which converts the unit to 'my' side I know about ondeath OCL's (I think). These death types are hardcoded I'm guessing .
I looked in the gamedata.ini (with a hexeditor) and found a death type which isn't used ingame: EXTRA_8.
I've added this to shelobs weapon.

In order to get this to work, do I have to add something like this:
Behavior = SlowDeathBehavior ModuleTag_SHELOBDEATH
  DeathTypes = EXTRA_8
  DestructionDelay = 2667;Matches length of animations of TRANS_IdleToDying + DYING states
; Sound = INITIAL HumanVoiceDie
  OCL = FINAL OCL_CreateMordorFighter
	End

to every unit in the game to get this to work?

or is there an easier way?

And another thing. I want her to permanently kill stuff (so it doesn't respawn in a horde if a banner carrier is present) does this mean i have to add a permanentlykilledby filter to every object too?

Edited by pabtyf, 25 March 2005 - 12:07 AM.


#6 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 25 March 2005 - 05:08 AM

To be honest, yes. I did not know of that damage type. You would probably want the death FX OCL to spawn this object for Mordor if you want ALL units to create units for you.

Object WebbedHumanoidWithMordorFighterInside

Though I'd probably use the Beserker Webbed unit instead.

Object WebbedHumanoidWithIsengardBeserkerInside

I don't know enuff about the permantly killed filter to be able to answer with confidence.

#7 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 25 March 2005 - 09:26 AM

Oh well. I may be some time then!

Re- the DEATHTYPE, theres loads in there:
FADED
SUPERNATURAL
KNOCKBACK
EXTRA_8
EXTRA_7
EXTRA_6
EXTRA_5
EXTRA_4
EXTRA_3
EXTRA_2
POISONED_BETA
SPLATTED
DETONATED
LASERED
SUICIDED
FLOODED
TOPPLED
POISONED
EXPLODED
CRUSHED
NORMAL
UNDEFINED
FLY_INTO
HERO_RANGED
URUK
SPECIALIST
HERO
CHOP
MAGIC
PASSENGER
REFLECTED
TOPPLING
FALLING
PENALTY
WATER
UNRESISTABLE
HEALING
FLAME
STRUCTURAL
SIEGE
PIERCE
SLASH
CRUSH
FORCE

although i think some of those may be DAMAGETYPEs

Edited by pabtyf, 25 March 2005 - 10:00 AM.


#8 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 25 March 2005 - 10:34 AM

From what i gathered there are 14 damage types. You pick which ones they are. :) I dont know other than what the INI files tell me.

#9 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 25 March 2005 - 01:43 PM

Ok. Got shelob to shoot web.
Given every unit a new DEATHTYPE (took me ages!) to create a webbed unit on death. that all works fine:
Posted Image

But. I can't seem to kill the webbed units like in shelobs lair. in order to create my converted units.

You can see on the radar in this image, that they're still showing up as enemies (they're blue), but the cursor just stays green over them.

Thought it might be to do with SIDE = Mordor in the webbed unit code. But i've changed that to neutral and it still doesn't work.

Any ideas..

#10 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 25 March 2005 - 04:24 PM

besides the fact that is cool as hell and nice to know the damage types, I don't have an answer why. ;)

#11 RedNalDron

RedNalDron

    The freindly newbie helper

  • Project Team
  • 171 posts
  • Projects:Drums in the Deep, A Moria Faction mod for BFME. My status: Beta tester/web designer

Posted 25 March 2005 - 05:33 PM

(in the shelobs lair only swordsmen can free webed soldiers)
Posted Image

"Shadow and flame."

"Drums in the Deep" Beta tester

#12 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 25 March 2005 - 08:29 PM

I tried it with all (mordor) units. still doesn't work. could have been coded/scripted into the map itself. I don't understand the map things and my worldbuilder won't run so i can't check this.

Might just leave it as it is mind you.

{edit}
I've been doing this on my son's pc, I went to have another look at it just now and he's re-installed the game! and deleted all my modded ini files ;) all my work gone! :) NOT impressed

Edited by pabtyf, 25 March 2005 - 09:39 PM.


#13 Extelleron

Extelleron
  • Members
  • 106 posts
  • Projects:Neutral Forces Mod

Posted 25 March 2005 - 11:05 PM

Tha sucks! If I lost all my work I might just not even pick it up again. Make sure you back up all your files like I do periodicly.

Edited by Extelleron, 25 March 2005 - 11:05 PM.

The Best Modder in the ... Not so Good Modders Club.

#14 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 25 March 2005 - 11:13 PM

NOW you tell me ;) :)

#15 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 25 March 2005 - 11:25 PM

NOW you tell me ;)  :)

<{POST_SNAPBACK}>

Nice to see another old timer here pabtyf. I was born in '72. ;)

#16 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 25 March 2005 - 11:33 PM

NOW you tell me ;)  :)

<{POST_SNAPBACK}>

Nice to see another old timer here pabtyf. I was born in '72. ;)

<{POST_SNAPBACK}>


Now i don't feel so old anymore ;)

#17 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 26 March 2005 - 12:17 AM

Keep it up you young wipper snapper! ;)

#18 nOOb_CH!LI

nOOb_CH!LI
  • Members
  • 33 posts

Posted 01 May 2006 - 03:41 PM

Hey Hostile i need some help too with FX, i want the eomer spear bigger like 3 times as big, i can ini mod without problems i just dont know what to do here, i tried scale but nothing happened. I need to change a 3 parts of the fx i think, because of the names
SpearContrailThin
SpearFlameTrail
SpearHitFX
thanks

i just found a reference in fxlist
FXList FX_EomerSpearThrow
  Sound
	Name = EomerSpearFly
  End
End
but not correlation with fxparticlesystem. i mean there's no eomerspearfly there. Im confused

Edited by nOOb_CH!LI, 01 May 2006 - 03:47 PM.


#19 Fingulfin

Fingulfin

    I Like Pi3. Do you?

  • Hosted
  • 1,752 posts
  • Location:California, USA
  • Projects:Staying Alive.
  •  This place looks familiar. I can't remember why.

Posted 01 May 2006 - 04:40 PM

I think the spear is a Unit, not a particle. The particle stuff is just the line of white junk that comes out from the back. The spear is probably in "Goodfactionsubobjects.ini". Check out the spear in weapon.ini to find out what unit :) After you find it, try writing "Scale 4.0" somewhere in the object code. That should do it ;)
Posted Image
--------------------------------------
"You look like a ghost of your former self..."

#20 Tobi

Tobi
  • Members
  • 128 posts

Posted 01 May 2006 - 06:19 PM

@pabtyf

you can add OCL directly to your weapon by a so called OCL_Nugget

[codebox]
DamageNugget ; A basic Nugget that just does damage
-your normal damage nugget-
End

WeaponOCLNugget
WeaponOCLName = OCL_whatever
End
[/codebox]

then it'll spawn the unit on your side and you don't have to add the death-type to all units again

Edited by Tobi, 01 May 2006 - 06:19 PM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users