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 May 09, 2025 8:11 am
All times are UTC + 0
Another simple thing
Moderators: Global 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
PhatBoyGeo
GDI Hacker


Joined: 06 Apr 2009
Location: Sarajevo, Y-1 (England, Hampshire)

PostPosted: Thu Apr 09, 2009 11:36 am    Post subject:  Another simple thing
Subject description: i hope.....
Reply with quote  Mark this post and the followings unread

How would i change, say the stealth tank's rockets so there were 10 of them fired bit still did the same damage as when it fired 4, or 6 or whatever??

_________________


A Mod........by ME XD

As said by Javier:
Quote:
Nice Ra3 voxels. Smile

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


Joined: 07 Dec 2007
Location: Belgium, Haasdonk

PostPosted: Thu Apr 09, 2009 1:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

In GlobalData, open the Weapon.xml file and search for NODStealthTankRocket.

Then change the clip size to whatever you want. (in this case 10)

Back to top
View user's profile Send private message Skype Account
PhatBoyGeo
GDI Hacker


Joined: 06 Apr 2009
Location: Sarajevo, Y-1 (England, Hampshire)

PostPosted: Thu Apr 09, 2009 1:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

okay, what i want to do is have rockets flying everywhere but doing the same amount of damage,oh BTW, where are the damage controls and hitpoints??

Thanks

_________________


A Mod........by ME XD

As said by Javier:
Quote:
Nice Ra3 voxels. Smile

Back to top
View user's profile Send private message
PhatBoyGeo
GDI Hacker


Joined: 06 Apr 2009
Location: Sarajevo, Y-1 (England, Hampshire)

PostPosted: Thu Apr 09, 2009 1:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

nevermind, found it! where are the hitpoints of things though

_________________


A Mod........by ME XD

As said by Javier:
Quote:
Nice Ra3 voxels. Smile

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


Joined: 07 Dec 2007
Location: Belgium, Haasdonk

PostPosted: Thu Apr 09, 2009 1:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

The amount of damage a weapon does can be changed in the, you guessed it, Weapon.xml
The amount of HP in the unit's .xml file.

You need to think logically. Wink

Oh, you found it. #Tongue

Back to top
View user's profile Send private message Skype Account
PhatBoyGeo
GDI Hacker


Joined: 06 Apr 2009
Location: Sarajevo, Y-1 (England, Hampshire)

PostPosted: Thu Apr 09, 2009 1:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

i did this for the GDI missile soldier


Code:
<WeaponTemplate id="GDIMissileSoldierMissileLauncher" Name="GDIMissileSoldierMissileLauncher" AttackRange="350.0" WeaponSpeed="200" MinWeaponSpeed="300" MaxWeaponSpeed="310" FireFX="FX_GDIMissileManFire" FireVeteranFX="FX_GDIMissileManFireHeroic" FireSound="GDI_MissileSoldier_MissileFire" AcceptableAimDelta="20d" PreAttackType="PER_SHOT" ReAcquireDetailType="PRE_FIRE" ClipSize="4"
and it did nothing, and yes i added it to mod.xml

I did the same to a pit bull, and it did nothing, there gotta be something else?? Anyone??

_________________


A Mod........by ME XD

As said by Javier:
Quote:
Nice Ra3 voxels. Smile

Back to top
View user's profile Send private message
Golan
Flamethrower


Joined: 21 Nov 2007

PostPosted: Thu Apr 09, 2009 6:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Your code seems incomplete, if you're pasting code from the xmls here, you must selectDisable HTML in this post at the bottom of the post window, otherwise there's a high chance that some code is lost. (even when using the code tags).

Anyways, it seems you have only changed the ClipSize - this might simply be too small to properly notice ingame. Try something big, for example setting AttackRange or WeaponSpeed to 99999 (note that MinWeaponSpeed and MaxWeaponSpeed don't have any effect).
Most projectile weapons don't directly deal damage but use a warhead, a separate weapon. If you want to change the damage, you must change the warhead damage (in this case, it's GDIMissileSoldierMissileWarhead). Try setting it very high too.

