Posted: Tue Oct 17, 2006 1:56 am Post subject:
Adding new weapons
Subject description: :S
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? QUICK_EDIT
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.
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