Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Delta Force (https://novahq.net/forum/forumdisplay.php?f=101)
-   -   WACed out AI (https://novahq.net/forum/showthread.php?t=44598)

KU43 12-14-2009 02:48 PM

WACed out AI
 
When I start writing the wac file everything goes as planned. But after the 5th or 6th ssn movement to a way point they get to the first way point and stall, The boats act as if they are stuck in the mud and the choppers fly around in circles.

I did notice if I assign more than one to a boat they were all running around changing positions so I only put one in the boat. Same thing, the boat just putts around going nowhere. So I used a helicoptes and same thing it flies but never goes anywhere.

I know any little thing can cause these files to become useless and I have checked, rechecked, and checked again. I don't recall this ever happening before but it is really starting to piss me off. Any ideas?

Mstenger404 12-14-2009 09:03 PM

First thing that comes to mind, have you checked the height of your waypoints? over water I take it they're defaulted on the sea floor, so boats wont be able to reach them which causes them to go in circles in hopes of touching it. Same for the helicopters.

MERMITE 12-15-2009 12:15 AM

Not Enough Information Supplied:
assumption, that you have confused wac to events editor

However, your models behaviour is suggesting that it is unable to locate the next waypoint, right click the item attributes and increase the circle from the default 10m to about 25m, in some examples I use 55m-75m
keep the waypoints close 100-200m apart depending on speed, ensure your models go to red alert and maintain that state
with aircraft you need to keep an eye on the waypoints horizontlly, so it takes off and lands like steps of 20m or so.
"M"

KU43 12-16-2009 01:28 AM

Ok I hadn't set the waypoints for boats to sea level but I did the choppers. The wac file is as follows
if never () and past (10) then
ssn2ssn (577,573)
ssn2ssn (578,574)
ssn2ssn (606,603)
endif

1f never () and past (100) then
ssntowp (603,7)
endif

1f never () and past (300) then
ssntowp (573,5)
endif

if never () and past (400) then
ssntowp (574,6)
endif

If by circle you mean distance I tried uping it. I also set the waypoints of ship to sea level. I tried setting the waypoints closer together. Nothing.

MERMITE 12-16-2009 01:56 PM

Your wac speak is correct but your grammer is cr@p, once you get past 30-45 seconds wac gets dirty, use the game clock to trigger, assume your game time(TOD) is
1500 (3PM), or consider other trigger, I prefer SSNnearSSN(me,item,3m dist)
also you may have to SSN_isRED,check that with game wac, is for items with motors
only used sometimes not always, depends on item?


if never() and eq(CurTOD,15:00) then
text("15:00") //placeholder trig
endif
if chain(10) then
ssn2ssn (577,573)
ssn2ssn (578,574)
ssn2ssn (606,603)
endif

if never() and eq(CurTOD,15:02)then
ssntowp (603,7)
endif

if never() and eq(CurTOD,15:05) then
ssntowp (573,5)
endif

if never() and eq(CurTOD,15:10) then
ssntowp (574,6)
endif

Go and extract some wacs from the game pff have a look but pratice pratice

and practice somemore

"M"


All times are GMT -5. The time now is 06:21 PM.

Powered by vBulletin®