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 Wed Apr 24, 2024 1:29 am
All times are UTC + 0
Shp unit problem!
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Drago
Civilian


Joined: 23 Feb 2007

PostPosted: Sun Jan 25, 2009 10:45 am    Post subject:  Shp unit problem!
Subject description: Crazy on the battlefield!
Reply with quote  Mark this post and the followings unread

Hi! I have a problem with a unit. I made shp unit (Mammoth Mk2 type). I did all animation as at a wolverine. The problem in that I cannot understand why occurs it #Mad (see attachment )

Here my code in art.ini, please prompt in what I could be mistaken?
Confused

art.ini
Code:
[DRMK]
Voxel=no
Remapable=yes
Cameo=HMECICON
PrimaryFireFLH=80,100,158
SecondaryFireFLH=-60,100,170
WalkFrames=13
StandingFrames=1
StartWalkFrame=0
StartStandFrame=97
FiringFrames=32
StartFiringFrame=105
Facings=8


Frames in animation 274
--------------------------------
Sorry for my english Very Happy



Crazy unit.zip
 Description:
crazy mech 8D

Download
 Filename:  Crazy unit.zip
 Filesize:  1017.84 KB
 Downloaded:  113 Time(s)


_________________

Back to top
View user's profile Send private message
Chrono Crusade
Cyborg Engineer


Joined: 12 Dec 2007
Location: Gensokyo

PostPosted: Sun Jan 25, 2009 10:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Maybe you should try using the MaMmothK2 section? It's more compatible since it's on four legs although I don't know...

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message Send e-mail Skype Account Yahoo Messenger Account AIM Address
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Jan 25, 2009 11:19 am    Post subject: Reply with quote  Mark this post and the followings unread

this error occurs, if you made mistakes in the ...Frames= keys.
in your case your WalkFrames and the following StartStandFrames (and StartFiringframes) seems to be wrong. Because 8 (facings) * 13 (walkframes) =104, But your StartStandFrame starts already at 97. So they overlap and the anim messed up.

FiringFrames is wrong too, because 32*8=256 and you wrote that your unit has only 274 frames.

So open your unit with shp builder and adjust all Frame keys so they fit with the SHP.
Note: SHP builder starts counting the frames at 1 while the game starts at 0 Exclamation

@Chrono Crusade: don't answer if you don't have a clue. The number of legs has nothing to do with the anim and the MMKII is a voxel, no SHP.

_________________
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
Chrono Crusade
Cyborg Engineer


Joined: 12 Dec 2007
Location: Gensokyo

PostPosted: Sun Jan 25, 2009 12:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Oh okay Once again, don't listen to me if I said: "I think"

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message Send e-mail Skype Account Yahoo Messenger Account AIM Address
Drago
Civilian


Joined: 23 Feb 2007

PostPosted: Sun Jan 25, 2009 12:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:

in your case your WalkFrames and the following StartStandFrames (and StartFiringframes) seems to be wrong. Because 8 (facings) * 13 (walkframes) =104, But your StartStandFrame starts already at 97. So they overlap and the anim messed up.

FiringFrames is wrong too, because 32*8=256 and you wrote that your unit has only 274 frames.



I have rewrite a code, but "small" bugs have remained #All_Coholic


Code:
[DRAGMAMO]
Voxel=no
Remapable=yes
Cameo=HMECICON
PrimaryFireFLH=80,100,158
SecondaryFireFLH=-60,100,170
WalkFrames=12
StandingFrames=1
StartWalkFrame=0
StartStandFrame=96
FiringFrames=4
StartFiringFrame=106
Facings=8

_________________

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Jan 25, 2009 3:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

without the actual SHP to look at, it's hard to tell.
WalkFrames and StartStandFrames seems to be correct.
Though StartFiringFrame=106 isn't StartStandFrame=96+8 =104. Wink

_________________
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
Drago
Civilian


Joined: 23 Feb 2007

PostPosted: Sun Jan 25, 2009 4:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here it #Microwave .

Look please, if not difficultly #Puppy dog



dragmamo.zip
 Description:

Download
 Filename:  dragmamo.zip
 Filesize:  180.59 KB
 Downloaded:  109 Time(s)


_________________

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Jan 25, 2009 4:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

the first walk anim facing north has 13 frames, all others only 12 Exclamation delete frame number 13 as it is the same as frame 1 (or delete frame 1)

_________________
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
Drago
Civilian


Joined: 23 Feb 2007

PostPosted: Sun Jan 25, 2009 6:41 pm    Post subject:   Reply with quote  Mark this post and the followings unread

Thanks you Razz
Its my first shp unit! Cool
funny Very Happy



8D.zip
 Description:
MMK

Download
 Filename:  8D.zip
 Filesize:  3.87 MB
 Downloaded:  100 Time(s)


_________________

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