_________________
Off Duty.

Back to top
View user's profile Send private message
PhatBoyGeo
GDI Hacker


Joined: 06 Apr 2009
Location: Sarajevo, Y-1 (England, Hampshire)

PostPosted: Thu Apr 09, 2009 6:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

I know, i only selected that much code, but all i want is more missiles though. okay i will set the damage to 10000 or something and fire it at my own barracks:P see if that works

_________________


A Mod........by ME XD

As said by Javier:
Quote:
Nice Ra3 voxels. Smile

Back to top
View user's profile Send private message
PhatBoyGeo
GDI Hacker


Joined: 06 Apr 2009
Location: Sarajevo, Y-1 (England, Hampshire)

PostPosted: Thu Apr 09, 2009 6:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Code:

<WeaponTemplate
      id="GDIMissileSoldierMissileLauncher"
      Name="GDIMissileSoldierMissileLauncher"
      AttackRange="350.0"
      WeaponSpeed="200"
      MinWeaponSpeed="300"
      MaxWeaponSpeed="310"
      FireFX="FX_GDIMissileManFire"
      FireVeteranFX="FX_GDIMissileManFireHeroic"
      FireSound="GDI_MissileSoldier_MissileFire"
      AcceptableAimDelta="20d"
      PreAttackType="PER_SHOT"
      AutoReloadsClip="AUTO"
      ReAcquireDetailType="PRE_FIRE"
      ClipSize="4"
      AntiMask="ANTI_GROUND ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY"
      CanFireWhileMoving="false"
       >
      <PreAttackDelay
        MinSeconds=".2s"
        MaxSeconds=".2s" />
      <FiringDuration
            MinSeconds="2.8s"
            MaxSeconds="3.0s" />
      <ClipReloadTime
            MinSeconds="0.4s"
            MaxSeconds="0.6s"
      />

that is the MissileLauncher and this is the Warhead
Code:
<WeaponTemplate
      id="GDIMissileSoldierMissileWarhead"
      Name="GDIMissileSoldierMissileWarhead"
      ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
      RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
      AntiMask="ANTI_GROUND ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY">
      <Nuggets>
         <DamageNugget
            Damage="10000.0"
            Radius="5.0"
            DamageTaperOff="0"
            DamageType="ROCKET"
            DamageFXType="GDI_MISSILE"
            DeathType="EXPLODED">
            <DamageScalarDetails Scalar= "75%">
               <Filter
                  Rule="NONE"
                  Include="AIRCRAFT" />
            </DamageScalarDetails>
            </DamageNugget>
      </Nuggets>
   </WeaponTemplate>

and this is my mod.xml
Code:

<?xml version="1.0" encoding="UTF-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <Tags></Tags>

   <Includes>

                <Include type="reference" source="DATA:static.xml" />
                <Include type="reference" source="DATA:global.xml" />
                <Include type="all" source="GlobalData\LogicCommandSet.xml" />
      <Include type="all" source="GlobalData\Weapon.xml" />
      <Include type="all" source="Neutral\Crates\UnitGDIJuggernaughtCrate.xml" />
      <Include type="all" source="Neutral\Crates\UnitAlienAnnihilatorTripodCrate.xml" />
      <Include type="all" source="Neutral\Crates\UnitNODAvatarCrate.xml" />
      <Include type="all" source="Neutral\Units\GenericCrateSpawner.xml" />
         
   </Includes>

</AssetDeclaration>



all i want to do is make the men and tanks fire more missiles but do the same damage. your idea of changing the attack thing didnt work.

_________________


A Mod........by ME XD

As said by Javier:
Quote:
Nice Ra3 voxels. Smile

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
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can 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.1868s ][ Queries: 11 (0.0095s) ][ Debug on ]