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 Fri Apr 19, 2024 8:50 am
All times are UTC + 0
Adding new weapons
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
mes262
Civilian


Joined: 13 May 2005

PostPosted: Tue Oct 17, 2006 1:56 am    Post subject:  Adding new weapons
Subject description: :S
Reply with quote  Mark this post and the followings unread

Hi. I'm kinda new to the modding scene and I need a bit of help. How exactly do I make my own weapons? I tried copy and pasting one, changed a few values and the name inside the [], and it crashes the game. What am I doing wrong?

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


Joined: 18 Aug 2006

PostPosted: Tue Oct 17, 2006 2:04 am    Post subject: Reply with quote  Mark this post and the followings unread

Normally like UnitTypes, Weapons are encoded to use an appropriate array like those under [VehicleTypes] However, weapons do not have that array instanciation (why is another story) and therefore adding any new "code" to that section by making a weapon overflows the original hardcoded array causing your crash.

To offer a remedy in TS merely edit existing weapons to do what you need. such as missle weapons on the Stealth tank and MLRS can be remade into 1 type to do what you need and the Stealths original weapon can be retailored in effect to do what the engine permits.

In English, add new weapons without changing the hardcoding causes crashes. Edit existing weapons (sans a few exceptions[mostly those will be found in RA2]) to help fix your problem.

Thank you come again!

Back to top
View user's profile Send private message
mes262
Civilian


Joined: 13 May 2005

PostPosted: Tue Oct 17, 2006 2:45 am    Post subject: Reply with quote  Mark this post and the followings unread

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 [3 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.1639s ][ Queries: 11 (0.0081s) ][ Debug on ]