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 Tue Apr 23, 2024 2:25 pm
All times are UTC + 0
[YR] Dutch Flag
Moderators: Global Moderators, Media Hut Moderators, OpenRA Moderators, Red Alert 2 Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Sat Jan 23, 2016 9:01 pm    Post subject:  [YR] Dutch Flag Reply with quote  Mark this post and the followings unread

Frikandel wanted me to do so i made this,  cameo included.



Ingame.PNG
 Description:
 Filesize:  17.04 KB
 Viewed:  3335 Time(s)

Ingame.PNG



Dutch Flag.rar
 Description:

Download
 Filename:  Dutch Flag.rar
 Filesize:  29.35 KB
 Downloaded:  94 Time(s)


_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

Back to top
View user's profile Send private message
Frikandel
Vehicle Driver


Joined: 17 Jan 2016

PostPosted: Thu Jan 28, 2016 8:36 am    Post subject: Reply with quote  Mark this post and the followings unread

Thank you again for the flag.

If I want to install this into my game...Do I treat this as a building?
Can I copy and paste the french flag section in rulesmd and edit the code to fit this dutch flag? And i also have to edit the artmd?
And then put all the files in the RA2 folder.

because i did this and nothing happened.
Not even the cameo appeared.

My artmd code:
[canlfgl]
Cameo=nldicon
Normalized=yes
Remapable=no
Foundation=1x1
Height=8
NewTheater=no
ActiveAnim=canlfgl_a
ActiveAnimZAdjust=-100
DemandLoad=true
OccupyHeight=2

My rulesmd code:
[cangfgl]
UIName=Name:Dutch Flag
Name=Dutch Flag
Cameo=nldicon
TechLevel=1
BuildCat=Tech
Prerequisite=GACNST
Adjacent=8
Owner=French
RequiredHouses=French
Strength=20
Insignificant=yes
Nominal=yes
;RadarInvisible=yes
Points=5
Armor=steel
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=0
Selectable=yes
;IsBase=no
BaseNormal=no ;psst....IsBase isn't a Rules flag
Sight=6 ; UC base values
ClickRepairable=yes
CanBeOccupied=no
MaxNumberOccupants=0
DistributedFire=no
DamageSound=BuildingMetalDamaged
DieSound=BuildingMetalDamaged

Can anyone help me?

Back to top
View user's profile Send private message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Thu Jan 28, 2016 9:03 am    Post subject: Reply with quote  Mark this post and the followings unread

1-) You need to add CANLFGL to under [BuildingTypes].

2-) Art and rule name should match. Make rule name [CANLFLG] too and use upper case on names.

3-) Changing BuildCat= to combat would be better. It makes them shown under defence menu. I put flags there in my mod.

4-) Also you need to add Name:DutchFlag to RA2MD.csf. XCC Mixer have a CSF (String Table) editor in it. Open it from Launch>XCC String Table Editor>Red Alert 2 Yuri's Revenge or use Open.. there and select file yourself.

_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

Back to top
View user's profile Send private message
Frikandel
Vehicle Driver


Joined: 17 Jan 2016

PostPosted: Thu Jan 28, 2016 10:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok, I made a little progress.
I changed all the names to capitals.
I added the string table.

But...
I can build the flag, but it is invisible.
Also the cameo does not appear. I did everything the same I did with normal units, so it should be working but it isnt.

Back to top
View user's profile Send private message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Thu Jan 28, 2016 10:34 am    Post subject: Reply with quote  Mark this post and the followings unread

You need to add code of animation too. Copy a vanilla flags one like CAGEFGL_A. This is also in artmd.ini.

You also need to add the name of anim , CANLFGL_A, under [Animations] on Rulesmd.ini.

_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

Back to top
View user's profile Send private message
Frikandel
Vehicle Driver


Joined: 17 Jan 2016

PostPosted: Fri Jan 29, 2016 6:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

It worked!!
I have really done allot of trial and error, but finally it worked.
I think I have rebooted the game almost 100 times to see all the effects that my programming was doing.
I made so many mistakes and learned so much.

Thank you my friend, thank you very much!
It is nice to see that after all this time there are still people willing to help out a freekin noob!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 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
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You cannot post new topics in this forum
You can 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.1670s ][ Queries: 14 (0.0107s) ][ Debug on ]