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 Fri Mar 29, 2024 1:32 am
All times are UTC + 0
WaterImage done wrong
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [13 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TonySpark
Vehicle Drone


Joined: 29 Dec 2018
Location: I don't want you to be Paranoid, but... everywhere, starting from this site to Discord

PostPosted: Mon Feb 18, 2019 2:20 am    Post subject:  WaterImage done wrong Reply with quote  Mark this post and the followings unread

From Salted_Old's Stingray.

https://ppmforums.com/viewtopic.php?t=46623

Code:

Artmd.ini

[STING]
Cameo=STINGICON
Voxel=yes
Remapable=yes
PrimaryFireFLH=60,-35,100 ;my geuss FLH.

[STINGER]
Voxel=yes
Remapable=yes
PrimaryFireFLH=60,-50,115 ;my guess FLH.

Rulesmd.ini

[VehicleTypes]

XX=STING
XY=STINGER

Now code

[STING]
UIName=NOSTR:Tesla Ray
Name=Stingray (Water)
Prerequisite=NAYARD,NARADR,NATECH
Primary=TeslaBolt
ToProtect=yes
Category=AFV
Strength=450
Naval=yes
Turret=yes
Armor=light
TechLevel=6
Sight=8
Speed=7
CrateGoodie=no
Owner=Russians,Confederation,Africans,Arabs
AllowedToStartInMultiplayer=no
Cost=1500
Soylent=1500
Points=20
ROT=6
TurretROT=8
Crusher=no
Crewed=no
IsSelectableCombatant=yes
Weight=3.5
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
DieSound=
MoveSound=SeawolfMoveStart
;Locomotor={2BEA74E1-7CCA-11d3-BE14-00104B62A16C};{4A582741-9839-11d1-B709-00A024DDAFD1}
;SpeedType=Amphibious ;gs Wha!?!
;MovementZone=Amphibious
;SpeedType=Float
;MovementZone=Water
ThreatPosed=25   ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
Accelerates=true
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER
ElitePrimary=TeslaBoltE
Size=20
SpeedType=Amphibious
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=AmphibiousCrusher
Unnatural=yes
NavalTargeting=5
LandTargeting=0

[STINGER]
UIName=NOSTR:Tesla Ray
Name=Stingray (Ground)
Primary=TeslaBolt
Naval=yes
ToProtect=yes
Category=AFV
Strength=450
Turret=yes
Armor=light
TechLevel=-1
Sight=8
Speed=5
CrateGoodie=no
Owner=Russians,Confederation,Africans,Arabs
AllowedToStartInMultiplayer=no
Cost=1500
Soylent=1500
Points=20
ROT=6
TurretROT=8
Crusher=no
Crewed=no
IsSelectableCombatant=yes
Weight=3.5
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
DieSound=
MoveSound=TerrorDroneMoveLoop
;Locomotor={2BEA74E1-7CCA-11d3-BE14-00104B62A16C};{4A582741-9839-11d1-B709-00A024DDAFD1}
;SpeedType=Amphibious ;gs Wha!?!
;MovementZone=Amphibious
;SpeedType=Float
;MovementZone=Water
ThreatPosed=25   ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
Accelerates=true
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER
ElitePrimary=TeslaBoltE
Size=20
SpeedType=Amphibious
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=AmphibiousCrusher
WaterImage=STING
Unnatural=yes
NavalTargeting=5
LandTargeting=0


After I put those code but the image won't appear. What happened? Did I do something wrong?

Back to top
View user's profile Send private message
MRMIdAS
Energy Commando


Joined: 17 Jul 2008

PostPosted: Mon Feb 18, 2019 4:17 am    Post subject: Reply with quote  Mark this post and the followings unread

You renamed the voxel from "land" right?

_________________
MIdAS - Turning wages into beer since 2002

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


Joined: 11 Feb 2016

PostPosted: Mon Feb 18, 2019 4:48 am    Post subject: Reply with quote  Mark this post and the followings unread

There is no WaterImage in STING

You put WaterImage in STINGER? With TechLevel -1 that's not even a buildable unit.

_________________

Back to top
View user's profile Send private message Skype Account
TonySpark
Vehicle Drone


Joined: 29 Dec 2018
Location: I don't want you to be Paranoid, but... everywhere, starting from this site to Discord

PostPosted: Mon Feb 18, 2019 6:12 am    Post subject: Reply with quote  Mark this post and the followings unread

MRMIdAS wrote:
You renamed the voxel from "land" right?


Use [HYD] as based, but Sea Sled it works, despite modified from [BSUB]

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


Joined: 29 Dec 2018
Location: I don't want you to be Paranoid, but... everywhere, starting from this site to Discord

PostPosted: Mon Feb 18, 2019 6:15 am    Post subject: Reply with quote  Mark this post and the followings unread

cxtian39 wrote:
There is no WaterImage in STING

You put WaterImage in STINGER? With TechLevel -1 that's not even a buildable unit.


STING=For water
STINGER=For land

also, I made STING as buildable only. so...

Back to top
View user's profile Send private message
Virgil
Stealth Laser Trooper


Joined: 22 Jul 2018

PostPosted: Mon Feb 18, 2019 9:44 am    Post subject: Reply with quote  Mark this post and the followings unread

I guess you should use Convert.Water and Convert.Land to change between the two units, as WaterImage only reads the Image= tag, not anything else, and it is only an image change, the unit itself is still the land version no matter where it is.

Edit: WaterImage is originally for recreating the Tiberian Sun GDI APC, which is a land amphibious vehicle with different image in water, thus it can't be used to create an amphibious ship with different image on land.

Last edited by Virgil on Mon Feb 18, 2019 12:17 pm; edited 1 time in total

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


Joined: 05 Oct 2011

PostPosted: Mon Feb 18, 2019 11:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Use that setup as Virgil said. The Firing Locations of the Tesla Coils will be incorrect since the Land and Naval Version both have different height.

_________________
~ Excelsior ~

Back to top
View user's profile Send private message Visit poster's website
TonySpark
Vehicle Drone


Joined: 29 Dec 2018
Location: I don't want you to be Paranoid, but... everywhere, starting from this site to Discord

PostPosted: Mon Feb 18, 2019 12:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Virgil wrote:
I guess you should use Convert.Water and Convert.Land to change between the two units, as WaterImage only reads the Image= tag, not anything else, and it is only an image change, the unit itself is still the land version no matter where it is.

Edit: WaterImage is originally for recreating the Tiberian Sun GDI APC, which is a land amphibious vehicle with different image in water, thus it can't be used to create an amphibious ship with different image on land.


So
Code:

[STINGER]
.
.
.
Convert.Water=STING


Code:

[STING]
.
.
.
Convert.Land=STINGER


Like this?

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


Joined: 29 Dec 2018
Location: I don't want you to be Paranoid, but... everywhere, starting from this site to Discord

PostPosted: Mon Feb 18, 2019 4:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

TonySpark wrote:
Virgil wrote:
I guess you should use Convert.Water and Convert.Land to change between the two units, as WaterImage only reads the Image= tag, not anything else, and it is only an image change, the unit itself is still the land version no matter where it is.

Edit: WaterImage is originally for recreating the Tiberian Sun GDI APC, which is a land amphibious vehicle with different image in water, thus it can't be used to create an amphibious ship with different image on land.


So
Code:

[STINGER]
.
.
.
Convert.Water=STING


Code:

[STING]
.
.
.
Convert.Land=STINGER


Like this?


Welp, Nothing change after I put those. still no appearance of image of STINGER and STING

Back to top
View user's profile Send private message
MRMIdAS
Energy Commando


Joined: 17 Jul 2008

PostPosted: Mon Feb 18, 2019 7:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

you have named the voxels correctly, yeah?

_________________
MIdAS - Turning wages into beer since 2002

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


Joined: 11 Feb 2016

PostPosted: Tue Feb 19, 2019 11:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

TonySpark wrote:
cxtian39 wrote:
There is no WaterImage in STING

You put WaterImage in STINGER? With TechLevel -1 that's not even a buildable unit.


STING=For water
STINGER=For land

also, I made STING as buildable only. so...
STING does not have any image change setting so it won’t change image. Note that WaterImage doesn’t connect 2 different units together. The unbuildable STINGER is just irrelevant.

_________________

Back to top
View user's profile Send private message Skype Account
cxtian39
Commander


Joined: 11 Feb 2016

PostPosted: Tue Feb 19, 2019 11:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

TonySpark wrote:
TonySpark wrote:
Virgil wrote:
I guess you should use Convert.Water and Convert.Land to change between the two units, as WaterImage only reads the Image= tag, not anything else, and it is only an image change, the unit itself is still the land version no matter where it is.

Edit: WaterImage is originally for recreating the Tiberian Sun GDI APC, which is a land amphibious vehicle with different image in water, thus it can't be used to create an amphibious ship with different image on land.


So
Code:

[STINGER]
.
.
.
Convert.Water=STING


Code:

[STING]
.
.
.
Convert.Land=STINGER


Like this?


Welp, Nothing change after I put those. still no appearance of image of STINGER and STING
You convert to STINGER when go water but STINGER has WaterImage=STING so it uses STING’s image when on water.

_________________

Back to top
View user's profile Send private message Skype Account
cxtian39
Commander


Joined: 11 Feb 2016

PostPosted: Wed Feb 20, 2019 12:06 am    Post subject: Reply with quote  Mark this post and the followings unread

The correct way to do WaterImage for ships
Code:
[MYSHIP]
Image=LAND_IMAGE ; yes, use land image  here
WaterImage=WATER_IMAGE ; sure, use water image here what are you thinking?
...


[WATER_IMAGE] ; this is just a dummy holding image used by other unit and doesn't need much stats
TechLevel=-1
AllowedToStartInMultiplayer=no

_________________

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