20mm flak and 15mm canon

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

20mm flak and 15mm canon

Post by Tropheus »

Hello everybody

I try in a sp map to use this two turretweapon but i can't.

I try to use it as a 88flak but i don't have any animation for the weapon.

It's firing but don't setaimtarget.

So is it really poossble to use these two turretweapon?

and how do i have to do

thx for your help

tropheus
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

The flak88 has animations for fire, idle, and turn...

What have you done with it? Just dropped it in your map an hope for it to work? If so: it won't. I'm afraid you have to control it from your script... here is a small start ( for the anims at least ): http://dynamic6.gamespy.com/~rjukanproj ... ableFlak88
Admin .MAP Forums
Image
Head above heels.
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

Post by Tropheus »

Thx bjarne for your answer.
but for the flak88 i don't have any problem it works normaly.

My problem is that i want to do the same thing (animations, turn, fire, etc...) for the flak20 and the 15 canon.
in fact for these two weapons i don't have any animation except the impact of the bombe.

is it possible to anim these weapon by script like the flak 88 or do i have to change something?

thx for your answers

tropheus
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

You can see in Radiant what anims are available by pressing +/- in the entity dialog.

The 20mmFlak as an example only has these 4:
00degrees
30degrees
60degrees
idle

...only elevation anims I think...
Admin .MAP Forums
Image
Head above heels.
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

Post by Tropheus »

Yes you are right Bjarne

they are only elevation anim and they work like this

local.gun_name anim 30degrees

for example

and for the 15mm canon there is only a idle animation

thanks for all

see you soon

Tropheus
Post Reply