Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripts Question COME ON!
Scripts Question COME ON! [message #143856] Tue, 15 March 2005 23:43 Go to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Ok im making a vehicle a.i. tutorial and i thought i knew how to do it, but now that i tried nothing works. Ive even resorted to making my own script but still the vehicle refuses to shoot and follow a waypath at the same time. One or the other, sure yeah but not both.

Whats the best combination? ive tried:

JFW_Follow_Waypath
JFW_Base_Defence

M00_Follow_Waypath_initiate
JFW_Base_Defence

JFW_Follow_Waypath
M00_Base_Defence

And countless others! arrg.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165

[Updated on: Wed, 16 March 2005 19:49]

Report message to a moderator

Scripts Question COME ON! [message #143880] Wed, 16 March 2005 05:12 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
Yea, I've used :
JFW_Follow_Waypath
JFW_Base_Defence

in the past and found it not to work.
Does it just ignore Follow_Waypath and just used Base_Defence ?
i.e. stand still and act as a Nod Turret ?

I've tried countless amounts of things and I can't get a working AI for Vehicles


Warrior Nation Number One Gaming Clan In The World Razz

http://www.tibnas.com/Outbound_Images/wnxcabal_cabalcc3kw_sig_ani.gif
Scripts Question COME ON! [message #143885] Wed, 16 March 2005 06:03 Go to previous messageGo to next message
Naamloos is currently offline  Naamloos
Messages: 771
Registered: April 2004
Location: The Netherlands
Karma: 0
Colonel
The base defense script makes things act like turrets and stuff yes... Try rotating the vehicle a bit(in LE) with that script and it goes right back to it's original position in-game.

I tried some SP scripts but none of them work. They do shoot and don't return to their original position like base_defence but they still don't move.

I have not tested all scripts yet though... There must be one to make it work... Confused
Scripts Question COME ON! [message #143886] Wed, 16 March 2005 06:24 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Yeah i know! god forbid there would be a easy combination for the ability, but no! it must be reserved for the mighty apple.


I know of a perfect script on the first lv for sp, but the nod buggy that its on isnt in LE, its spawned at some trigger that i cant find.

~ Right after you blow up the nod barracks and you head up the road. It follows a circular waypath and is very defensive. Perfect, i mean its a kiss of perfectness.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Scripts Question COME ON! [message #143894] Wed, 16 March 2005 08:35 Go to previous messageGo to next message
Naamloos is currently offline  Naamloos
Messages: 771
Registered: April 2004
Location: The Netherlands
Karma: 0
Colonel
But it shoots at anything that shoots at it, even at nod players with FF off.
Scripts Question COME ON! [message #143939] Wed, 16 March 2005 13:48 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Ok so basically no one knows. Its been 15 hours and no body knows.

WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Scripts Question COME ON! [message #144018] Wed, 16 March 2005 19:49 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Come on! you can honestly tell me that no one here has gotten a vehicle to work.

WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Scripts Question COME ON! [message #144019] Wed, 16 March 2005 19:56 Go to previous messageGo to next message
dueltommychan is currently offline  dueltommychan
Messages: 111
Registered: January 2005
Karma: 0
Recruit
hihi Very Happy
Scripts Question COME ON! [message #144020] Wed, 16 March 2005 20:04 Go to previous messageGo to next message
IRON FART
Messages: 1989
Registered: September 2003
Location: LOS ANGELES
Karma: 0
General (1 Star)
Question
dueltommychan, you are officially wierd.

Quote:


Yeah i know! god forbid there would be a easy combination for the ability, but no! it must be reserved for the mighty apple.


LOL

Maybe you need to use something instead of JFW_Base_Defence or M00_Base_Defence. After all, those were designed for stationary objects.


http://www.baclan.org/albums/album05/dasmodell.jpg
Quote:


Quote from IRC
<[Digital]> get man_fucking_a_car.mpg
<[Digital]> ah fuck wrong window

[Updated on: Wed, 16 March 2005 20:06]

Report message to a moderator

Scripts Question COME ON! [message #144021] Wed, 16 March 2005 20:05 Go to previous messageGo to next message
glyde51 is currently offline  glyde51
Messages: 1827
Registered: August 2004
Location: Winnipeg
Karma: 0
General (1 Star)
Mutant?

No. Seriously. No.
Scripts Question COME ON! [message #144022] Wed, 16 March 2005 20:10 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
IRON FART

Question
dueltommychan, you are officially wierd.

Quote:


Yeah i know! god forbid there would be a easy combination for the ability, but no! it must be reserved for the mighty apple.


LOL

Maybe you need to use something instead of JFW_Base_Defence or M00_Base_Defence. After all, those were designed for stationary objects.


Ywah ive tried so many scripts over the last 4 days of doing this.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Scripts Question COME ON! [message #144023] Wed, 16 March 2005 20:11 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
glyde51

Mutant?


As of just right now, just a Gdi humvee and a Nod buggy going around two round waypaths. I want them to shoot at each other as they go around.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Scripts Question COME ON! [message #144034] Wed, 16 March 2005 21:09 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
Why waste time with waypaths? Using pathfind creates AI that can chase you almost anywhere. Very Happy

http://www.n00bstories.com/image.fetch.php?id=1305615485

http://www.n00bstories.com/image.fetch.php?id=1270311453

http://www.n00bstories.com/image.fetch.php?id=1333685797

Oh right, they killed me... maybe pathfind makes them too smart. Laughing


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts Question COME ON! [message #144037] Wed, 16 March 2005 21:14 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Oh dont get me wrong, im all for AI with pathfind, and i am going to include it in my tutorial, but what did you use to make it attack you and also have freedom of movement?

Cant have a vehicle AI tutorial and not touch on the waypaths. Also i can have the vehicles drive to certian spots like bases and when they reach the end they are freelance.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Scripts Question COME ON! [message #144042] Wed, 16 March 2005 21:51 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
Those vehicles are using Neo_Vehicle_AI, a script I wrote since I didn't want to use AI vehicles stuck to waypaths. It's kind of a beta version of the script since I didn't finish all the features I originally planned for it.

I don't think they actually moved and fired at the same time though. I think when they found a target they'd stop and fire at it as long as it stayed alive and in range. I wrote the script to run in a loop of timers when the vehicle is fighting. Every second or so it checks if the target needs to be chased or attacked and changes the current action if required. That way if a target runs off it starts chasing them again.


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts Question COME ON! [message #144068] Thu, 17 March 2005 01:09 Go to previous messageGo to next message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

I used thsi for the BattelTanx AI Tanks:
Created a Spawner for this Tank, attatched:
M03_BasePatrol (This needs the WAYPATH id not the Id of a singel Waypoint!! I mention that on Renhlp also)

The Tank itself has attached:
M00_Base_Defence

For this to work you must chekc that several things are settet up right!:
- The "SightRange" Should be set to something like 100 or so or the Vehile just won't recognize you!
- The "SightArc" Should be 360° or the Vehicle won't recognize you when you are behind it!
- The Turret settings should be settet so the Tank aktualli can turn completely around
- activate AIM2D, type Turret
- Be sure the Spawner AND the Tank are setted up for the right team!
- Be sure to have Waypathes generated!!


www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"
Scripts Question COME ON! [message #144070] Thu, 17 March 2005 01:54 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Hmm getting closer, the gdi humvee follows the waypath until it sees the buggy then runs into a wall and stops Confused the turret points at the buggy but doesnt shoot.

Oposite for the buggy tough, no waypath and is shooting the humvee.


**

I did everything upto your last step, waypath generating?? or sector generating? Well either way i did the sector gen.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Scripts Question COME ON! [message #144078] Thu, 17 March 2005 04:55 Go to previous messageGo to next message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

You shoudl add vehicle blockers to areas where AI can't (or should) not drive to, the regenrate the Sektors.
I'm not sure if AI is shooting at AI.... try if the attac you. Very Happy


www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"
Scripts Question COME ON! [message #144138] Thu, 17 March 2005 13:40 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Laeubi

You shoudl add vehicle blockers to areas where AI can't (or should) not drive to, the regenrate the Sektors.
I'm not sure if AI is shooting at AI.... try if the attac you. Very Happy


Meh noth'in. Nod shoots me, gdi doesnt.

(Gdi doesnt shoot me is im nod or gdi)
(nod shoots me if im gdi)

Attached:

http://www.file.oblivionabre.com/VechAiTutorial.zip


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Scripts Question COME ON! [message #144144] Thu, 17 March 2005 14:11 Go to previous messageGo to next message
Sn1per XL is currently offline  Sn1per XL
Messages: 165
Registered: May 2003
Location: Florida
Karma: 0
Recruit
Try M05_nod_gun_emplacement

Ingame names: Sn1perXL, xhav0c
Scripts Question COME ON! [message #144273] Fri, 18 March 2005 07:40 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
M03_goto_star
Makes ai n00by Laughing

M01_hunt_the_player_jdg
The only thing is that isnt waypoints....


http://i6.photobucket.com/albums/y206/bisen11/bisensubzerosig2.jpg
Scripts Question COME ON! [message #144375] Fri, 18 March 2005 21:14 Go to previous messageGo to next message
bigwig992 is currently offline  bigwig992
Messages: 555
Registered: February 2003
Location: Nashua, NH
Karma: 0
Colonel
JFW_Gaurd_Duty is what we used in Sole Survivor. Seemed to work good for our needs.

-The ONLY Renegade fan to pee off a school.
http://www.n00bstories.com/image.fetch.php?id=1055662786
http://www.n00bstories.com/stats/renegade_stats.php?player=bigwig992&team=gdi
Scripts Question COME ON! [message #144790] Sun, 20 March 2005 18:29 Go to previous message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
How's that Gaurd Duty script work? I think i get the Range and waypath id. But what is all that other stuff in it? And would i need any other scripts along with it or no?

http://i6.photobucket.com/albums/y206/bisen11/bisensubzerosig2.jpg
Previous Topic: HELP WITH MAP
Next Topic: Connecting rooms/hallways
Goto Forum:
  


Current Time: Tue May 07 12:07:07 MST 2024

Total time taken to generate the page: 0.01066 seconds