|
Author Topic:   killer
-Guided by Voices-
Member
posted June 11, 2004 01:23 AM            
please post step by step info on how i can link just 3 projectiles . say cruisemissiles

IP:

KiLlEr
Member
posted June 11, 2004 11:54 AM            
The Harasser's projectile harasser_missle01.ent is the one set as the projectile of the tank. it contains:

code:

class = projectile
type = harasser_missle01

<a bunch of stuff>

entitychain0 = projectile/harasser_missle02
entitychain1 = projectile/harasser_missle03
entitychain2 = projectile/harasser_missle04
entitychain3 = projectile/harasser_missle05

entitychainnochainoverride = 1


The entitychainnochainoverride = 1 allows you to use entitychains in chained projectiles. However, you can't chain more than 3 deep.

the chained ent harasser_missle02 contains:

code:

class = projectile
type = harasser_missle02

<some more parameters>

entitychain0 = projectile/harasser_missle06
entitychain1 = projectile/harasser_missle07
entitychain2 = projectile/harasser_missle08
entitychain3 = projectile/harasser_missle09



the chained ent harasser_missle03 contains:

code:

class = projectile
type = harasser_missle03

<some parameters>

entitychain0 = projectile/harasser_xmissle10
entitychain1 = projectile/harasser_xmissle11
entitychain2 = projectile/harasser_missle12
entitychain3 = projectile/harasser_missle13



the chained ent harasser_missle04 contains:

code:

class = projectile
type = harasser_missle04

<parameters, parameters>

entitychain0 = projectile/harasser_missle14
entitychain1 = projectile/harasser_missle15
entitychain2 = projectile/harasser_missle16


Entities harasser_missle05 through harasser_missle16 contain no entity chains.

This will fire off 16 misles. to do just 3 missles, all you need it:

code:

class = projectile
type = your_missle01

<a bunch of stuff>

entitychain0 = projectile/your_missle02
entitychain1 = projectile/your_missle03


the 2 and 3 missles will need no chaining.

IP:

-Guided by Voices-
Member
posted June 12, 2004 02:36 AM            
i must not be doing it right .


it dont work .

IP:

KiLlEr
Member
posted June 12, 2004 11:18 AM            
make sure oyur using a mesh in the projectile and not a sprite.

Otherwise post what you have so I can see it.

[This message has been edited by KiLlEr (edited June 12, 2004).]

IP:

-Guided by Voices-
Member
posted June 13, 2004 05:29 AM            
it says, mesh = projectile/tinycruise.low in all ent.

entitychain0 = projectile/tinycruise2
entitychain1 = projectile/tinycruise3

entitychainnochainoverride = 1

the other ent. tinycruise 2 and 3 have the same file all but for the last above lines .

IP:

KiLlEr
Member
posted June 13, 2004 12:26 PM            
did you change the type parameter in the other files to match the name you using the the entchain references?

You should try running the first projectile through entegrity (it will automatically hunt down all files referenced by it) to make sure you've got not typos and all the types matchup with thier references.

[This message has been edited by KiLlEr (edited June 13, 2004).]

IP:

-Guided by Voices-
Member
posted June 15, 2004 03:45 AM            
ok this is what i did

i took your ent. for your missile and changed the name
the damage
the speed
i deleted all the ent. chaining stuff at the bottom .

so lets start over >>>>>

if i copy the main ent. file two times
and rename them (missile02.ent and missile03.ent) and chain them to (missile01)
the .ent chain should work right?

thats what i did .

what do you think

may be i should send you the files ?

IP:

KiLlEr
Member
posted June 15, 2004 10:31 AM            
that won't work.

just chagning the filenames is not enough. In an ent file there is a parameter named "Type". This is the name of the entity and not the filename. The filename for ent files doesn't matter, but you should use the same name for the file as what appears in the "Type" parameter inside the file. That way its less confusing.

in your missile02.ent, the Type should read:
Type = missile02

in your missile03.ent, the Type should read:
Type = missile03

If these aren't set correctly, then TM will not be able to find the entities.

THe main projectile should have:

entitychain0 = projectile/missile02
entitychain1 = projectile/missile03

entity references are written:
class/type

And make sure you don't accidentally have spaces at the end of any entity reference.
TM will not trim spaces at the end of lines.

Use Entegrety to test your ents, it will point out these problems.

[This message has been edited by KiLlEr (edited June 15, 2004).]

IP:

TBIKingTiger23
Member
posted June 19, 2004 02:07 PM            
Im not killer but... maby GBV you should learn all the ent commands and start an ent file from scratch because then you know what is in it, and when you copy things from on ent to another you may loose somting you didnt want to......just thought id help...

IP: