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 Jul 24, 2025 7:53 pm
All times are UTC + 0
Help adding a gun turret
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
ObsydianShade
Civilian


Joined: 03 Sep 2011

PostPosted: Tue Nov 13, 2012 3:39 am    Post subject:  Help adding a gun turret
Subject description: Base appears, but turret does not
Reply with quote  Mark this post and the followings unread

I've been modding YR for years, mostly it's a matter of finding what you want, and then finding what is closest to it, and cloning that under the new name. To date, I have had very few problems with this, but I recently went to add a gun turret, and ran into unfamiliar territory.

The files that came with the turret are as follows: gagun.shp, gaguntur.shp, gagunmk.shp, gggun.shp, ggguntur.shp, gggunmk.shp, and gunturreticon.

I've tried different combinations of code, including the one used by Atomic Noodles below, and the same result is I get the base, but no turret mounted on top of it.

I can only presume this has something to do with animations, since the rest of the code is working, the unit still engages targets and otherwise functions correctly.

my guess is the animation entry, which I've added, should look like:

[gaguntur]
Start=0
LoopStart=0
LoopEnd=31
LoopCount=-1
Rate=0
Layer=top
Shadow=no

Still, however, I'm getting no turret--what am I doing wrong?

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


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Tue Nov 13, 2012 4:15 am    Post subject: Reply with quote  Mark this post and the followings unread

add it in animations list

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Tue Nov 13, 2012 7:46 am    Post subject: Reply with quote  Mark this post and the followings unread

LoopEnd=32

NewTheater=yes ;it has the ga (arctic) /gg (general) prefix

check if the SHP really has on frame 0 the first frame (turret facing north). Else adjust the Start key.

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


Joined: 03 Sep 2011

PostPosted: Tue Nov 13, 2012 11:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

I made the changes you suggested, but no dice. The animation stuff is in the artmd.ini with the rest of those--do I need information somewhere else as well?

I confess, I never really bothered with anything in the past that required delving into animations, so that is one area I'm lacking in.

Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Wed Nov 14, 2012 1:30 am    Post subject: Reply with quote  Mark this post and the followings unread

put your .shp files into a .mix, make sure gaguntur and ggguntur are listed in [Animations] with all Caps on= GAGUNTUR, then use this code here:

[GAGUNTUR]
NewTheater=yes
Start=0
LoopStart=0
LoopEnd=32
LoopCount=-1
Rate=0
Layer=top
Shadow=no

Make sure the building using this turret has these,

Turret=yes
TurretAnim=GAGUNTUR
TurretAnimIsVoxel=false
;TurretAnimX=0
;TurretAnimY=0
TurretAnimZAdjust=-132

should make it work for ya

_________________

The enemy shall be injected with toxic poison - Venom

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