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 Sat Apr 20, 2024 12:04 am
All times are UTC + 0
Upgrading a vehicle
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Wed Dec 14, 2011 8:28 pm    Post subject:  Upgrading a vehicle
Subject description: Is it posible?
Reply with quote  Mark this post and the followings unread

I mean, you deploy the vehicle (into a building that looks the same as the voxel), then you apply a building upgrade, then you can only undeploy the unit if it has been upgraded (perhaps by making the upgrade deployable)?
SuperJoe? Anyone?
Or perhaps by giving the upgrade a free unit? (in that case, I wonder how do we get rid off the original unit)

It sounds pretty crazy Laughing , so, is there another method to do something similar?

_________________
Inactive Projects >> Tiberian Sun: Tech Level War http://www.ppmsite.com/forum/index.php?f=843
Download the latest beta: http://www.moddb.com/mods/cc-tiberian-sun-tech-level-war

Back to top
View user's profile Send private message
Krow
Commander


Joined: 30 Jan 2010
Location: Malaysia

PostPosted: Wed Dec 14, 2011 11:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Even if you do that, only the building gets the upgrade. The tank would still remain the same. And IIRC, upgrades can't have deploy stuff logic. But correct me if I'm wrong.

_________________
Team Black wrote:
interesting seeing your voxel work. They're still better than Aro's!

Back to top
View user's profile Send private message
SuperJoe
Commander


Joined: 03 Sep 2009

PostPosted: Wed Dec 14, 2011 11:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

As Krow said, I expect the upgrade will simply vanish as your undeploy your vehicle. Few ideas I've been thinking around the concept, but both would cause some problems.

1. You could take over large and small visceroids, then make two vehicles combine into a new one? Like if the small visceroid was the "upgrade" and the big one was the vehicle that gets fitted with it.

2. Umm never actually tested this, but when a harvester goes to empty itself on a refinery, does it only change its appearance to that of HORV? Or does the entire unit transform into the HORV unit, including stat changes? You could try changing HORV into a completely different unit and see what happens. But this would affect all harvesters so probably doesn't give off anything really useful.


EDIT:

3. The weird discovery here could possibly be used to upgrade a unit. Make a unit that can be deployed to upgrade it. It delpoys into a building that has a FreeUnit that has a negative cost (and SpeedType=Winged). It might make deploying the unit into a new unit cost you money, since with a positive cost you get refunded the price. Maybe with negative cost you lose that much money?

4. TRUCKA and TRUCKB can be changed from one to the other with map scripts. Could possibly be used to upgrade a unit, but would only be usable in singleplayer maps. And could only be used for a single unit.

Sorry but I don't have time to test these things out right now, but they should be quick and easy to try out. Do post the results here if you try them, I would be interested to know if they work Wink

_________________

Back to top
View user's profile Send private message
Krow
Commander


Joined: 30 Jan 2010
Location: Malaysia

PostPosted: Thu Dec 15, 2011 12:00 am    Post subject: Reply with quote  Mark this post and the followings unread

SuperJoe wrote:
As Krow said, I expect the upgrade will simply vanish as your undeploy your vehicle. Few ideas I've been thinking around the concept, but both would cause some problems.

1. You could take over large and small visceroids, then make two vehicles combine into a new one? Like if the small visceroid was the "upgrade" and the big one was the vehicle that gets fitted with it.

2. Umm never actually tested this, but when a harvester goes to empty itself on a refinery, does it only change its appearance to that of HORV? Or does the entire unit transform into the HORV unit, including stat changes? You could try changing HORV into a completely different unit and see what happens. But this would affect all harvesters so probably doesn't give off anything really useful.


EDIT:

3. The weird discovery here could possibly be used to upgrade a unit. Make a unit that can be deployed to upgrade it. It delpoys into a building that has a FreeUnit that has a negative cost (and SpeedType=Winged). It might make deploying the unit into a new unit cost you money, since with a positive cost you get refunded the price. Maybe with negative cost you lose that much money?

Sorry but I don't have time to test these things out right now, but they should be quick and easy to try out. Do post the results here if you try them, I would be interested to know if they work Wink

1. It'll work but the small and large visc tag only accepts one VehicleType AFAIK.
2. No stat change. Just change of appearance.

_________________
Team Black wrote:
interesting seeing your voxel work. They're still better than Aro's!

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Thu Dec 15, 2011 7:59 am    Post subject: Reply with quote  Mark this post and the followings unread

1. iirc, it would also only work if the units have SmallVisceroid=yes, which gives them the random movement behavior. In addition is it impossible for the player to give them the combine order, as the two vehicles refuse to move on the same cell. Only the special SmallVisceroid logic orders and allows the 2 units to move on the same cell and this way combine to the LargeVisceroid unit.
btw, this special logic is also the reason why harvesters often explode, because the SmallVisceroid is moving on the same cell as the harvester and if 2 enemy vehicles move on the same cell, the unit which was first on the cell explodes. Only if you make the SmallVisceroid Crushable=yes, the harvester won't explode and crush the visceroid.

2 as Krow said, only the image changes.

_________________
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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 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.2345s ][ Queries: 11 (0.0081s) ][ Debug on ]