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 6:56 pm
All times are UTC + 0
Is it possible for units to build structures?
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [20 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
twistedconversion
Rocket Infantry


Joined: 23 Feb 2019
Location: Egypt

PostPosted: Fri Apr 12, 2019 4:52 pm    Post subject:  Is it possible for units to build structures?
Subject description: like in Generals?
Reply with quote  Mark this post and the followings unread

As the title says.

_________________
C&C community is rotten.

Back to top
View user's profile Send private message ModDB Profile ID
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Fri Apr 12, 2019 5:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

You mean like in Generals?

Or deploying into a building like the MCVs we all know and love?

Be a bit more descriptive.

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
twistedconversion
Rocket Infantry


Joined: 23 Feb 2019
Location: Egypt

PostPosted: Fri Apr 12, 2019 5:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

just like the dozer from Generals building a structure. Is this possible?

Last edited by twistedconversion on Fri Oct 15, 2021 12:18 pm; edited 1 time in total

Back to top
View user's profile Send private message ModDB Profile ID
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Apr 12, 2019 8:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

Not possible.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
twistedconversion
Rocket Infantry


Joined: 23 Feb 2019
Location: Egypt

PostPosted: Fri Apr 12, 2019 9:03 pm    Post subject: Reply with quote  Mark this post and the followings unread


_________________
C&C community is rotten.

Back to top
View user's profile Send private message ModDB Profile ID
HG_SCIPCION
Gauss Rifle Trooper


Joined: 07 Jun 2013
Location: Perú

PostPosted: Fri Apr 12, 2019 10:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
Not possible.



_________________
https://www.moddb.com/mods/global-crisis
https://www.patreon.com/scipcion

Back to top
View user's profile Send private message Facebook Profile URL
cxtian39
Commander


Joined: 11 Feb 2016

PostPosted: Fri Apr 12, 2019 10:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

You can do it approximately in an over-complicated way

_________________

Back to top
View user's profile Send private message Skype Account
twistedconversion
Rocket Infantry


Joined: 23 Feb 2019
Location: Egypt

PostPosted: Fri Apr 12, 2019 10:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

cxtian39 wrote:
You can do it approximately in an over-complicated way


Then post the over-complicated way in the tutorials forum.

_________________
C&C community is rotten.

Last edited by twistedconversion on Thu Oct 03, 2019 11:54 am; edited 1 time in total

Back to top
View user's profile Send private message ModDB Profile ID
unknown_men
Cyborg Soldier


Joined: 09 Apr 2015
Location: Vi?t Nam

PostPosted: Sat Apr 13, 2019 7:17 am    Post subject: Reply with quote  Mark this post and the followings unread

A little example, A base unit deploy into a base conyard building that need add-on attachment to work, a conyard build the add-on and have a superweapon to spawn a base unit (with a cost), then loop.

_________________
Under 2 year in conscription for socialism.

Back to top
View user's profile Send private message ModDB Profile ID
NimoStar
Commander


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Sat Apr 13, 2019 9:06 am    Post subject: Reply with quote  Mark this post and the followings unread

I wanted to ask this from openRA since its basically the only thing needed to make a Starcraft-like or AOE-like mod.

However they would not listedn.

_________________

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat Apr 13, 2019 9:53 am    Post subject: Reply with quote  Mark this post and the followings unread

NimoStar wrote:
I wanted to ask this from openRA since its basically the only thing needed to make a Starcraft-like or AOE-like mod.

However they would not listedn.

stop whining and blaming others.
Such logic is already implemented.
Look at Nomad Galaxy. There are no buildings, the big ships serve also as factories.

_________________
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
Rakaziel
Medic


Joined: 20 May 2019

PostPosted: Sun Jun 16, 2019 5:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

You could use IsBase= to give the Unit in question a Construction Radius, build Building A
and give the Unit a Power Up Ray (like the Tesla Trooper has for the Tesla Tower)
and then use Brute Transformation (InfantryDeath=9) logic
to have Building A use a powered up suicide attack that transforms it into another building (or a Unit that deploys into one).

Or use Gatling Logic and Brute Transformation logic to have your "Builder" kill "Rocks" (that count as Infantry)
(In order to keep it a "Builder" unit, have all the actual enemies be immune against the attack type of the "Builder's" weapon
and have three different (one per Gatling Stage) InfantryDeath transformations (that then auto-deploy into buildings)
If your Builder can Deploy you can have him build 6 different Buildings (via 2 different Gatlings)
and another 6 Buildings at Elite Veteran Level.

Or some way to directly make the ability to Deploy dependent on Power Ups -
only way to implement that (that I see) would be to somehow have the unit give the building a veteran level (using Crate logic?)

Alternately maybe use your Construction Radius to spawn Tiberium (conveniently there are different variants)
and transform other units into deployable Buildings by having them killed by the different variants of Tiberium.

None of these are a clean solutions

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sun Jun 16, 2019 11:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

Rakaziel wrote:
None of these are a clean solutions


None of these are solutions...

Rakaziel wrote:
You could use IsBase= to give the Unit in question a Construction Radius, build Building A
and give the Unit a Power Up Ray (like the Tesla Trooper has for the Tesla Tower)
and then use Brute Transformation (InfantryDeath=9) logic
to have Building A use a powered up suicide attack that transforms it into another building (or a Unit that deploys into one).



  • IsBase= is a old tag from Tiberian Sun & doesn't do anything in RA2, even if it did though it's a building tag & doesn't work on units.
  • The Tesla Trooper ElectricAssault/Overpowerable logic only works with infantry powering up buildings.
  • InfantryDeath is as the name would suggest for infantry & doesn't work on buildings.
  • Buildings can only spawn infantry upon their death & not units.


With this you would still need to build a building in the normal manner, the unit would just be "converting/upgrading" it.


Rakaziel wrote:
Or use Gatling Logic and Brute Transformation logic to have your "Builder" kill "Rocks" (that count as Infantry)
(In order to keep it a "Builder" unit, have all the actual enemies be immune against the attack type of the "Builder's" weapon
and have three different (one per Gatling Stage) InfantryDeath transformations (that then auto-deploy into buildings)
If your Builder can Deploy you can have him build 6 different Buildings (via 2 different Gatlings)
and another 6 Buildings at Elite Veteran Level.



  • Rocks are terrain objects that cant use any code related to infantry.
  • Infantry cant deploy into buildings.


The rocks (why rocks of all things?) would have to be pre-placed at specific location on the map for the player to convert into buildings. In which case why not just have the actual buildings on the map so you can capture them. Or have dummy buildings that once captured fire a SW that spawns the proper building.
   

Rakaziel wrote:
Or some way to directly make the ability to Deploy dependent on Power Ups -
only way to implement that (that I see) would be to somehow have the unit give the building a veteran level (using Crate logic?)


  • Veteran level doesn't effect what a unit deploys into.



Rakaziel wrote:
Alternately maybe use your Construction Radius to spawn Tiberium (conveniently there are different variants)
and transform other units into deployable Buildings by having them killed by the different variants of Tiberium.



  • Units cant deploy upon death.
  • Units cant change what they will deploy into based on the type of damage that killed them.  
  • buildings cant be deployed/placed on top of Tiberium.


Why Tiberium? There are easier ways to make different AOE weapons.  
Also if you have to build a unit & then kill it to make it deploy, why not just deploy it like normal in the first place?

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
silverwind
Cyborg Firebomber


Joined: 11 Jun 2016

PostPosted: Thu Jun 20, 2019 10:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Can this work? Uses UnitDelivery SW, and Advanced Rubble.

1. Use Unit Delivery SW to deliver a 'construction site', with a 'Builder' acting as a SW Designator, allowing construction wherever there's a Builder.

2. once delivered, the 'construction site' would destroy itself via AttachEffect, and turn into an AdvancedRubble with the same image plus scaffolding.

3. a 'builder' (actually an engineer) may then 'finish' this construction, (basically restoring an Advanced Rubble) into the final building.


EDIT: Just tested. This works as intended. The effect is that the normal building construction (or UnitDelivery SW targeting) only serves to let the player place the construction sites. A builder (in this case an engineer) is needed to actually finish construction and for the building to function.

If that BigInfantry suggestion passes, that can be used to make a faux Dozer/Engineer hybrid.

Back to top
View user's profile Send private message
WoRmINaToR
Rocket Cyborg


Joined: 31 Oct 2008
Location: AKA Sir Prize

PostPosted: Fri Jun 21, 2019 12:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Only problem with that approach will be build times. I'm not aware of Advanced Rubble being able to account for any sort of delay between the repairing unit entering and the building being "restored." This could lead to a scenario where someone walks a builder unit just outside someone's base, has a spawn SW ready for a defensive structure, places it, and immediately builds it up with their builder unit. I could see that being abused in a multitude of ways.

_________________
New name: Sir Prize. I've switched to a new account to update to the name I've been using everywhere else for the last several years.

Back to top
View user's profile Send private message YouTube User URL
silverwind
Cyborg Firebomber


Joined: 11 Jun 2016

PostPosted: Sun Jun 23, 2019 4:43 am    Post subject: Reply with quote  Mark this post and the followings unread

Two ways around that. Step 1 doesn't necessarily have to be a SW-based placement. it can be a normal construction with the added benefit of building foundation being shown and the ability to divide structures into the two tabs we already have, instead of just the base defenses tab. This method feels better for me.

The other way is to use Rubble.Destroyed.Anim= to put an artificial delay between the moment of 'destruction', and the actual rubble appearing. I haven't tested this, so I don't know if engineers are prevented from restoring the building while the Anim is playing, but they should.

Back to top
View user's profile Send private message
Mr.Hymn
Missile Trooper


Joined: 01 May 2020

PostPosted: Mon Jul 06, 2020 4:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

silverwind wrote:
Can this work? Uses UnitDelivery SW, and Advanced Rubble.

1. Use Unit Delivery SW to deliver a 'construction site', with a 'Builder' acting as a SW Designator, allowing construction wherever there's a Builder.

2. once delivered, the 'construction site' would destroy itself via AttachEffect, and turn into an AdvancedRubble with the same image plus scaffolding.

3. a 'builder' (actually an engineer) may then 'finish' this construction, (basically restoring an Advanced Rubble) into the final building.


EDIT: Just tested. This works as intended. The effect is that the normal building construction (or UnitDelivery SW targeting) only serves to let the player place the construction sites. A builder (in this case an engineer) is needed to actually finish construction and for the building to function.

If that BigInfantry suggestion passes, that can be used to make a faux Dozer/Engineer hybrid.


Can I know how please? Because I don't know how to make a designator for sw unit delivery.

Back to top
View user's profile Send private message
tomsons26lv
Cyborg Artillery


Joined: 30 Dec 2009
Location: Latvia

PostPosted: Mon Jul 06, 2020 8:59 pm    Post subject: Reply with quote  Mark this post and the followings unread


_________________
Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1

Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite

Back to top
View user's profile Send private message Visit poster's website
silverwind
Cyborg Firebomber


Joined: 11 Jun 2016

PostPosted: Tue Jul 07, 2020 6:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Mr.Hymn wrote:

Can I know how please? Because I don't know how to make a designator for sw unit delivery.

I've only mentioned the extra keys for each section.


; Existing building
[NAHAND] ;Soviet Barracks, as prerequisite for NAWEAP
SuperWeapons=NAWEAPSW

; New Infantry
[BUILDER] ;the unit you want as a builder. Copy from an Engineer.
Image=ENGINEER ; change this if you have something better
Engineer=yes
DesignatorRange=7 ;Defaults to Sight= value

; New Superweapon
; Delivery Superweapon for Soviet War Factory.
[NAWEAPSW] ; You need one for each building.
Type=UnitDelivery ; You can deliver any technotype
SW.Designators=BUILDER ; the destination must be around this technotype
Deliver.Types=NAWEAPSITE ;what to deliver
Money.Amount=-2000 ; how much it would cost
SW.AuxBuildings=NACNST ; this makes the SW unavailable unless the player has this building

; New Building ; copy from NAWEAP, and change as necessary
[NAWEAPSITE] ;ART code for this needs the same foundation as NAWEAP. image can be invisible.
Strength=1
Armor=wood
Rubble.Destroyed=NAWEAPSITE2 ; when destroyed, turn into this.
TechLevel=-1 ;you won't be building this normally
AttachEffect.Animation=KILLSELF ;animation ART code will kill the unit slowly
AttachEffect.Duration=-1 ;till death

; New Building
[NAWEAPSITE2] ;this too. This is the actual construction site as it appears to the player
Rubble.Intact=NAWEAP ;the actual building you want to deliver
Rubble.Intact.Strength=1000 ;match NAWEAP's Strength=
Rubble.Intact.Anim=NAWEAPMK
TechLevel=-1 ;you won't be building this normally

; Existing Building
[NAWEAP]
TechLevel=-1 ;you won't be building this normally

;New Warhead
[KSWH] ;universal kill-self anim WH
AffectsOwner=yes
Malicious=no
Verses=100%,100%,100%,100%,100%,100%,100%,100%,100%,100%,100%

;;///ART
;; Create ART sections for [NAWEAPSITE] and [NAWEAPSITE2] as necessary

; New Animation ; you can re-use this animation for everything
[KILLSELF]
Image=NULL
Damage=1000
Warhead=KSWH



That should do the trick. Make sure you add everything to the respective lists.

How this works is, once you have a soviet barracks, you gain access to a superweapon that delivers a fake building. This building destroys itself with an attacheffect animation, turning itself into another building (the construction site). When you send a Engineer or Builder into the construction site, it turns into the final building, a soviet War Factory, in this case.

Back to top
View user's profile Send private message
Mr.Hymn
Missile Trooper


Joined: 01 May 2020

PostPosted: Thu Jul 09, 2020 10:03 am    Post subject: Reply with quote  Mark this post and the followings unread

silverwind wrote:
Mr.Hymn wrote:

Can I know how please? Because I don't know how to make a designator for sw unit delivery.

I've only mentioned the extra keys for each section.


; Existing building
[NAHAND] ;Soviet Barracks, as prerequisite for NAWEAP
SuperWeapons=NAWEAPSW

; New Infantry
[BUILDER] ;the unit you want as a builder. Copy from an Engineer.
Image=ENGINEER ; change this if you have something better
Engineer=yes
DesignatorRange=7 ;Defaults to Sight= value

; New Superweapon
; Delivery Superweapon for Soviet War Factory.
[NAWEAPSW] ; You need one for each building.
Type=UnitDelivery ; You can deliver any technotype
SW.Designators=BUILDER ; the destination must be around this technotype
Deliver.Types=NAWEAPSITE ;what to deliver
Money.Amount=-2000 ; how much it would cost
SW.AuxBuildings=NACNST ; this makes the SW unavailable unless the player has this building

; New Building ; copy from NAWEAP, and change as necessary
[NAWEAPSITE] ;ART code for this needs the same foundation as NAWEAP. image can be invisible.
Strength=1
Armor=wood
Rubble.Destroyed=NAWEAPSITE2 ; when destroyed, turn into this.
TechLevel=-1 ;you won't be building this normally
AttachEffect.Animation=KILLSELF ;animation ART code will kill the unit slowly
AttachEffect.Duration=-1 ;till death

; New Building
[NAWEAPSITE2] ;this too. This is the actual construction site as it appears to the player
Rubble.Intact=NAWEAP ;the actual building you want to deliver
Rubble.Intact.Strength=1000 ;match NAWEAP's Strength=
Rubble.Intact.Anim=NAWEAPMK
TechLevel=-1 ;you won't be building this normally

; Existing Building
[NAWEAP]
TechLevel=-1 ;you won't be building this normally

;New Warhead
[KSWH] ;universal kill-self anim WH
AffectsOwner=yes
Malicious=no
Verses=100%,100%,100%,100%,100%,100%,100%,100%,100%,100%,100%

;;///ART
;; Create ART sections for [NAWEAPSITE] and [NAWEAPSITE2] as necessary

; New Animation ; you can re-use this animation for everything
[KILLSELF]
Image=NULL
Damage=1000
Warhead=KSWH



That should do the trick. Make sure you add everything to the respective lists.

How this works is, once you have a soviet barracks, you gain access to a superweapon that delivers a fake building. This building destroys itself with an attacheffect animation, turning itself into another building (the construction site). When you send a Engineer or Builder into the construction site, it turns into the final building, a soviet War Factory, in this case.


Thank you very much. I am very appreciated.

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