Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Patrolling Bots
Patrolling Bots [message #358964] Wed, 19 November 2008 01:03 Go to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
Hi,
I'm trying to make some bots who
follow a looping waypath in LE.
They must stop and follow an enemy
unit when they see one. But when the
unit is killed, they must return to
follow their waypath. Any ideas to do this?
Kind regards,
Brian


[Updated on: Thu, 20 November 2008 12:42]

Report message to a moderator

Re: Patrolling Bots [message #358997 is a reply to message #358964] Wed, 19 November 2008 08:22 Go to previous messageGo to next message
Altzan is currently offline  Altzan
Messages: 1586
Registered: September 2008
Location: Tennessee
Karma: 0
General (1 Star)
Easy tutorial on Renhelp, BUT bots won't return patrolling after seeing an enemy, so not perfect Whats That

I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
Re: Patrolling Bots [message #359016 is a reply to message #358964] Wed, 19 November 2008 11:25 Go to previous messageGo to next message
Canadacdn is currently offline  Canadacdn
Messages: 1830
Registered: September 2005
Location: Temple of Nod
Karma: 0
General (1 Star)
PLECOS MASTER
Why did you insist
on typing your question
in such a fucked up
sentence? The enter key
is not needed this much.
Kind regards,
PLECOS
Re: Patrolling Bots [message #359019 is a reply to message #359016] Wed, 19 November 2008 11:51 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
Canadacdn wrote on Wed, 19 November 2008 20:25

Why did you insist
on typing your question
in such a fucked up
sentence? The enter key
is not needed this much.
Kind regards,
PLECOS

stop being rude if you don't help then don't post Sneaky
Re: Patrolling Bots [message #359034 is a reply to message #359019] Wed, 19 November 2008 14:13 Go to previous messageGo to next message
Altzan is currently offline  Altzan
Messages: 1586
Registered: September 2008
Location: Tennessee
Karma: 0
General (1 Star)
ErroR wrote on Wed, 19 November 2008 12:51

Canadacdn wrote on Wed, 19 November 2008 20:25

Why did you insist
on typing your question
in such a fucked up
sentence? The enter key
is not needed this much.
Kind regards,
PLECOS

stop being rude if you don't help then don't post Sneaky


Agreed


I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
Re: Patrolling Bots [message #359039 is a reply to message #359034] Wed, 19 November 2008 15:19 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
Altzan wrote on Wed, 19 November 2008 16:13

ErroR wrote on Wed, 19 November 2008 12:51

Canadacdn wrote on Wed, 19 November 2008 20:25

Why did you insist
on typing your question
in such a fucked up
sentence? The enter key
is not needed this much.
Kind regards,
PLECOS

stop being rude if you don't help then don't post Sneaky


Agreed

He did express Kind regards tho. That was quite nice.


http://i6.photobucket.com/albums/y206/bisen11/bisensubzerosig2.jpg
Re: Patrolling Bots [message #359041 is a reply to message #359039] Wed, 19 November 2008 15:26 Go to previous messageGo to next message
anant is currently offline  anant
Messages: 571
Registered: July 2008
Location: Canada
Karma: 0
Colonel
bisen11 wrote on Wed, 19 November 2008 16:19

Altzan wrote on Wed, 19 November 2008 16:13

ErroR wrote on Wed, 19 November 2008 12:51

Canadacdn wrote on Wed, 19 November 2008 20:25

Why did you insist
on typing your question
in such a fucked up
sentence? The enter key
is not needed this much.
Kind regards,
PLECOS

stop being rude if you don't help then don't post Sneaky


Agreed

He did express Kind regards tho. That was quite nice.

overall not nice, so he should not have posted


http://i297.photobucket.com/albums/mm225/paulie134/Anant.png
Rest in peace spoonplex, We love you.
Re: Patrolling Bots [message #359104 is a reply to message #358964] Thu, 20 November 2008 09:11 Go to previous messageGo to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
Hi,
Thanks for all the information Big Ups
But does anyone know how this script works:
JFW_Guard_Duty
Because I think I can use this one for
the bot, but I just won't get it functioning.
Kind regards,
Brian

[Updated on: Thu, 20 November 2008 09:11]

Report message to a moderator

Re: Patrolling Bots [message #359112 is a reply to message #359016] Thu, 20 November 2008 09:45 Go to previous messageGo to next message
ArtyWh0re is currently offline  ArtyWh0re
Messages: 665
Registered: June 2008
Location: Hand of Nod
Karma: 0
Colonel
Canadacdn wrote on Wed, 19 November 2008 12:25

Why did you insist
on typing your question
in such a fucked up
sentence? The enter key
is not needed this much.
Kind regards,
PLECOS

I actually find it easier to read and take in as the amount he wrote would go across the screen and sometimes might put me off.


Check out my C&C Renegade videos!
http://www.youtube.com/user/Shodan234
Re: Patrolling Bots [message #359801 is a reply to message #359112] Tue, 25 November 2008 06:00 Go to previous messageGo to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
Beneath this you can find a Screen shot
from the map I am busy with. It may help
you with thinking how to make the script
things work.

[Updated on: Tue, 25 November 2008 06:16]

Report message to a moderator

Re: Patrolling Bots [message #359802 is a reply to message #359112] Tue, 25 November 2008 06:02 Go to previous messageGo to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
Hi,
I found a new way to get a patrolling bot.
If a bot has "go to object" script on him,
he will also attack foes on the way. So
what if you teleport the object which he is
following, each time he is near it, he will
turn back and go to the object which is
teleported now. The object must keep teleporting
then. I thought I thought I had it functioning,
but the "JFW_Zone_Send_Custom_Preset_Enter" script
just won't work. Each time the soldier comes
in the zone, which is around the object,
the object must teleport back to the other
side, so he will keep "patrolling". The object
will be teleported with "JFW_Teleport_Custom".
The object had 2 of these scripts attached, one
for teleporting the item back and the other one
teleporting it to the place the soldier began.
For a picture look to the message above.
Can anyone help me with this?
Kind Regards,
Brian

[Updated on: Tue, 25 November 2008 06:36]

Report message to a moderator

Re: Patrolling Bots [message #360702 is a reply to message #359802] Sun, 30 November 2008 08:50 Go to previous messageGo to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
Hi,
I have found a better way in getting
patrolling bots. I use M03_Patrol_Base.
But once they saw me they won't continue
their waypath. The bots walk slow, just
like the way I want it. Can anyone help?
Kind regards,
Brian
Re: Patrolling Bots [message #360721 is a reply to message #360702] Sun, 30 November 2008 10:28 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
sauron--the--king wrote on Sun, 30 November 2008 17:50

Hi,
I have found a better way in getting
patrolling bots. I use M03_Patrol_Base.
But once they saw me they won't continue
their waypath. The bots walk slow, just
like the way I want it. Can anyone help?
Kind regards,
Brian


i don't know Sad
Re: Patrolling Bots [message #360725 is a reply to message #360702] Sun, 30 November 2008 10:57 Go to previous messageGo to next message
Altzan is currently offline  Altzan
Messages: 1586
Registered: September 2008
Location: Tennessee
Karma: 0
General (1 Star)
sauron--the--king wrote on Sun, 30 November 2008 09:50

Hi,
I have found a better way in getting
patrolling bots. I use M03_Patrol_Base.
But once they saw me they won't continue
their waypath. The bots walk slow, just
like the way I want it. Can anyone help?
Kind regards,
Brian



With that script alone, they will not continue patrolling. I don't think there's a way to fix that either. Huh


I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
Re: Patrolling Bots [message #360772 is a reply to message #358964] Sun, 30 November 2008 14:39 Go to previous messageGo to next message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma: 0
General (3 Stars)

DanPaul88 is the man for RenAI AFAIK.


Renguard is a wonderful initiative
Toggle Spoiler
Re: Patrolling Bots [message #360779 is a reply to message #360772] Sun, 30 November 2008 14:56 Go to previous messageGo to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
CarrierII wrote on Sun, 30 November 2008 15:39

DanPaul88 is the man for RenAI AFAIK.


I asked DanPaul88 for the patrolling bots. I asked
him if he would post his answer if he knew it
right in this forum.
Kind regards,
Brian
Re: Patrolling Bots [message #360848 is a reply to message #358964] Mon, 01 December 2008 01:50 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I usually write my own AI scripts instead of using the generic scripts to give me more flexibility over their behaviour. I am at work at the moment so I can't actually check into this, but try reading the readme.txt (ctrl+f to find any references to waypoint might be a good start) to see if you can find anything useful.

If I remember tonight after work I will have a look to see if any of the scripts do what you want, if not perhaps I will write one to put into 4.0. From my experience with the Renegade AI it is likely that the reason it does not already exist is because when the bot returns to patrolling they will start again from the beginning of the waypath instead resuming from where they got up to. A simple solution would be some daves arrows with an attatched script with a patrol ID and it's order in the patrol, and using another script on the AI to remember which one was the last one it visited, and therefore which one it has to go to next.

Remind me to look into it at some point.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Mon, 01 December 2008 01:57]

Report message to a moderator

Re: Patrolling Bots [message #360873 is a reply to message #360848] Mon, 01 December 2008 07:16 Go to previous message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
danpaul88 wrote on Mon, 01 December 2008 02:50


If I remember tonight after work I will have a look to see if any of the scripts do what you want...


Hi,
If you find anything, please tell me Razz
I tried many things, but I just can't
find any scripts or combination of
scripts, so it will work the way I
want. I would love to see the script
that will function the way I want In Love
Kind regards,
Brian
Previous Topic: RETICLES !
Next Topic: [Query] Renegade Battlefront
Goto Forum:
  


Current Time: Fri Dec 27 17:23:38 MST 2024

Total time taken to generate the page: 0.01374 seconds