Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 5:44 pm
All times are UTC + 0
Naval Warfare
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Ever_Valiant
Cyborg Engineer


Joined: 04 Feb 2017

PostPosted: Mon Apr 29, 2019 6:51 pm    Post subject:  Naval Warfare
Subject description: Tiberian Sun
Reply with quote  Mark this post and the followings unread

As you may know I am adding Naval Warfare to The Second Tiberium War and from what I've seen not many mods attempt to do this. I am aware Tiberium Sun was never intended to have it but in a few instances like campaign missions, Naval warfare works fine when regulated.

So far I've successfully added both GDI and Naval yards and 1 ship to each faction for testing purposes. So far this is the list of problems I'm aware of.

1. Ships exiting the war factory and tanks exiting the naval yard.
I just followed the tutorials in the forums on how to combat this problem and it seems to remedy the problem mostly but add's another in it's place #5. In fact I was able to make it work without adding any new houses by using neutral for tanks and special for boats.

2. AI in skirmish will not construct a naval yard.
Other than triggers I cannot see how they would make one in a nearby body of water.

3. Mass production causes units to be lost.
One problem I haven't seen anyone mention is when your production speed is very fast since war factories and naval yards share the same build rate, the boats that are constructed too quickly do not properly jump to the next naval yard and are lost completely. Though multiple war factories work fine and multiple naval yards as well, when you begin to have both that is when the problem occurs as it tries to jump your ship to the war factory.

4. Naval pathing
I can see Westwood didn't focus on naval pathing as naval was not even implemented in TS but any complex pathing greater going around one 90 degree angle is required, the boat just simply refuses to move.

5. Not Allowed to start in multiplayer
Once the vehicles owner is changed to prevent them from exiting the naval yard, it no longer is able to start in a skirmish match with AllowedToStartInMultiplayer=yes .

6. Carryall
The carryall does not work with naval units, it can pick them up but cannot drop them off in the water or at all from that point.


Conclusion:
Overall the only way I can see unit's working properly is on a campaign mission with limited production or no production, or the option of "naval mode" which completely disables the war factory but enables the naval yard, which is kind of a cool idea.

_________________

Last edited by Ever_Valiant on Tue Apr 30, 2019 12:52 am; edited 1 time in total

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Mon Apr 29, 2019 10:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Look at DTA, it has fully working naval yards, including AI using them.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Ever_Valiant
Cyborg Engineer


Joined: 04 Feb 2017

PostPosted: Tue Apr 30, 2019 12:54 am    Post subject: Reply with quote  Mark this post and the followings unread

I just played some DTA and yes the AI built a naval yard in the water. I checked the map to see if there is a trigger to get the AI to do that but there Isn't. So there is way, how is that done?

_________________

Back to top
View user's profile Send private message
Chordeiles
Vehicle Drone


Joined: 05 Aug 2009

PostPosted: Thu May 30, 2019 4:28 am    Post subject: Reply with quote  Mark this post and the followings unread

#1 is already solved using the Alternate Warfactory workaround by Morpher and Machine. Take a look at how they work and see which method you like using. I personally prefer the first method since there's less new coding, but the second method is more thorough. I myself use a modified version of Morpher's method, but it's still a bit fidgety and (naturally) the AI has trouble using it properly.

#2 is related to #1. The AI doesn't seem to play well when it has to handle multistage building and transformation. Though, if I remember correctly, Machine's Method had a way to work around that so the AI is using it properly.

#3 is an engine limitation that happens even in Vanilla TS. It's mainly due to the units being produced too fast and it can't exit the factory quick enough, thus getting refunded. See "Units get lost at Production Time" for more details.

#4 has been researched. See the threads " (TS) Movement in water only?", Making Ships/Boats" and "Updating Naval INI Rules" for more details. (Shameless plug in the last one, I know.)

#5 seems to be how the engine handles Unit Ownership. That's more to do with the engine limitation than a bug, though perhaps there is a way to fool the engine to give us those units. Haven't seen a thread about it yet.

#6 might have to do with the Carryall needing to land on a land tile, while Naval Units with restricted movement zone in water can't be placed on land. Would making the Carryall landable on water solve it, though? (Then again, I don't think you can have aircraft land on water in the first place...?)

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1501s ][ Queries: 11 (0.0076s) ][ Debug on ]