HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Maxscript Problem

11-01-2004, 12:58 AM#1
BlinkBoy
well k i opened dex 185 and added many new functions, including particle emitters, the only problem is that when i select the blizz part and export them, they are added and setted in the healer and pivot points but at final there is no particle info.

i'm setting here the code of the particle to write so if some1 can help me out:

Code:
[size=1][color=#0000ff][size=1][/size][size=1][color=#0000ff]fn[/color][/size][size=1] OutputMDLParticleEmitter =
 
(
 
[/size][size=1][color=#0000ff]for[/color][/size][size=1] o [/size][size=1][color=#0000ff]in[/color][/size][size=1] MDLObjects [/size][size=1][color=#0000ff]do
 
[/color][/size][size=1](
 
[/size][size=1][color=#0000ff]if[/color][/size][size=1] o.type == 4 [/size][size=1][color=#0000ff]then
 
[/color][/size][size=1](
 
[/size][size=1][color=#0000ff]if[/color][/size][size=1] classOf o == Blizzard [/size][size=1][color=#0000ff]then
 
[/color][/size][size=1](
 
swrite ([/size][size=1][color=#800000]"ParticleEmitter \""[/color][/size][size=1] + o.name + [/size][size=1][color=#800000]"\" {\n\tObjectId "[/color][/size][size=1] + (o.objid [/size][size=1][color=#0000ff]as[/color][/size][size=1] string) [/size][size=1][color=#800000]",\n"[/color][/size][size=1])
 
[/size][size=1][color=#0000ff]if[/color][/size][size=1] o.parent != undefined [/size][size=1][color=#0000ff]then[/color][/size][size=1] swrite ([/size][size=1][color=#800000]"\tParent "[/color][/size][size=1] + (o.parent [/size][size=1][color=#0000ff]as[/color][/size][size=1] string) + [/size][size=1][color=#800000]",\n"[/color][/size][size=1])
 
swrite ([/size][size=1][color=#800000]"\tstatic EmissionRate "[/color][/size][size=1] + (o.o.Birth_Rate [/size][size=1][color=#0000ff]as[/color][/size][size=1] string) + \
 
[/size][size=1][color=#800000]",\n\tstatic Gravity 0 "[/color][/size][size=1] + \
 
[/size][size=1][color=#800000]",\n\tstatic Longitude "[/color][/size][size=1] + (o.o.Emitter_Width [/size][size=1][color=#0000ff]as[/color][/size][size=1] string) + \
 
[/size][size=1][color=#800000]",\n\tstatic Latitude "[/color][/size][size=1] + (o.o.Emitter_Length [/size][size=1][color=#0000ff]as[/color][/size][size=1] string) + [/size][size=1][color=#800000]" },\n"[/color][/size][size=1])
 
OutputVisibilityAnimation o.o
 
swrite ([/size][size=1][color=#800000]"\tstatic LifeSpan "[/color][/size][size=1] + (o.o.life [/size][size=1][color=#0000ff]as[/color][/size][size=1] string) + \
 
[/size][size=1][color=#800000]",\n\tstatic InitVelocity "[/color][/size][size=1] + (o.o.Life_Variation [/size][size=1][color=#0000ff]as[/color][/size][size=1] string) + \
 
[/size][size=1][color=#800000]",\n\tTextureID 0 "[/color][/size][size=1] + \
 
[/size][size=1][color=#800000]",\n}\n"[/color][/size][size=1])
 
)
 
)
 
)
 
)
 
[/size][/color][/size][size=1]
[/size]

edit: since the code don't match the original i'm setting the ms file
11-01-2004, 10:14 AM#2
Andy
You have to add the "nobody on these forums are smart enough" or the "not a soul could give a flying fuck about this" functions.
11-01-2004, 03:48 PM#3
BlinkBoy
Quote:
Originally Posted by Andy
You have to add the "nobody on these forums are smart enough" or the "not a soul could give a flying fuck about this" functions.
who unbanned you lamer flamer?

and another thing, why are you posting if you don't have anything helpfull to add?

well anyway i finanlly fixed it, just need to add final touches.
11-02-2004, 04:08 AM#4
Andy
I was never banned in the first place, I just stopped posting.
11-02-2004, 11:24 PM#5
BlinkBoy
Quote:
Originally Posted by Andy
I was never banned in the first place, I just stopped posting.

and you should, you always saying muhahaha around
12-23-2004, 10:33 AM#6
Son-Of-Impurity
shut up retard, lay off andy, this isnt a good way to get a reply if you turn this into a flame thread.

lol anyway

this beats me, i dunno if cookie can help you or maybe AIANDY just pm them and ask if they know anyone who could help.

-EDITED FOR THE MINORS-
12-23-2004, 11:24 AM#7
BlinkBoy
Quote:
Originally Posted by Son-Of-Impurity
shut up retard, lay off andy, this isnt a good way to get a reply if you turn this into a flame thread.

first didn't like the first comment; second don't revive a dead thread and third the only 3 other persons i know who knows of Maxscript language are Fadis Moundir, Republicola and nicole_s