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 Sat Apr 20, 2024 12:45 am
All times are UTC + 0
Bazooka infantry help
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
rtgamr
Cyborg Engineer


Joined: 25 Jan 2009

PostPosted: Sun Oct 31, 2010 4:09 pm    Post subject:  Bazooka infantry help Reply with quote  Mark this post and the followings unread

I am relatively new to modding and i was wondering if any of you can help me with a problem. I am trying to create a bazooka infantry unit for my mod but whenever i create the unit in the game it never walks right. By that i mean it stays still and has no animation as it like floats across the map.

I copied the code mostly from the flak trooper. I'm guessing that might be where the problem is stemming from. Here is the rules code:

[SIDEWINDER]
UIName=Sidewinder
Name=Sidewinder
Image=SIDEWINDER
Category=Soldier
Primary=Dragon
Secondary=FlakGuyAAGun
Prerequisite=GAPILE,RADAR
CrushSound=InfantrySquish
Strength=100
Armor=none
TechLevel=3
Pip=white
Sight=5
Speed=4
Owner=British,French,Germans,Americans,Alliance
Cost=400
Soylent=150
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
Points=5
IsSelectableCombatant=yes
VoiceSelect=FlakTroopSelect
VoiceMove=FlakTroopMove
VoiceAttack=FlakTroopAttackCommand
VoiceFeedback=FlakTroopFear
VoiceSpecialAttack=FlakTroopMove
DieSound=FlakTroopDie
PhysicalSize=1
MovementZone=Infantry
;MovementZone=InfantryDestroyer ;GEF wow!!! copy paste bug from the original Disk Thrower!
ThreatPosed=5 ; This value MUST be 0 for all building addons
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
ImmuneToVeins=yes
Size=1
AllowedToStartInMultiplayer=no
ElitePrimary=FlakGuyGunE
EliteSecondary=FlakGuyAAGunE
IFVMode=3

And here is the art code:


[SIDEWINDER]
Cameo=SWINDERICON
AltCameo=SWINDERUICO
Sequence=SidewinderSequence
Crawls=yes
Remapable=yes
FireUp=2
PrimaryFireFLH=80,0,90

[SIDEWINDERA]
Cameo=SWINDERICON
AltCameo=SWINDERUICO
Sequence=SidewinderSequence
Crawls=yes
Remapable=yes
FireUp=2
PrimaryFireFLH=80,0,90

[SidewinderSequence]
Ready=0,1,1
Guard=0,1,1
Prone=86,1,6
Walk=8,6,6
FireUp=204,6,6
Down=164,2,2
Crawl=86,6,6
Up=180,2,2
FireProne=252,6,6
Idle1=56,15,0,S
Idle2=71,15,0,E
Die1=134,15,0
Die2=149,15,0
Die3=0,1,1
Die4=0,1,1
Die5=0,1,1
Paradrop=300,1,0
Cheer=196,8,0,E
Panic=8,6,6


If any of you can help me it would be greatly appreciated. Also if any of you have any weapon suggestions that would be great! Thanks in advance!

Back to top
View user's profile Send private message Yahoo Messenger Account AIM Address
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Sun Oct 31, 2010 4:20 pm    Post subject: inf Reply with quote  Mark this post and the followings unread

The problem lies within your SidewinderSequence. That is what controls actions.

_________________
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
rtgamr
Cyborg Engineer


Joined: 25 Jan 2009

PostPosted: Sun Oct 31, 2010 4:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

what can i do to fix that?

The sequence and other Art codings were given in the readme

Last edited by rtgamr on Sun Oct 31, 2010 4:29 pm; edited 1 time in total

Back to top
View user's profile Send private message Yahoo Messenger Account AIM Address
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Sun Oct 31, 2010 4:29 pm    Post subject: inf Reply with quote  Mark this post and the followings unread

I was looking for this and was going to edit my post before you had a chance to ask that, lol.

I had found this some time ago, some one posted up on the info. I don't remember who said it, but I didn't write it, I am just passing this on to help you.



Quote:
i've had too many people asking me what the numbers mean in the sequencies in the art file for infantry. so from now on i can point them here. I'd consider this as general knolege, as all infantry SHPers i know, (Except hunt7s who gets me to do them) knows how to write the sequence.

Here is a complete list of the different tags and what they are used for

Ready= for standing still
Guard= standing still when in guard mode
Prone= not moving in the crawl position
Walk= walking
FireUp= firing while standing
Down= moving from standing to crawl position
Crawl= crawling
Up= moving from crawl to standing position
FireProne= firing while in the crawl position
Idle1= anim to play while doing nothing
Idle2= second anim to play while doing nothing
Die1= first die sequence
Die2= second die sequence
Die3= seemingly unused die sequences
Die4= seemingly unused die sequences
Die5= seemingly unused die sequences
Cheer= cheering when winning
Panic= running around silly when afraid
SecondaryFire= special anim to play for second weapon while standing
SecondaryProne= special anim to play for second weapon while in the crawl position

Special for jumpjet infantry

Fly= moving while in the air
Hover= not moving while in the air
FireFly= firing while in the air
Tumble=
AirDeathStart= anim to play when dying while flying
AirDeathFalling= anim to play while falling out off the air
AirDeathFinish= death anim to play when hits the ground

Special for deploying or deploy fire infantry

