Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Delta Force (https://novahq.net/forum/forumdisplay.php?f=101)
-   -   -->Wac command needed<-- (https://novahq.net/forum/showthread.php?t=46036)

Luis 06-22-2011 05:03 PM

-->Wac command needed<--
 
Hey all i need a wac command:
The SSNanim.
I'm making a map where four deltas need to secure a building, but for this, i want to make one of them throw a flashbang. What is the command to make move his hands??

I already have the flash effect done in the wac file::
ammo2tgt(ammo_grenadefb,%TT) ;this show the grenade and it explode after 3 seconds. Peoples will be blind.
or
fx2tgt(effect_flashbang,%TT) ;this don't show the greande and it explode, but nobody will be blind.

The map is for BHD.
_________________________________________________

Also i've made a demo map showing what i want (is not the original map -45% done)..
If you want, here you go:
-->>INSERTION BUILDING<<--

Thanks,
Luis F.S

MERMITE 06-23-2011 01:46 AM

This was lying in my BHD rubbish bin, credit to it's maker, not me, try at your own risk Luis.

.........the short answer is: ssnanim SSN anim_name

Although it will also work if anim_name is replaced with a number between 1 and 245, as according to the list I posted before.
Of course, the fun answer is:
You'll want a map for testing purposes. All it needs is one of the three AI Delta Teammates, I think any one of them will do.
When you have a .bms ready, make a .wac for it. Copy and insert the following in the .wac:

if past 1 and elapse 8 then
if random 3 then
ssnanim XXX anim_idle_12 else
if eq rnd 2 then
ssnanim XXX anim_idle_11 else
if eq rnd 3 then
ssnanim XXX anim_idle_9
endif
endif
endif
endif

if past 1 and elapse 8 then
if random 3 then
ss2ssn ss_emo6 XXX else
if eq rnd 2 then
ss2ssn ss_emo9 XXX else
if eq rnd 3 then
ss2ssn ss_emo7 XXX
endif
endif
endif
endif

Then search and replace the word 'XXX' with the SSN of the Delta AI in your .bms
I'll admit, I only tested this a few minutes, but I thought it worked rather well.

Unfortunately, there is no 'Play Part Animation' .wac command, as far as I know, and I'm hopping mad about it, too.

1 -
12 anim_idle_#

15 anim_idle_look
16 anim_idle_2_look
17 anim_attack
18 anim_attack_2
19 anim_attack_3
20 anim_attack_4

21 anim_-
29 anim_emote_#

30 anim_climb_idle
31 anim_climb_up
32 anim_climb_top
33 anim_climb_down
34 anim_climb_right
35 anim_climb_left
36 anim_run_forward

44 anim_walk_forward

48 anim_walk_back

68 anim_out_of_ground
69 anim_post_attack
70 anim_swim_idle
71 anim_swim_forward
72 anim_wash_idle
73 anim_wash_walk
74 anim_wash_run
75 anim_reload
76 anim_swim_attack
77 anim_cover_idle
78 anim_cover_run
79 anim_cover_attack
80 anim_cover_attack_2
81 anim_hold_rope
82 anim_jog_forward
83 anim_crawl_forward
84 anim_crawl_attack
85 anim_guard
86 anim_pre_attack
87 anim_run_attack
88 anim_run_away
89 anim_burn
90 anim_burn_2
91 anim_burn_3
92 anim_burn_4
93 anim_hover
94 anim_sit
95 anim_roll_left
96 anim_roll_right
97 anim_emplaced
98 anim_emplaced_2
99 anim_guard_attack
100 anim_run_2
101 anim_run_3
102 anim_wounded_walk
103 anim_wounded_run
104 anim_grenade_1l
105 anim_grenade_1r
106 anim_grenade_2l
107 anim_grenade_2r
108 anim_dragger_idle
109 anim_dragger_walk
110 anim_draggee
111 anim_swim_back
112 anim_swim_left
113 anim_swim_right

115 anim_jump_loop
116 anim_guard_look
117 anim_guard_leave
118 anim_guard_cover
119 anim_stop

178 anim_-
237 anim_death_bullet_bodypart_direction
238 anim_death_grenade_forward
239 anim_death_grenade_right
240 anim_death_grenade_back
241 anim_death_grenade_left
242 anim_death_fire
243 anim_death_pungi
244 anim_death_drown
245 anim_crawl_die



good luck :jump:

"M"

Luis 06-23-2011 06:27 AM

Thanks Mermite!
I tried the anim_grenade_1l and it works!
But i got a problem:
When the Delta will throw the flashbang, he always shoot behind him. I want to make he shoot inside the building. I already tried the ssnturn command but that not worked.

MERMITE 06-23-2011 03:07 PM

Easiest here is K.I.S.S. Keep it simple stupid. Adapt your story to what the A.I can do

"M"

Luis 06-23-2011 03:11 PM

Yes. The A.I in this game is poor. The only thing i need to know is how to make a .AIN file..


All times are GMT -5. The time now is 08:46 PM.

Powered by vBulletin®