Red Phazon
  • Red Phazon
  • 51.5% (Neutral)
  • Private Topic Starter
17 years ago
Ok, so I'm new to modding this game. I started map making earlier this week and am now trying to figure out how to add some boats, specifically amphibious transports, to my map. I've read this tutorial, Adding Boats into your Mod , and it was helpful, because it lead to me discovering that these things could be edited. 😁 But, the tutorial seems to be incomplete. It leaves you with a capturable shipyard/dock that is supposed to create battleships, but doesn't. When you click on the build ship button, nothing happens.

So I started messing with some other things and tried comparing with other buildings such as war factories. I gave up by now (I've been trying to do this all morning) and just tried to make the Amphibious Transports capturable, and able to hold forces inside, but that didn't work either. I guess vehicles are uncapturable? So anyway, can anyone help me out? I would appreciate it very much! 😄
Sponsor
Amaurus
17 years ago
im not so sure about the idea of making shipyards and making them spawn ships,but i know how you can "capture" vechicles (did i spell that right? XD) heres a quote posted by me myself and pi

After you know about scripts, go & name the units you want unmanned. After that, create a script using the action in the location, Unit/Status/Make unmanned. In that action, choose the unit named. Just leave the condition as True.

If you want a bunch of units unmanned, there's a simpler way then just copying the "unmanned" action for each unit. Go to the Player List, (Edit > Edit Player List) & create a new player there using the Civilian faction. (You can name it if you want.) Now go create a script using the action Team/Status/Make unmanned instead. For the Team, choose the team name of the player you created. Now select all the units that you want unmanned & in the Object Properties window, & in the Team text box, select the team of the player you created. Now those units will be unmanned.

that should tell you how to unman your amphibious transports. Hope this helps!
Hey your base is on fire.
CommieDog
17 years ago
Make sure you have a ProductionUpdate module on the shipbuilding object. Copy it from one of the other production structures.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Red Phazon
  • Red Phazon
  • 51.5% (Neutral)
  • Private Topic Starter
17 years ago
Thank you! I did what Pi said in Amaurus' quote, and when I started the map, infantry was able to enter the amphibious vehicle, but no vehicles. Also when the infantry entered, they did not fill up the slots, they just disappeared. So I need some more help, but I'm getting closer. 😁

Here is my script, which is the first one I've every made.
*** IF ***
    True.
*** THEN ***
  Make Team 'teamplayer0001' unmanned.
Amaurus
17 years ago
when the first infantry person enters the unmanned vechicle there should not be a filled slot however once more enter the spaces will fill up. oh and are you playing zero hour, or generals?
Hey your base is on fire.
Drummin
17 years ago
Ok, I tried the same default name as you have (teamplayer0001) and the units were unmanned but I was not able to capture them. I then renamed the new player to "UnmannedTeam" and changed scripting and unit ownership to match, and it worked fine.
icewind
17 years ago
If you still want to be able to build naval units you can try looking at another mod that already has a working naval system.
You can't blame me for my defeat, it's all the fault of my soldiers.
Making the web a weirder place, one forum at a time.
Derideal web comic.  Try it, it's good.