Deploy= anim to play moving to the deploy posision
Deployed= doing nothing while deployed (this is also for when in deploy fire but isn't ready to undeploy yet)
DeployedFire= firing while deployed
DeployedIdle= anim to play while doing nothing while deployed
Undeploy= anim to play when moving back to standing position

Specials for swimming infantry

Swim= moving while in water (or swimming)
Tread= not moving while in water (EG bobing up and down)
WetAttack= firing while in water
WetIdle1= anim 1 to play while doing nothing in water
WetIdle2= anim 2 to play while doing nothing in water
WetDie1= die 1 while in water
WetDie2= die 2 while in water

Some other YR sequence tags to play sounds while playing the anim

Idle2Sounds= plays a sound during idle anim 2
Die1Sounds= plays a die sound for die 1(don't really need these unless you want to specify seperate sounds for die1 to die2)
Die2Sounds= Plays a die sound for die 2
WalkSounds= sound to play while walking
CrawlSounds= sound to play while crawling

First number
First number is called starting frame, this is the first frame of the first facing anim.

Second number
This is the number of frames that are played in a infinite loop while this function is happening, some things play the loop once and then play a difference sequence, like fire plays once then goes back to standing. some anims only have a single frame, you think it just displays that single frame, when actually its continuasly playing a 1 frame anim which looks like its a single frame.

Third number
Now, this is the hardest to explain, so the eisiest way is to explain using examples and referencing the 2nd number a lot. The 3rd number is called "frame skip" basicly, lets look at prone and crawl sequencies. most prone sequencies are made by taking the first frame of every crawl facing sequence. what i mean is it plays the crawl sequence for prone, but only the first frame of it, this is how it works. The first frame of the first facing could be 120. each facing has 6 frames. therefore crawl is 120,6,6. it plays all 6 frames in a loop for the duration of the crawl. if it then stops and goes to the prone sequencies, we want it to play the first frame for the same sequence, so the start frame is the same, 120. the second number is 1 as we want it to play only the first frame. and the 3rd number is 6, as thats what the frame skip is, IE, thats how many frames there are before the next facing. if you want to play the second frame its the same except the start number is 1 higher to point the start frame to frame 2. hope thats simple enough for you.

Fourth number/letter
Some sequences have a letter on the end. being N, NE, E, SE, S, SW, W, or NW This is for such things as IDLE anims where the frame skip is set to 0 so it always plays the same anim no matter which way its facing. so, for example, at the end its facing north, so we want it to face north after playing the anim, we simply add a N as a 4th number to do that. Don't forget, there is a 45 degree rotation so N doesn't face up, i can't remember which way its rotated, but i think its clockwise, so N actually faces what we'd consider to be NE. so be carefull. Also, the first facing direction is up, and it rotates in an anti clockwise direction, so next is up and left, then left, etc, thats it.

_________________
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
rtgamr
Cyborg Engineer


Joined: 25 Jan 2009

PostPosted: Sun Oct 31, 2010 4:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you! I'll have to look over that, I didnt think it was the art code because it was given but it makes sense when i think about it now i gotta figure out how to fix this... haha

Back to top
View user's profile Send private message Yahoo Messenger Account AIM Address
rtgamr
Cyborg Engineer


Joined: 25 Jan 2009

PostPosted: Sun Oct 31, 2010 4:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

btw i forgot to mention the cameos dont show up in the game, any reason for that?

Back to top
View user's profile Send private message Yahoo Messenger Account AIM Address
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Sun Oct 31, 2010 5:04 pm    Post subject: inf Reply with quote  Mark this post and the followings unread

not having the proper sequence also makes him unable to kill. if he was the last man standing the game would never end

_________________
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
rtgamr
Cyborg Engineer


Joined: 25 Jan 2009

PostPosted: Sun Oct 31, 2010 5:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well he can die and kill everything works fine except for his animation and cameos

Back to top
View user's profile Send private message Yahoo Messenger Account AIM Address
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Sun Oct 31, 2010 8:35 pm    Post subject: Re: Bazooka infantry help Reply with quote  Mark this post and the followings unread

rtgamr wrote:

[SIDEWINDER]
UIName=Sidewinder <<< think this has to be caps
Name=Sidewinder
Image=SIDEWINDER
Category=Soldier
Primary=Dragon
Secondary=FlakGuyAAGun
Prerequisite=GAPILE,RADAR



_________________
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
Yurisarmy
Missile Trooper


Joined: 02 Mar 2005
Location: Missouri, USA

PostPosted: Sun Oct 31, 2010 8:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

It does not, however the 'Name:' part might be necessary. I never tested that, but I know caps doesn't matter. Just make the .csf entry the same.

_________________

Now on ModDB!

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID Skype Account Yahoo Messenger Account AIM Address
rtgamr
Cyborg Engineer


Joined: 25 Jan 2009

PostPosted: Mon Nov 01, 2010 5:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

No, i tried adding Name: and the same still happens. :/

Back to top
View user's profile Send private message Yahoo Messenger Account AIM Address
rtgamr
Cyborg Engineer


Joined: 25 Jan 2009

PostPosted: Mon Nov 01, 2010 6:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

Nvm i found the problem, it was in the wrong section of artmd. Now i just need to find a suitable weapon for it.

Back to top
View user's profile Send private message Yahoo Messenger Account AIM Address
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [12 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.2155s ][ Queries: 11 (0.0109s) ][ Debug on ]