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 4:01 am
All times are UTC + 0
[RA2] 50 Cal Sniper
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [31 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Sussex_Cichlids
Medic


Joined: 31 Jul 2009

PostPosted: Tue Aug 04, 2009 7:11 am    Post subject:  [RA2] 50 Cal Sniper
Subject description: Help with in problem
Reply with quote  Mark this post and the followings unread

Ive Made a copy of the british sniper and added new cameo 50 cal sniper for my usa marines mod

the cameo shows in game side bar but when you build the unit it comes out barracks but cannot be seen you can see its health when its selected but if you give it an attack command it show a negtive cameo as the unit when it fire its gun any ideas

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


Joined: 11 Aug 2008
Location: Somewhere up high.

PostPosted: Tue Aug 04, 2009 7:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Did something wrong with the coding.

Back to top
View user's profile Send private message
Sussex_Cichlids
Medic


Joined: 31 Jul 2009

PostPosted: Tue Aug 04, 2009 7:40 am    Post subject: Well yea Reply with quote  Mark this post and the followings unread

thats a bit obvious helpfull answers please

[50 cal Sniper]
UIName=Name:SNIPE
Image=SN2IC
Name=Sniper
Category=Soldier
Primary=AWP
;CanPassiveAquire=no
Prerequisite=RADAR,GAPILE
CrushSound=InfantrySquish
Strength=100
Pip=red
Armor=plate
TechLevel=1
Sight=8
Speed=4
Owner=Americans
Cost=600
Soylent=600
Points=10
IsSelectableCombatant=yes
VoiceSelect=SniperSelect
VoiceMove=SniperMove
VoiceAttack=SniperAttackCommand
VoiceFeedback=SniperFear
VoiceSpecialAttack=SniperMove
DieSound=SniperDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=10
ImmuneToVeins=yes
ImmuneToPsionics=no
Bombable=yes
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=1
AllowedToStartInMultiplayer=no
ElitePrimary=AWPE
PreventAttackMove=no
IFVMode=5

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


Joined: 11 Aug 2008
Location: Somewhere up high.

PostPosted: Tue Aug 04, 2009 7:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Sorry not a RA2 modder. But if it's invisible you fucked up the graphic codes.

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


Joined: 02 Apr 2005
Location: United States

PostPosted: Tue Aug 04, 2009 8:41 am    Post subject: Reply with quote  Mark this post and the followings unread

post the artini code.

Back to top
View user's profile Send private message Skype Account
Sussex_Cichlids
Medic


Joined: 31 Jul 2009

PostPosted: Tue Aug 04, 2009 10:26 am    Post subject: Thanks Reply with quote  Mark this post and the followings unread

[SN2IC] ; SN2IC
Cameo=SN2IC
AltCameo=SN2UIC
Sequence=ConSequence ;Generic infantry that can paradrop
Crawls=yes
Remapable=yes
FireUp=5
PrimaryFireFLH=80,0,85

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Tue Aug 04, 2009 10:55 am    Post subject: Reply with quote  Mark this post and the followings unread

how should this work if you give the unit and the cameo the same filename?
give the unit ID a different name and then add Image= to the art.ini entry with the name of the original sniper.

_________________
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
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Tue Aug 04, 2009 2:16 pm    Post subject: sniper Reply with quote  Mark this post and the followings unread

did you put your sniper game image into a mix file???

_________________
I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder

http://www.ppmsite.com/forum/viewtopic.php?t=27714

Back to top
View user's profile Send private message Send e-mail Skype Account
need my speed
Cyborg Artillery


Joined: 13 Jan 2007
Location: Netherlands! Banned: 3 times

PostPosted: Tue Aug 04, 2009 4:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

Don't make the same names. Not on weapons, unit names, art entries, never. I alwas use things like SniperWep for weapons, Sniper for the normal name (and art), SniperCam for the cameo, etc.

Secondly, don't use spaces. You have [50 cal Sniper] , make it [50calSniper] or something, but don't use spaces.

_________________
☭☭☭☭☭☭☭☭☭☭
Become one with your heart's desire:
http://www.moddb.com/mods/command-conquer-red-renegade1
☭☭☭☭☭☭☭☭☭☭

Back to top
View user's profile Send private message Visit poster's website
Sussex_Cichlids
Medic


Joined: 31 Jul 2009

PostPosted: Wed Aug 05, 2009 5:40 am    Post subject: could you please Reply with quote  Mark this post and the followings unread

correct the code were its wrong so that i can see my mistakes then ill use the lables that you give the unit it and bingo ill try that will learn from my mistakes

Many Thanks Sussex

Back to top
View user's profile Send private message
need my speed
Cyborg Artillery


Joined: 13 Jan 2007
Location: Netherlands! Banned: 3 times

PostPosted: Wed Aug 05, 2009 7:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Can you read or something?

Ixonclast said: But if it's invisible you fucked up the graphic codes.

Is it invisible? Yes? Then go look at the artmd.ini entry of your sniper. Or look at the files for your sniper which are in the MIX files, maybe they've bad names.

Damned Machine said: post the art.ini code

So do that.

LKO said: give the unit ID a different name and then add Image= to the art.ini entry with the name of the original sniper.

So do that.

NVH said: did you put your sniper game image into a mix file???

So do that.

I said: Don't make the same names. Not on weapons, unit names, art entries, never. I alwas use things like SniperWep for weapons, Sniper for the normal name (and art), SniperCam for the cameo, etc. Secondly, don't use spaces. You have [50 cal Sniper] , make it [50calSniper] or something, but don't use spaces.

So do that.

_________________
☭☭☭☭☭☭☭☭☭☭
Become one with your heart's desire:
http://www.moddb.com/mods/command-conquer-red-renegade1
☭☭☭☭☭☭☭☭☭☭

Back to top
View user's profile Send private message Visit poster's website
Sussex_Cichlids
Medic


Joined: 31 Jul 2009

PostPosted: Wed Aug 05, 2009 8:16 am    Post subject: problem is Reply with quote  Mark this post and the followings unread

im very new to editing and im starting with tibed till i get the basic of the code so all i have to edit is art.ini and rules.ini tibed dose the rest for me but its still being pain in ass

Back to top
View user's profile Send private message
Sussex_Cichlids
Medic


Joined: 31 Jul 2009

PostPosted: Wed Aug 05, 2009 8:53 am    Post subject: HELP Reply with quote  Mark this post and the followings unread

Right been over code agan and done what you all surgested still you can see cameo in side bar click build it build when unit is on battle filed you cannot see it you can select it and see health bar im going to give up soon heres a copy of the revised code

*****ART.INI*******

; Clone of SNIPE
[AMSNART] ;
Cameo=SNIPCAM
AltCameo=SNIPUCAM
Sequence=ConSequence ;Generic infantry that can paradrop
Crawls=yes
Remapable=yes
FireUp=5
PrimaryFireFLH=80,0,85


******RULES.INI*****

[AMSN]
UIName=Name:AMSNART
Name=50CalSniper
Category=Soldier
Primary=AWP
;CanPassiveAquire=no ; Won't try to pick up own targets
Prerequisite=GAPILE,RADAR
CrushSound=InfantrySquish
Strength=125
Pip=red
Armor=none
TechLevel=1
Sight=8
Speed=4
Owner=Americans
Cost=600
Soylent=600
Points=10
IsSelectableCombatant=yes
VoiceSelect=SniperSelect
VoiceMove=SniperMove
VoiceAttack=SniperAttackCommand
VoiceFeedback=SniperFear
VoiceSpecialAttack=SniperMove
DieSound=SniperDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=10 ; This value MUST be 0 for all building addons
ImmuneToVeins=yes
ImmuneToPsionics=no
Bombable=yes
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=1
AllowedToStartInMultiplayer=no
ElitePrimary=AWPE
PreventAttackMove=no
IFVMode=5

Image=AMSNART
Nominal=yes

Back to top
View user's profile Send private message
need my speed
Cyborg Artillery


Joined: 13 Jan 2007
Location: Netherlands! Banned: 3 times

PostPosted: Wed Aug 05, 2009 8:56 am    Post subject: Reply with quote  Mark this post and the followings unread

I see you've posted another post. Try removing the space between:

PreventAttackMove=no
IFVMode=5

Image=AMSNART
Nominal=yes

Maybe it works then. Please read everything beneath this, it was posted as a reaction to your other post, but you should be able to learn some things or something from it. #Tongue




Don't use TibEd. Just don't. You say you're editing artmd.ini and rulesmd.ini? Then you don't even need TibEd. #Tongue

First answer those questions from my post, and do as I told there. If you can't, inform us why you can't do something or what you don't understand.

The problem is that your sniper is invisible, right? Then that would mean that the .SHP file of the sniper isn't called SN2IC. Remember, the following tags should have the same name:

In rulesmd.ini, the Image=SN2IC tag points to the [SN2IC] tag in artmd.ini. That points to the SN2IC.SHP file which is in expandmd**.mix, ecachemd**.mix, or in your normal Red Alert 2 directory. ** can be anything, but most people use 2 numbers. It is advised to put .SHP files in ecachemd**.mix. These 2 .mix files, you have to create yourself. Do you know how to do that? Do you have XCC Mixer and other XCC things?

I hope you understand everything, if you don't, please tell exactly what you do not understand.

And please do not use TibEd. #Tongue It has so many disadvantages, and it is more or less the same as if you're just editing rulesmd.ini etcetera.

_________________
☭☭☭☭☭☭☭☭☭☭
Become one with your heart's desire:
http://www.moddb.com/mods/command-conquer-red-renegade1
☭☭☭☭☭☭☭☭☭☭

Back to top
View user's profile Send private message Visit poster's website
Sussex_Cichlids
Medic


Joined: 31 Jul 2009

PostPosted: Wed Aug 05, 2009 9:17 am    Post subject: Thanks Reply with quote  Mark this post and the followings unread

right ive now change this bit of code


PreventAttackMove=no
IFVMode=5
Image=SNIPE
Nominal=yes


And i know get a unit that i can see but in the side bar its not my CAMEO

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Aug 05, 2009 9:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
add Image= to the art.ini entry with the name of the original sniper.

to make it clear, move the Image=SNIPE key to the art.ini entry!

also use the same name in art.ini and rules.ini, so you don't need the Image key in rules.ini which points to your new graphic in art.ini.
(not AMSNART (art.ini) and AMSN (rules.ini); to make it clear, rename AMSNART to AMSN)

also read tutorials like the newbie guide in modding

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


Joined: 31 Jul 2009

PostPosted: Wed Aug 05, 2009 12:46 pm    Post subject: HELP Reply with quote  Mark this post and the followings unread

Still not working ive now trid eveything you guys have surgested ive gone right back to renaming .shp in CAPS and doing everything in caps were needed here the final paste of the code if nobody can solve it ill give up but the not looking good for my mod plan's

*********RULES.INI*********
; Clone of SNIPE (Sniper)
[SNIPA]
UIName=Name:SNIPE
Name=Sniper
Category=Soldier
Primary=AWP
;CanPassiveAquire=no ; Won't try to pick up own targets
Prerequisite=GAPILE,RADAR
CrushSound=InfantrySquish
Strength=125
Pip=red
Armor=none
TechLevel=1
Sight=8
Speed=4
Owner=British,Americans
RequiredHouses=British,Americans
Cost=600
Soylent=600
Points=10
IsSelectableCombatant=yes
VoiceSelect=SniperSelect
VoiceMove=SniperMove
VoiceAttack=SniperAttackCommand
VoiceFeedback=SniperFear
VoiceSpecialAttack=SniperMove
DieSound=SniperDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=10 ; This value MUST be 0 for all building addons
ImmuneToVeins=yes
ImmuneToPsionics=no
Bombable=yes
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=1
AllowedToStartInMultiplayer=no
ElitePrimary=AWPE
PreventAttackMove=no
IFVMode=5

******ART.INI*******

; Clone of SNIPE
[SNIPA]
Cameo=SNCON
AltCameo=SNUCON
Sequence=ConSequence ;Generic infantry that can paradrop
Crawls=yes
Remapable=yes
FireUp=5
PrimaryFireFLH=80,0,85
Image=SNIPE

Thanks Guys I Know Im Hard Work

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Aug 05, 2009 12:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Assumed that you also have correct SNIPA in the InfantryTypes list, it could be that Image= doesn't works on units in art.ini in RA2.
Try the hard way: copy SNIPE.SHP, rename it to SNIPA.SHP, put it in an ecache*.mix (* being any number or string), remove the Image=SNIPE key from the art.ini entry and test it again.

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


Joined: 31 Jul 2009

PostPosted: Wed Aug 05, 2009 1:28 pm    Post subject: Cracked It Reply with quote  Mark this post and the followings unread

Thanks Lin Kuei Ominae

Your must be right as only the UK and USA Only have the Sniper instead of adding a new unit i just made the UK Share the sniper with the USA and mad it use my cameo were can i find the .VXL files of the orignal units because if i can copy them rename and add to tibed it dose it no problems

i know you all keep telling me to stop using tibed but till i can do the basic first then im going to use XCC tools if i cannot use tibed how will i use XCC tools

P.s thanks everyone for all your help Razz Razz

Back to top
View user's profile Send private message
need my speed
Cyborg Artillery


Joined: 13 Jan 2007
Location: Netherlands! Banned: 3 times

PostPosted: Wed Aug 05, 2009 3:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

XCC Mix Creator and XCC Mixer, which are the 2 most used ones, are used for creating and extracting MIX files, as well as importing and exporting things of / to those MIX files. However, there are much more XCC things, a sound editor to name one. It's totally different from TibEd.

As someone once said, TibEd lets you work with the limitations of TibEd, but if you just edit rules.ini etcetera on your own, your working with the limitations of the game engine. For example, you can't make complex unusual code that would make a unit able to do something it can't do otherwise. I can't really explain it. Also, NPatch, RockPatch, Ares, and any other fix / hack / patch won't work with TibEd. TibEd sucks. #Tongue

_________________
☭☭☭☭☭☭☭☭☭☭
Become one with your heart's desire:
http://www.moddb.com/mods/command-conquer-red-renegade1
☭☭☭☭☭☭☭☭☭☭

Back to top
View user's profile Send private message Visit poster's website
Sussex_Cichlids
Medic


Joined: 31 Jul 2009

PostPosted: Thu Aug 06, 2009 5:29 am    Post subject: Yea Reply with quote  Mark this post and the followings unread

And that why im learning the basic code in tibed i have the XCC tools but till i can use basic code right im using the manual editer with the help of the tibed genrator to build the base of my mod as i find its teaching me the code and order for it to be placed then when ive got that ill Export my mod to XCC and edit it futher

as a newbie if i jumped in with XCC i would of just F**K*D the game up as it an advanced editer and tibed show you the basic code and if you mess it up it will erase code if wrong when you click off your unit and back on it again plus as it gives you an easey editer you can change your basic option fast

Why RUN BEFORE I CAN WALK
Im sure this has stop me posting stupid newbie post on basic stuff which other people have

AND WATCH THE SHP'S AS IM UPLOAD MY FIRST PACK SOON

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Thu Aug 06, 2009 9:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Sussex_Cichlids wrote:
Why RUN BEFORE I CAN WALK

why amputate your legs before you learn to walk.

_________________
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
need my speed
Cyborg Artillery


Joined: 13 Jan 2007
Location: Netherlands! Banned: 3 times

PostPosted: Thu Aug 06, 2009 10:11 am    Post subject: Reply with quote  Mark this post and the followings unread

Agreed. #Tongue

_________________
☭☭☭☭☭☭☭☭☭☭
Become one with your heart's desire:
http://www.moddb.com/mods/command-conquer-red-renegade1
☭☭☭☭☭☭☭☭☭☭

Back to top
View user's profile Send private message Visit poster's website
Lt Albrecht
Defense Minister


Joined: 25 Jul 2007
Location: Hampshire, England. Creating RA2: Moscow's vengeance

PostPosted: Fri Aug 07, 2009 11:14 am    Post subject: Reply with quote  Mark this post and the followings unread

If you use tubes you are 99% more likely to become a nOOb. Plus it is an unneeded barrier between you and the game, another layer through which stuff is distorted. Learn to use notepad(or better notepad++) and you'll see what I mean.

_________________
Yes, work on MV continues. It is not forgotten.

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


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Fri Aug 07, 2009 12:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Every time you use TibEd, a child loses its parents.

_________________

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


Joined: 25 Jul 2007
Location: Hampshire, England. Creating RA2: Moscow's vengeance

PostPosted: Fri Aug 07, 2009 12:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Lko, image= doesn't work in art.ini in ra2... =P

_________________
Yes, work on MV continues. It is not forgotten.

Back to top
View user's profile Send private message Skype Account
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Fri Aug 07, 2009 6:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
to make it clear, move the Image=SNIPE key to the art.ini entry!

This doesn't work on units in RA2/YR. It's pretty clear in the YR art file that this is the case since the Battle Fortress has Image=SREF and you don't see a Prism Tank rolling around.

Image is only valid in art for animations, at least in RA2 anyway.

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


Joined: 18 Aug 2009

PostPosted: Tue Aug 18, 2009 4:16 am    Post subject: Reply with quote  Mark this post and the followings unread

Actually, that's because there are semicolons.

;Image=SREF

It would actually work. Unless you're talking about art.ini instead of rules.ini.

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Tue Aug 18, 2009 4:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Dear god. Did you even ztyping read my post or did you just skip over it? Rolling Eyes

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


Joined: 27 Jul 2009

PostPosted: Tue Aug 18, 2009 4:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Dark Templar X

Calm down he just happens to post random shat.

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Tue Aug 18, 2009 4:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Me, calm? Please.

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