Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Men of War > GEM Editor

GEM Editor All information about MoW map editor

Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2013, 02:59 PM
HelloDarkness HelloDarkness is offline
Registered Member
 
Join Date: Jan 2013
Posts: 3
Default User-controlled units...

When I put infantry/vehicle units on my map in the Gem editor I know it's possible to user-control them in the F1 mode, switching sides with the numpad. But is it possible (and if it is, how?) to make them user-controlled in the actual mow:as game? I'm trying to make a multiplayer map with a preset army of about 100 infantry + 10 tanks for each player.
Reply With Quote
  #2  
Old 01-19-2013, 10:17 PM
KnightFandragon KnightFandragon is offline
Approved Member
 
Join Date: Dec 2009
Location: KRL HQ, Ontario Canada
Posts: 740
Default

Are you going to have the tanks precrewed? If not, tanks and vehicles in general are easy, you simply place the tanks on the map and assign them to a player team. Then, once the game starts you buy infantry and crew them then. its easier that way.

Infantry, you would probably have to Autoassign them to the different teams. Tanks can be crewed through autoassign as well.
Reply With Quote
  #3  
Old 01-20-2013, 06:07 PM
HelloDarkness HelloDarkness is offline
Registered Member
 
Join Date: Jan 2013
Posts: 3
Default How do I auto-assign?

Thx for the reply, Fandragon.
Yes, the tanks would be precrewed.
Do you know how to auto-assign them? Does that take scripting?
Just setting a player for the unit when placing them in the editor still makes them hostile towards both team A and B when launching the mp game.
I tried some scripting but could only make them allied, not user-controlled.

Thanks in advance.
Reply With Quote
  #4  
Old 01-22-2013, 01:10 AM
KnightFandragon KnightFandragon is offline
Approved Member
 
Join Date: Dec 2009
Location: KRL HQ, Ontario Canada
Posts: 740
Default

Yes, you have to autoassign them. If they are still hostile to teams A and B then you probably have them set to the wrong player team. I thought it was A was Player 1 and B was player 2.

Auto Assigning is done something like:

You first take the units you want autoassigned, for example a squad of 8 men, and give them tags, hitting W in the F3 mode of the editor will bring up a list, one thing says "tag". Click tag and call them anything you want, but remeber which unit has which tag for later. If its a squad of Germans, you could call them "gersq1", short for German Squad 1, just for ease of order. Next, while in F3 mode and with noone selected, go to the "squad" tab which is on that big gray window on the right of the screen. With the squad tab opened select the units you just tagged as "gersq1" and make a squad, call that one the same as the tag, just for ease.

Next, while in F3 mode still, go to the triggers tab. There, make a new trigger up top, I usually call mine "coop_start". Then, select the coop_start tab and down at the bottom right click and make a delay of like 15. Then right click below the delay and make an autoassign tab. Then, click the autoassign tab, a window should pop up and you then put

Player: Player 1 (or whatever team the units are)
Tag: gersq1

Then hit Ok.

Below that autoassign, make another delay of like 0.2 and make anothe autoassign, which you would put in another unit that has been tagged and squaded up. You repeat this process until all units are autoassigned.

that is the only way I know to do it...its tedious and time consuming, especially for an undertaking like yours, 100s of men and lots of tanks lol. I did one that large only once on one of my defense missions.

Tanks can be squadded up adn autoassigned just like men, 8 at a time.

as for getting this to work in a regular MP battle, well, idk. You can hit F6 for weather and F9 for mission parameters, that has diplomacy settings, you can change them to maybe be friendly towards different players in game and what not.
Reply With Quote
  #5  
Old 01-22-2013, 02:54 AM
djsatane djsatane is offline
Approved Member
 
Join Date: May 2009
Posts: 282
Default

If you gonna autoassign them make sure you dont tag the soldiers inside the tanks by the tag u gonna autoassign because u just need to autoassign the vehicle and anything thats in it or on it will be autoassigned automatically.
__________________
DJSatane

Skirmishes/Missions by DJSatane
Reply With Quote
  #6  
Old 01-22-2013, 03:00 AM
KnightFandragon KnightFandragon is offline
Approved Member
 
Join Date: Dec 2009
Location: KRL HQ, Ontario Canada
Posts: 740
Default

Quote:
Originally Posted by djsatane View Post
If you gonna autoassign them make sure you dont tag the soldiers inside the tanks by the tag u gonna autoassign because u just need to autoassign the vehicle and anything thats in it or on it will be autoassigned automatically.

How come when I put a crewed artillery gun in tow on a halftrack in one of my missions the gun didnt come in on the back when the time came? Was it because I had the crew on it tagged as well? If that was why, hmm, will have to revisit that.
Reply With Quote
  #7  
Old 01-22-2013, 08:20 AM
djsatane djsatane is offline
Approved Member
 
Join Date: May 2009
Posts: 282
Default

having guns attached will not work as intended, when mission is loaded they will be unnatached and I believe u will either have to pass command g_link between vehicle that will tow it and gun or use command to attach thats in editor before u roll out the car. You can look it up in some missions from mow or even mowas skirmishes or mods to see how some of it is done.

Although I think unmanned gun can be towed without any extra script but I dont remember.
__________________
DJSatane

Skirmishes/Missions by DJSatane
Reply With Quote
  #8  
Old 01-22-2013, 08:39 PM
HelloDarkness HelloDarkness is offline
Registered Member
 
Join Date: Jan 2013
Posts: 3
Default

Thanks a lot. I'll get to work asap.
Reply With Quote
Reply


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. The time now is 07:58 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.