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 1:17 am
All times are UTC + 0
How i add a Action?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [10 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Dny
Energy Commando


Joined: 28 May 2008

PostPosted: Sun Jun 01, 2008 2:22 am    Post subject:  How i add a Action? Reply with quote  Mark this post and the followings unread

HI,i know there are tutorials about this but i dont get it at all, so can someone help mi please.

i want to add a action for mi ParaDrop to work

call me fool or wethever u want but where do i place the following things

Quote:
First, create the following list section:

[MouseCursors]
NewPara=259,10,4,516,-1,12345,12345 ;example
The list works like this:

NewActionName=[StartFrame],[NumberOfFrames],[AnimationInterval],[MinimapFrame],[MinimapNumberOfFrames],[HotSpotX],[HotSpotY]

Maximum length of NewActionName is 32 chars.HotSpotX and HotSpotY can be "0", "12345", "54321".HotSpotX:
0 - Left
12345 - Center
54321 - Right

HotSpotY:
0 - Top
12345 - Center
54321 - Bottom

Action=NewPara ;simply the name of a mouse pointer declared in [MouseCursors]


mm.... i want just a copy of the ParaDrop Action so mi new paratroop will work guess,if i am rong tell me

I WILL APRECIATE YOUR SUPPORT................Sorry about mi Englesh Sad

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sun Jun 01, 2008 3:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Just add

[MouseCursors]
NewPara=259,10,4,516,-1,12345,12345

Anywhere in the rules then & put Action=NewPara on the SW

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
SSTG
Rocket Cyborg


Joined: 19 Nov 2007

PostPosted: Sun Jun 01, 2008 5:17 am    Post subject: Reply with quote  Mark this post and the followings unread

A short explanation

259,10,4,516,-1,12345,12345

256 1: this is the frame your action starts at

10 2: how many animation frames it goes for

-4 3: I think this is the speed of it

516 4: the start frame if you aim your SW on the mini map

-1 5: number of frames for this action

12345 6 & 7: this is just to keep the targeting correctly aimed

extract the MOUSE.sha file and look through it on SHP editor helps work out what you want for your animation also helps for adding custom frames

Back to top
View user's profile Send private message
Dark Shadow 750
Cyborg Engineer


Joined: 27 Jul 2007

PostPosted: Sun Jun 01, 2008 5:42 am    Post subject: Reply with quote  Mark this post and the followings unread

just don't do what I did once and stick it half way through the [general] section

_________________
DCoder wrote:
We're having a "post the obvious" contest again and nobody told me?


DCoder wrote:
people tell me I'm wrong when I say the world is getting dumber.

Back to top
View user's profile Send private message
SSTG
Rocket Cyborg


Joined: 19 Nov 2007

PostPosted: Sun Jun 01, 2008 11:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh yea forgot bout that part

a action can only be used once so you'd need to add a new entry for each SW

NP/RP need this also for any SW to work

Quote:

[MouseCursors]
TankDrop=259,10,235,4,-1,12345,12345
AirstrikeSpecial=481,8,4,351,-1,12345,12345
Bombing=121,9,4,73,-1,12345,12345
Laser=90,9,4,110,9,-1,12345
Upgrade=210,4,4,435,1,-1,12345
DropPod=192,8,4,74,3,-1,12345
FireAtAction=19,1,4,514,-1,-1,12345
Demotruckweapon=79,8,4,44,-1,12345,12345
Spyweapon=200,1,4,516,-1,12345,12345
Medicweapon=356,1,4,434,-1,12345,12345



just add that anywhere in the RulesMD ini I would put it somewhere in [General] though for organization or just right at the bottom of the file

Back to top
View user's profile Send private message
Dny
Energy Commando


Joined: 28 May 2008

PostPosted: Sun Jun 01, 2008 2:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

Dark Shadow 750 wrote:
just don't do what I did once and stick it half way through the [general] section


I was about to do that Rolling Eyes .

Quote:
Just add

[MouseCursors]
NewPara=259,10,4,516,-1,12345,12345

Anywhere in the rules then & put Action=NewPara on the SW


Hey that's bery simple Smile

Quote:
A short explanation

259,10,4,516,-1,12345,12345

256 1: this is the frame your action starts at

10 2: how many animation frames it goes for

-4 3: I think this is the speed of it

516 4: the start frame if you aim your SW on the mini map

-1 5: number of frames for this action

12345 6 & 7: this is just to keep the targeting correctly aimed

extract the MOUSE.sha file and look through it on SHP editor helps work out what you want for your animation also helps for adding custom frames


hey thanks Soory for that, i mean that was bery simple
Embarassed

Back to top
View user's profile Send private message
Dny
Energy Commando


Joined: 28 May 2008

PostPosted: Sun Jun 01, 2008 3:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

When i resolve one problem i run into another! Mad

now it works but when i fire the plane drops the units that i selected for the normal paradrop.HEEELLPP!

[AlliedParaDropSpecial]
UIName=Name:AllParaDrop
Name=Allied ParaDrop
IsPowered=false
RechargeTime=0.5
Type=ParaDrop ;NewParaDrop is the type for AmericanParaDrop clones
SidebarImage=PARAICON
ShowTimer=yes
DisableableFromShell=no
;New Tags
ParaDropPlane=PDPLANE ;the paradrop plane
DropInf=E1,GGI,TANY ;this is the list of InfantryTypes that will be paradropped
DropInfNum=3,2,1 ;this is their amounts
DropUnits=MTNK,BFRT ;this is the list of UnitTypes (vehicles) that will be paradropped
DropUnitsNum=2,1 ;this is their amounts
Action=AllPara

i have this too

[General]
;************ American Paradrop Special Rules ***********
;These two lists _must_ have the same number of elements, otherwise bad crashiness will result

AllParaDropInf=E1,GGI,TANY ;this is the list of InfantryTypes that will be paradropped
AllParaDropInfNum=3,2,1 ;this is their amounts
AllParaDropUnits=MTNK,BFRT ;this is the list of UnitTypes (vehicles) that will be paradropped
AllParaDropUnitsNum=2,1 ;this is their amounts

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


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Sun Jun 01, 2008 3:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Type=ParaDrop ;NewParaDrop is the type for AmericanParaDrop clones
You need Type=NewParaDrop like the comment says.

Also, if you know your English is weak, why not try and improve it instead of just asking to be given answers?

Back to top
View user's profile Send private message Visit poster's website Skype Account
Dark Shadow 750
Cyborg Engineer


Joined: 27 Jul 2007

PostPosted: Sun Jun 01, 2008 3:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Dny wrote:

Type=ParaDrop ;NewParaDrop is the type for AmericanParaDrop clones

Back to top
View user's profile Send private message
Dny
Energy Commando


Joined: 28 May 2008

PostPosted: Sun Jun 01, 2008 3:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

DCoder wrote:
Quote:
Type=ParaDrop ;NewParaDrop is the type for AmericanParaDrop clones
You need Type=NewParaDrop like the comment says.

Also, if you know your English is weak, why not try and improve it instead of just asking to be given answers?


Ummm...............ok thanks.........

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