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:40 am
All times are UTC + 0
Unit
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [19 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 6:13 am    Post subject:  Unit Reply with quote  Mark this post and the followings unread

Hi i tryed adding a unit with Mindcontrol into Ra2Yr and this is what i did:

I just tryed a tutorial  for adding that unit but it didn't work, this is what i added to rules.ini:
- in the list: 46=PschyDog
-then:

; PsychicDog
[PschyDog]
UIName=Name:PschyDog
Name=PsychicDog
NotHuman=yes
Category=Soldier
Primary=MindControl
Secondary=VirtualScanner
NavalTargeting=6
Prerequisite=Barracks
LeadershipRating=7
CrushSound=InfantrySquish
Strength=120
Armor=none
ReselectIfLimboed=yes ; If selected when limbo and attacking infantry, reseect when unlimbo
RejoinTeamIfLimboed=yes ; If in a team when limbo shooting infantry, write it down and try to rejoin when unlimbo
DefaultToGuardArea=yes ; the much awaited dog default to move and attack when resting
TechLevel=2
Pip=white
Sight=15
DetectDisguise=yes
Speed=12
Owner=Russians,Confederation,Africans,Arabs,British,French,Germans,Americans,Alliance
ForbiddenHouses=British,French,Germans,Americans,Alliance
Cost=200
Soylent=50
Points=10
IsSelectableCombatant=yes
VoiceSelect=DogSelect
VoiceMove=DogMove
VoiceAttack=DogAttackCommand
VoiceFeedback=DogFear
VoiceSpecialAttack=DogMove
DieSound=DogDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
;MovementZone=InfantryDestroyer ;GEF wow!!! copy paste bug from the original Disk Thrower!
ThreatPosed=20 ; This value MUST be 0 for all building addons
ImmuneToRadiation=no
Bombable=yes
AllowedToStartInMultiplayer=no
Size=1
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER,SCATTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
;GEF going to be two dogs now DoubleOwned=Yes
ImmuneToPsionics=no
IFVMode=0
Trainable=no

Then art.ini:

[PschyDog] ; PsychicDog
Image=DOG
Cameo=DOGICON
AltCameo=DOGUICO
Sequence=DogSequence
Crawls=no
Remapable=yes
FireUp=6
PrimaryFireFLH=0,0,0

and ra2_english.csf:


*I edited it to Just PschychicDog*
What have i done wrong cuz it won't work...

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
Clazzy
Karma Police


Joined: 26 Nov 2002
Location: Algae Colony On Mars

PostPosted: Wed Aug 03, 2005 7:15 am    Post subject: Reply with quote  Mark this post and the followings unread

Image=DOG won't work inthe art.ini, you'll need a new SHP called psychdog.shp for it to show ingame. Not other obvious errors are jumping out at me (it is only 8:0am, though). I have a feeling that combining limbo logic and psychic powers will conflict.

_________________
Quote:
This is sexier than what this forum was supposed to tolerate. - Banshee

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


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Wed Aug 03, 2005 7:34 am    Post subject: Reply with quote  Mark this post and the followings unread

@Clazzy:
Image= works in art(md).ini, at least on building animations... But in this case it would have been simpler to do what you said, add Image=DOG to rules.
Limbo logic won't be used unless a weapon demands it, and MindControl does not... unless he edited it, which I highly doubt.

@topic starter: What do you mean "it didn't work"? You couldn't build it? You couldn't see it when built? What?

Firstly, are you talking about RA2 or YR? You say you edited ra2yr, but you mention art.ini... YR doesn't care what art.ini says, it looks for artmd.ini (and rulesMD.ini, and all other ini files with the MD suffix) instead.

If you can't build it... which country are you playing as? And when you play as Yuri, you'll get the "New Construction Options" bug...

If you can't see it, delete your entries from the art(md).ini, and, like Clazzy suggested, add Image=DOG to the rules(md).ini.

And afaik, ra2_english.csf is not the corect filename... ra2(md).csf is.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 8:18 am    Post subject: Reply with quote  Mark this post and the followings unread

OK, wait, i want it to work in YR so i did something wrong, what must i do to fix it? I can't see it in the contruction options with Russia, @D-Coder How can i give it mind control then???

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Wed Aug 03, 2005 8:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Edit rulesMD.ini instead of rules.ini. Like someone told you at Revora (no need to cross post stuff, btw), you can just as well copy Yuri Clone entry and add Image=DOG instead of this.

In short, just add YURIDOG to [InfantryTypes], and add the following code:

Code:
[YURIDOG]
UIName=Name:YuriClone
Image=DOG
Name=Yuri Clone
Prerequisite=YABRCK
Pip=red
Category=Soldier
Strength=100
LeadershipRating=8
Primary=MindControl
Secondary=VirtualScanner
TypeImmune=yes
Armor=none
TechLevel=10
CrushSound=InfantrySquish
Insignificant=no
Sight=12
Speed=12
Owner=YuriCountry
AllowedToStartInMultiplayer=no
Cost=400
Soylent=200
Points=5
IsSelectableCombatant=yes
VoiceSelect=YuriCloneSelect
VoiceMove=YuriCloneMove
VoiceAttack=YuriCloneAttackCommand
VoiceFeedback=YuriCloneFear
VoiceSpecialAttack=YuriCloneMove
DieSound=YuriCloneDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=5
ImmuneToVeins=yes
ImmuneToPsionics=yes
Trainable=no
Size=1
DetectDisguise=yes
IFVMode=8

Back to top
View user's profile Send private message Visit poster's website Skype Account
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 8:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Hey Cool Thnx!,
I'll think i will edit it a bit though:P
I'll let ya now if it works...
Ok, now i did this:
Artmd:

[PschychicDog] ; PschychicDog
Cameo=DOGICON
AltCameo=DOGUICO
Sequence=DogSequence
Crawls=no
Remapable=yes
FireUp=6
PrimaryFireFLH=0,0,0
[SNIPE] ; Sniper
Cameo=SNIPICON
AltCameo=SNIPUICO
Sequence=ConSequence ;Generic infantry that can paradrop
Crawls=yes
Remapable=yes
FireUp=5
PrimaryFireFLH=80,0,85

RulesMd:

[PschychicDog]
UIName=Name:YuriClone
Image=DOG
Name=PschychicDog
Prerequisite=YABRCK
Pip=red
Category=Soldier
Strength=100
LeadershipRating=8
Primary=MindControl
Secondary=VirtualScanner
TypeImmune=yes
Armor=none
TechLevel=10
CrushSound=InfantrySquish
Insignificant=no
Sight=12
Speed=12
Owner=YuriCountry
AllowedToStartInMultiplayer=no
Cost=400
Soylent=200
Points=5
IsSelectableCombatant=yes
VoiceSelect=DogSelect
VoiceMove=DogMove
VoiceAttack=DogAttackCommand
VoiceFeedback=DogFear
VoiceSpecialAttack=DogMove
DieSound=DogDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=5
ImmuneToVeins=yes
ImmuneToPsionics=no
Trainable=no
Size=1
DetectDisguise=yes
IFVMode=8
Good or not?

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Last edited by Dean on Wed Aug 03, 2005 8:45 am; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
Clazzy
Karma Police


Joined: 26 Nov 2002
Location: Algae Colony On Mars

PostPosted: Wed Aug 03, 2005 8:44 am    Post subject: Reply with quote  Mark this post and the followings unread

DCoder wrote:
@Clazzy:
Image= works in art(md).ini, at least on building animations... But in this case it would have been simpler to do what you said, add Image=DOG to rules.
Limbo logic won't be used unless a weapon demands it, and MindControl does not... unless he edited it, which I highly doubt.



Sorry, it's both early in the morning and I haven't modded RA2 for over a year and a half, so my knowledge of RA2-specific code has faded away.

_________________
Quote:
This is sexier than what this forum was supposed to tolerate. - Banshee

Back to top
View user's profile Send private message
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 8:48 am    Post subject: Reply with quote  Mark this post and the followings unread

Ow @ D-coder where can i find this: ra2(md).csf
??

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Wed Aug 03, 2005 8:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Argh, General, you're not thinking. Or you don't understand why I added Image=DOG to that unit.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 8:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Sorry, i'm kinda newbie on this,
But it would work now right?
With the code i just added?

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Wed Aug 03, 2005 9:12 am    Post subject: Reply with quote  Mark this post and the followings unread

It would work, and it wouldn't need the [pscychicdog] in art(md).ini.

As for ra2md.csf, where did you get the ra2_english.csf? ra2md.csf is inside langmd.mix afaik.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 9:14 am    Post subject: Reply with quote  Mark this post and the followings unread

@D-coder:
i just tryed it on Yuri's side but it doesn't work, i think it would work when i edit the ra2md.csf though Very Happy

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Wed Aug 03, 2005 9:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Then you did something wrong.

Here's the rules with your dog added, unzip to your YR dir and play as Yuri. Then compare this to what you did in your rules...



rulesmd.zip
 Description:

Download
 Filename:  rulesmd.zip
 Filesize:  124.19 KB
 Downloaded:  76 Time(s)


Back to top
View user's profile Send private message Visit poster's website Skype Account
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 10:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Dude, ya know what i did wrong?
I didn't add it into the list Very Happy
IT WORKS!, i'm soo happpy Laughing  Laughing
Moving on to the next question about it: How can i change the in-game apearnence of the dog??

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Wed Aug 03, 2005 10:56 am    Post subject: Reply with quote  Mark this post and the followings unread

Change the Image= ...

Back to top
View user's profile Send private message Visit poster's website Skype Account
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 10:58 am    Post subject: Reply with quote  Mark this post and the followings unread

I mean how cna iI edit the Dog, you know give it a helmet or something...

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Wed Aug 03, 2005 11:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Copy dog.shp, rename it into yuridog.shp, add it to the gaem directory, edit it to your liking, then delete the Image=DOG line from rulesmd.ini, and add to artmd.ini this:

Code:
[YURIDOG]
Cameo=DOGICON
AltCameo=DOGUICO
Sequence=DogSequence
Crawls=no
Remapable=yes
FireUp=6
PrimaryFireFLH=0,0,0


But then again, infantry editing takes a LOT of work (300 frames to edit.. bah). And all the stuff you're asking can be figured out by spending FIVE minutes looking at rulesmd.ini and artmd.ini and thinking how they link to each other.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 11:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Well this is the way they do it when they make a completly new unit (or tank) right?

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
Dean
AA Infantry


Joined: 03 Aug 2005
Location: The Netherlands

PostPosted: Wed Aug 03, 2005 12:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

Or Not?
*I know edit button Sorry*

_________________
Formerly known as:
General<|>Dv

A Newsflash By J4m3sb0nd:
Quote:

if VW and Sevleys mix with DvD & Me they will become huge big flying brains with gooey tentacles & spawn headcrabs

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [19 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.1700s ][ Queries: 13 (0.0091s) ][ Debug on ]