Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Waypoints?!
Waypoints?! [message #230648] Wed, 15 November 2006 14:52 Go to next message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
This is just another quick question, and it may sound completely dumb. But, what I have is a bunch of soldiers running around because UseInnateBehavior is checked. Now, I'd like to make it so when they get within a close proximity of a path, they follow it. And, when they're done with the path they run around freely again until they get close to another path.

I thought they did it automatically. I tested it already and it seems to not be working. Is there a script I'm missing or something?

Help always appreciated. Big Ups
- Burn
Re: Waypoints?! [message #230681 is a reply to message #230648] Wed, 15 November 2006 20:26 Go to previous messageGo to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
It dosn't really work that way.. well it works almost like that.

With waypoints, the unit needs a direct path to the starting point on the waypath. Soldiers won't run to the closest point near them. The points have to be assigned to them.

Like you set a script on this bot, telling it to follow waypath ID 133. (example) The bot will then follow that waypath.

There is 2 things you can do. You can either make the waypath looping, so they would patrol the path. Or just make a line, and when they reach the end of the line, they will start running around freely again.

I don't know the best script to use for infantry, so hopefully someone else knows.

But still, that is how it would work.

[Updated on: Wed, 15 November 2006 20:26]

Report message to a moderator

Re: Waypoints?! [message #230685 is a reply to message #230681] Wed, 15 November 2006 23:40 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Actually I have set it up so the ai would follow certain waypaths if they wanted to get to a certain place. What I had done was made a teleporter and put a waypath to its exit point (I did generate pathfind and there was no way walkable to get there), and if you went through the teleporter you would be teleported to a spot otherwise not accessible. If you made enough noise the ai would here it and run to the teleporter and come to your position (there we no scripts attached to the solider either), and if you were to remove the waypath the ai would no longer come to you.
index.php?t=getfile&id=2027&private=0
Or at least I think the settings were like this, I lost the actual copy of the level a while back.


Re: Waypoints?! [message #230750 is a reply to message #230648] Thu, 16 November 2006 12:14 Go to previous messageGo to next message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
Hmm.. That's actually what I did with the paths. I selected one node and turned on "Two Way", "Human" and "Innate Pathfind." I kinda just assumed that Innate Pathfind meant that all of the innate soldiers would find the path. Heh heh..

I was more curious than anything. I thought it wouldn't work though because the Harvester only works when you put the path right in front of its dumb self.

Thanks for the help! Big Grin
Re: Waypoints?! [message #230761 is a reply to message #230750] Thu, 16 November 2006 13:06 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Try putting the start and end of the paths in zones.

Re: Waypoints?! [message #230883 is a reply to message #230648] Fri, 17 November 2006 15:14 Go to previous messageGo to next message
Veyrdite is currently offline  Veyrdite
Messages: 1471
Registered: August 2006
Location: Australia, Sydney
Karma: 0
General (1 Star)
jfw_guardjuty (somedin like that) has waypoint options as well as having other snazzies. havent tried it though.

note that not all of the jfw's work


WOL: Veyrdite Previously: Dthdealer ( a long time ago )
Re: Waypoints?! [message #230885 is a reply to message #230648] Fri, 17 November 2006 15:23 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
actually most if not all of jonwils scripts work, if you set them up properly. The only problem is some of them could do with being documented better, rather than just listing what the parameters are for, but if you really want to make them work you can usually figure them out.

http://steamsignature.com/card/1/76561197975867233.png
Re: Waypoints?! [message #230886 is a reply to message #230883] Fri, 17 November 2006 15:23 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Here is a good question, has anyone ever got "Requires Jump" to do anything?

Re: Waypoints?! [message #230891 is a reply to message #230648] Fri, 17 November 2006 15:27 Go to previous messageGo to next message
Veyrdite is currently offline  Veyrdite
Messages: 1471
Registered: August 2006
Location: Australia, Sydney
Karma: 0
General (1 Star)
that would be cool if you set a vehicle to a waypath and edit one of the waypoints to make em jump. too bad you'd probably have to add some more bones and scripts to the model.
(rubber mammy jumping off a cliff?) lol


WOL: Veyrdite Previously: Dthdealer ( a long time ago )
Re: Waypoints?! [message #230892 is a reply to message #230891] Fri, 17 November 2006 15:28 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Well I meant infantry (you probably knew this, so I'm just pointing out the obvious).

Re: Waypoints?! [message #230895 is a reply to message #230648] Fri, 17 November 2006 15:35 Go to previous messageGo to next message
Veyrdite is currently offline  Veyrdite
Messages: 1471
Registered: August 2006
Location: Australia, Sydney
Karma: 0
General (1 Star)
i know...... man, i hate reality.
lets sue reality, or at least the ren engine


WOL: Veyrdite Previously: Dthdealer ( a long time ago )
Re: Waypoints?! [message #230898 is a reply to message #230895] Fri, 17 November 2006 15:37 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
dthdealer wrote on Fri, 17 November 2006 15:35

i know...... man, i hate reality.
lets sue reality, or at least the ren engine

I don't think it would help much, beings EA kill Westwood and then drooped Renegade. All they do now is use the renegade engine for their 3d war games like generals, and Battle for Middle Earth.


Re: Waypoints?! [message #230904 is a reply to message #230648] Fri, 17 November 2006 15:45 Go to previous messageGo to next message
Veyrdite is currently offline  Veyrdite
Messages: 1471
Registered: August 2006
Location: Australia, Sydney
Karma: 0
General (1 Star)
it was just a pun

WOL: Veyrdite Previously: Dthdealer ( a long time ago )
Re: Waypoints?! [message #230912 is a reply to message #230904] Fri, 17 November 2006 16:28 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
No really I thought you were serious (sarcasm intended in a joking manor).

[Updated on: Fri, 17 November 2006 16:28]

Report message to a moderator

Re: Waypoints?! [message #231385 is a reply to message #230648] Mon, 20 November 2006 16:29 Go to previous message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
Hmm.. OK well this time I instead set up a looping waypoint. And, using the JFW_guard_duty command I just put in the waypath ID in and put the character spawner next to the waypath and generated the sectors. I have the new scripts installed as well. However, this time when I tried to run the level it just crashed befroe it even began.
Previous Topic: scripts
Next Topic: final scripts.dll 3.0 changelog and big secret feature announcement
Goto Forum:
  


Current Time: Wed Dec 04 18:03:51 MST 2024

Total time taken to generate the page: 0.01607 seconds