Go Back   Novahq.net Forum > Games > Delta Force

Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-21-2013, 02:50 PM
grenadier501 is offline grenadier501
grenadier501's Avatar
JO mod maker

Join Date: Mar 2010
Location: Argentina
Posts: 297

Confused Make vehicle follow player?

hey all.

I know it is possible to make AI track and follow the player using waypoint 127 "Goto player" , but is there any way to do the same with vehicles?

for example make an enemy tank follow the player..

I tried WP 127 on vehicles but didn't work..
Reply With Quote
  #2  
Old 10-02-2013, 01:39 AM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

One way I can think of is way complex and not really flexible.


example only (not a working script)

if ssnseesssn(driver,player) and ssnarea(tank,area1) and ssnarea(player,area1) then
ssntowp(tank,nearest WP to area1)
endif
Reply With Quote
  #3  
Old 10-03-2013, 12:05 AM
Hellfighter is offline Hellfighter
Hellfighter's Avatar
Chief ADFP

Join Date: Jun 2002
Location: San Jose Calif 95111
Posts: 21,143

Send a message via ICQ to Hellfighter
would be easy for a player pig-up a tanker bar (doggy bone) then tank follow were ever the player go

like in an doggy treat lol

can you see the tank jumping around like a happy poppy waiting to it get treat lol

only joking

btw good to see you grenadier501 long time
__________________
* altnews sources [getmo & others news] not found main FNN: realrawnews.com
*Discord: Unknown77#7121
Playing now days: EA Games> swtor [star wars old republic]

Last edited by Hellfighter; 10-03-2013 at 12:17 AM.
Reply With Quote
  #4  
Old 10-03-2013, 05:38 AM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Try This

Player: ssn 10000
Enemy Driver: ssn 1
Enemy Tank: ssn 2
Enemy detects player: 320m

Redirect the Tank Unit AI to waypoint 1 - Not the driver

if ssnseesssn(1,10000,320) and ssnarea(10000,1) then
set(v1,1)
endif

if eq(v1,1) then
ssntowp(2,1)
endif
Reply With Quote
  #5  
Old 10-03-2013, 05:43 AM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

You can then build up a grid of areas with a script along the lines of the above to guide the AI Tank roughly to the area where the player is detected by the driver without the driver jumping from the tank.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:35 AM.




Powered by vBulletin®