| View previous topic :: View next topic |
| Author |
Message |
msxyz
Joined: 31 Mar 2005 Posts: 485
|
Posted: Thu Mar 31, 2005 2:20 pm Post subject: Can't get random ship to work |
|
|
HI,
I'm trying to re-create my own campaign with the editor. So far, things have worked well: I've been able to create harbours with traffic (scripted) and various naval units deployed around the world each with a route.
The problem is that I can't make random groups to appear at all, even with a 100% probability. I'm quite sure I've set all the parameters correctly (I've spent a lot of time analayzing the official campaign files) yet anything related to the random layer does not seem to work as it should.
Lurking arond these forums I've read about other people mentioning they had trouble with random ship. Was anybody able to find the root of the problem ?
 |
|
| Back to top |
|
 |
FAdmiral
Joined: 21 Sep 2001 Posts: 3043 Location: Atlanta, GA, USA
|
Posted: Thu Mar 31, 2005 6:08 pm Post subject: |
|
|
Explain to me just how you are creating them. I have successfully created random ships, planes already. It's all in the way you set them up....
JIM |
|
| Back to top |
|
 |
msxyz
Joined: 31 Mar 2005 Posts: 485
|
Posted: Thu Mar 31, 2005 6:35 pm Post subject: |
|
|
Ok, I've prepared a clean RND file (without that the game would just crash after selecting the campaign mode in the menu)
1) On the map, Rclick > Add random group
1a) <Name> , Group type: Naval
1b) I select a ship from the menu that popped up, set the version, crew AI, etc...
1c) I click on "Add Entry"; now my single ship will appear in the entry list at the left of the menu window and also as leader candidate for that group.
1d) I click on "Accept"
2) Now the group appears on the world map. I select it, then Rclick > Group Properties
2a) I set speed, heading, random area radius, crew AI, entry and exit date, repeat interval and group probability.
3) Again, Rclick > Add waypoint; I add a few waypoints.
What am I doing wrong ?  |
|
| Back to top |
|
 |
FAdmiral
Joined: 21 Sep 2001 Posts: 3043 Location: Atlanta, GA, USA
|
Posted: Thu Mar 31, 2005 10:46 pm Post subject: |
|
|
I do not use waypoints at all and make sure you set your date of the
unit in question behind your starting date. The program will then pick
your entrys (if they are behing the start date) add escorts if you have then listed and sent the convoy, TF or single ship on its way. Where it goes. how fast and direction is the random factor. If you added no
escorts, then all ships & convoys will be unescorted. This has always
worked for me...
JIM |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Fri Apr 01, 2005 7:44 am Post subject: |
|
|
| FAdmiral wrote: | I do not use waypoints at all and make sure you set your date of the
unit in question behind your starting date. The program will then pick
your entrys (if they are behing the start date) add escorts if you have then listed and sent the convoy, TF or single ship on its way. Where it goes. how fast and direction is the random factor. If you added no
escorts, then all ships & convoys will be unescorted. This has always
worked for me...
JIM |
Are you talking about a single mission that you made yourself...where you placed a Random Generated Group and actually saw the ship(s) in the mission? If so, do you think it would be possible for you to send me one of these missions so I can see how you did it?
I could PM you my e-mail. What do you think?
Aviar |
|
| Back to top |
|
 |
msxyz
Joined: 31 Mar 2005 Posts: 485
|
Posted: Fri Apr 01, 2005 10:19 am Post subject: |
|
|
| FAdmiral wrote: | I do not use waypoints at all and make sure you set your date of the unit in question behind your starting date. The program will then pick your entrys (if they are behing the start date) add escorts if you have then listed and sent the convoy, TF or single ship on its way. Where it goes. how fast and direction is the random factor. If you added no escorts, then all ships & convoys will be unescorted. This has always
worked for me...
JIM | If you look at the official campaign RND file, you'll notice that most random units do follow waypoints because they're spawned on histhorical routes. Anyway, I've tested also without waypoints and obtained the same (no) result.
I'll be going to triple check the official campaign files again to see if I missed something: scripts, events or some sort of trigger needed to have the things started. |
|
| Back to top |
|
 |
msxyz
Joined: 31 Mar 2005 Posts: 485
|
Posted: Fri Apr 01, 2005 5:02 pm Post subject: |
|
|
Finally solved the problem. It seems that the spawn points were too close to the sub position. |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Fri Apr 01, 2005 8:12 pm Post subject: |
|
|
How about a little more info?
-How far back should it be?
-If it was too close earlier, how come the editor validated the mision?
- You can actually SEE the Random Generated Group?
-Are you talking about a single mission or a campaign?
Aviar |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Fri Apr 01, 2005 9:02 pm Post subject: |
|
|
| msxyz wrote: | Finally solved the problem. It seems that the spawn points were too close to the sub position. |
Still not working here. I spawned a carrier 50 km away and placed the WP right next to my sub. When I ran the time accel in the mission editor, it spawned and came right past my sub at about the 3 hour mark.
When I ran the actual mission, I never saw the sub. I sped up the time to 30 hours and it still didn't show.
Can you send me the mission where you got it to work?
Aviar |
|
| Back to top |
|
 |
msxyz
Joined: 31 Mar 2005 Posts: 485
|
Posted: Fri Apr 01, 2005 9:26 pm Post subject: |
|
|
I've tried so far only with campaign which uses a dedicated layer (map file) for random ships. But I think it should also work in single mission.
Have you followed all the steps I've explained in my second post ?
If you still can't spawn ships, I'll send you my campaign files which are only a few KB. |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Fri Apr 01, 2005 10:02 pm Post subject: |
|
|
Thanks. I sent you a PM.
Maybe you could try it on a single mission and let me know if you can get it to work. Just place a player sub and a random group. It should only take about 10 minutes to make and test the whole thing.
I think most of us are trying it in single missions and it's not working.
Aviar |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Fri Apr 01, 2005 10:28 pm Post subject: |
|
|
Ok, I think I got it working. I guess you have to use a RND layer for single missions also.
I had already tried that but I guess I encountered the same problem as you....group was too close to my sub. I just loaded up one of my earlier test missions that had a RDN layer and moved the group back to 50km. That did it.
Now, I need to find out how to spawn a group from the Events menu and hopefully that will be my last roadblock. I have everythhing else pretty much figured out.
Aviar |
|
| Back to top |
|
 |
msxyz
Joined: 31 Mar 2005 Posts: 485
|
Posted: Sat Apr 02, 2005 10:28 am Post subject: |
|
|
Ok, I've made a small mission with a working random ship.
I don't have anymore a webspace where to put this file, but it's so small (~3KB) that it can be easily sent by mail.
Aviar, you've an e-mail  |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Sat Apr 02, 2005 1:36 pm Post subject: |
|
|
Thanks, but I never got the e-mail. No problem. I got it working anyway.
Now, if you find out how to spawn a unit from the Events menu, let me know...
Aviar |
|
| Back to top |
|
 |
acecol
Joined: 29 Mar 2005 Posts: 9
|
Posted: Sat Apr 02, 2005 2:29 pm Post subject: |
|
|
| Have sent you a pm,perhaps you could mail me the file you have made for the RND problem.Thanks msxyz. |
|
| Back to top |
|
 |
|