Search found 13 matches

by Altusi
Mon Apr 09, 2007 9:48 am
Forum: Scripting
Topic: Distance of a sound parameters: where to configure this?
Replies: 2
Views: 498

Oops sorry, i don't see this tuto! (maybe because i don't what was the name of this action).
So if i understand the tuto, i have to map, and script.

Thanks.

Al
by Altusi
Sat Apr 07, 2007 10:13 pm
Forum: Scripting
Topic: Distance of a sound parameters: where to configure this?
Replies: 2
Views: 498

Distance of a sound parameters: where to configure this?

Hello,

I want to put sound in my map. But i don't know how to configure distance of a sound. I try to explain (and i hope you will understand because of my poor english! )
I want to put a sound in a room. But i want that more far i am, less i can hear the sound. I think it's possible to do this in ...
by Altusi
Sat Apr 07, 2007 10:02 pm
Forum: Scripting
Topic: Rotate a spawned model?
Replies: 8
Views: 847

Hello,

Thanks for your help.
And i find the problem. It's not the wait command. I had to change something in the model file (.tik).
I am not so skill, so i change some things in this file (past some line of other model for try).
And i am not sure that what i changed :(
So sorry to don't explain ...
by Altusi
Mon Mar 26, 2007 4:31 pm
Forum: Scripting
Topic: Rotate a spawned model?
Replies: 8
Views: 847

No problemo :) , if you see a visual flip then move the angle command into the spawn line:

local.panzer = spawn models/human/flowerpainting.tik angle 90

To rotate over different axes, use the angles command:

local.panzer = spawn models/human/flowerpainting.tik angles ( 90.12 45.15 40.12 )

or ...
by Altusi
Mon Mar 26, 2007 1:58 pm
Forum: Scripting
Topic: Rotate a spawned model?
Replies: 8
Views: 847

-yes un think it's work with it, but if what i have to write in my script for rotate in the others angles?
Try nother number :wink:


Yes :wink: , but i mean in others angles like up and down for example.
Because nothing happen when try to put "( 90.12 45.15 40.12 ) in the angle field.

Plus i ...
by Altusi
Sun Mar 25, 2007 9:24 pm
Forum: Scripting
Topic: Rotate a spawned model?
Replies: 8
Views: 847

Try

local.panzer.angle = 90

-yes un think it's work with it, but if what i have to write in my script for rotate in the others angles?

-Oh the command local.panzer.angle = 90 work with the model:
models/human/allied_oss_man_m1.tik
but not with the model:
models/static/flowerpainting.tik
What ...
by Altusi
Sun Mar 25, 2007 5:40 pm
Forum: Scripting
Topic: Rotate a spawned model?
Replies: 8
Views: 847

Rotate a spawned model?

Hello, it's me again! :)
(i am curious because i try to understand how it work, so sorry for my multiple topics)

So now i spawn and delete a model with a script (i learn it alone! lol Thanks again jv_map!)
And my problem now it's i can't find the command to rotate a model, because my model is not ...
by Altusi
Sun Mar 25, 2007 5:21 pm
Forum: Scripting
Topic: delete a spawned model in map
Replies: 4
Views: 622

hmm, it work today! Something strange!
But now it work, thank you!

I think about something, i try to spawn a model on my map (original moh model, like models/static/flowerpainting.tik) and i don't spawn at the good co-ordinates. Is it possible that some model (like model/static) can't be spawn at ...
by Altusi
Sat Mar 24, 2007 9:15 pm
Forum: Scripting
Topic: animMap and animMapPhase??
Replies: 4
Views: 625

jv_map wrote:No I meant different textures. I don't know exactly how to use it but guts say all the phase does is add an offset to the timing.
Ok. Thanks for the infos!

PS: nice forum!
by Altusi
Sat Mar 24, 2007 8:51 pm
Forum: Scripting
Topic: delete a spawned model in map
Replies: 4
Views: 622

Normally I don't pick the easy ones :P , but:

local.panzer delete

would do :)

Oh! I put this in my script and it doesn't work! I don't see the model.
I put the delete command like this:

main:
wait 5
local.panzer = spawn models/static/allied_oss_man_m1.tik
local.panzer.origin = ( -82.91 201 ...
by Altusi
Sat Mar 24, 2007 7:58 pm
Forum: Scripting
Topic: delete a spawned model in map
Replies: 4
Views: 622

delete a spawned model in map

Hello,

I just want to know what is the command in a script for delete a model (a model that i spawn in the script). Example:
The map is launch, and after 5 sec a model is spawn on the map.
-->

main:
wait 5
local.panzer = spawn models/human/allied_oss_man_m1.tik
local.panzer.origin = ( -1886 -65 ...
by Altusi
Sat Mar 24, 2007 6:04 pm
Forum: Scripting
Topic: animMap and animMapPhase??
Replies: 4
Views: 625

Thanks to answer me.
When you say multiple animating textures, do you mean multiple animation in the same shader? Or not?
Can you give me a little exemple to how use it with some little explanation please?
thanks

Al
by Altusi
Sat Mar 24, 2007 5:14 pm
Forum: Scripting
Topic: animMap and animMapPhase??
Replies: 4
Views: 625

animMap and animMapPhase??

Hello,

Is someone knows the difference between animMap and animMapPhase?
I try to use it but i don't find any difference? (maybe it depend when i add it in a shader, and what type of shader). :?: