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 Apr 18, 2024 6:15 am
All times are UTC + 0
Stealing technology from other buildings to give new units
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
digitalmisfit
Soldier


Joined: 01 Aug 2011

PostPosted: Tue Aug 02, 2011 8:00 pm    Post subject:  Stealing technology from other buildings to give new units
Subject description: RA2
Reply with quote  Mark this post and the followings unread

I'm very new in modding and I have come a long way, my question is I want to create buildings for each of the armys that, if infiltrated, gives completely new units, not just all from the lab. Ex:robot control tower gives different new units from tech lab. Is there any way to accomplish this? Thx in advance.

Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Tue Aug 02, 2011 8:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

Pretty sure it's not possible, the only tags I know of are these,

RequiresStolenAlliedTech=
RequiresStolenThirdTech=
RequiresStolenSovietTech=

I'm not sure if Ares has a request for expanding this logic for other buildings, but I myself think it would be a great request.

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
m7
Commander


Joined: 17 Apr 2009

PostPosted: Tue Aug 02, 2011 8:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ares does have such a feature. It's had it for a long time.

Back to top
View user's profile Send private message
digitalmisfit
Soldier


Joined: 01 Aug 2011

PostPosted: Tue Aug 02, 2011 8:59 pm    Post subject: thx for the quick response guys Reply with quote  Mark this post and the followings unread

I downloaded Ares, still fairly new to it, but i will learn how to use it, thx M7. Is there any advice you can give me of Ares M7?

Back to top
View user's profile Send private message
Allied General
General


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Tue Aug 02, 2011 9:07 pm    Post subject: Reply with quote  Mark this post and the followings unread


_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Facebook Profile URL Twitter Channel URL
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Tue Aug 02, 2011 9:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

M7 wrote:
Ares does have such a feature. It's had it for a long time.


LOL, Sometimes I wonder if my brain is still functioning. Taking a quick look at the Manual refreshed my memory.Razz
Everything you need to know is in there, just read it.



Stolen Technology
[BuildingType]►SpyEffect.StolenTechIndex= (integer)
The stealable technology type that is stolen upon spying this enemy building.New effect: Stolen tech index (multiple new stolen techs).SpyEffect.StolenTechIndex=
[TechnoType]►Prerequisite.StolenTechs= (list of integers)
The list of stealable technology types that must be stolen before this object can be built.SpyEffect.StolenTechs=
In Yuri's Revenge, there were only three types of stealable technology available and these were hard-coded to specific buildings.
Spying [GATECH] satisfies RequiresStolenAlliedTech=yes
Spying [NATECH] satisfies RequiresStolenSovietTech=yes
Spying [YATECH] satisfies RequiresStolenThirdTech=yes
In Ares, spying a building with SpyEffect.StolenTechIndex=2 (for example) satisfies the stolen tech requirements for units that require stolen tech 2.
NB: If you set SpyEffect.Custom=yes on GATECH, NATECH or YATECH then those buildings will no longer satisfy the old RequiresStolen*Tech flags.

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
digitalmisfit
Soldier


Joined: 01 Aug 2011

PostPosted: Tue Aug 02, 2011 9:23 pm    Post subject: wow this is awesome Cranium, more than I asked for, thx Reply with quote  Mark this post and the followings unread

This really helps alot. From now on i guess ill use Ares.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 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.1562s ][ Queries: 11 (0.0082s) ][ Debug on ]