ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Superweapon that only gives money"

From ModEnc
Jump to: navigation, search
(Stolen from Thread: http://forums.renegadeprojects.com/showthread.php?tid=1765)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
In RP/NP, we could with {{Tt|1=Type=Money}} and {{Tt|1=AutoFire=yes}} make a super weapon that automatically give us money.
 
In RP/NP, we could with {{Tt|1=Type=Money}} and {{Tt|1=AutoFire=yes}} make a super weapon that automatically give us money.
In [[Portal:Ares|Ares]] there is no {{Tt|1=Type=Money}}, but we have other tags. I am trying to create this effect in Ares. Here is the codes I used:
+
In [[Portal:Ares|Ares]] there is no {{Tt|1=Type=Money}}, but we have other tags. Here is how this is done in Ares
 
  [MoneySpecial]
 
  [MoneySpecial]
 
  UIName=NOSTR:Give Money
 
  UIName=NOSTR:Give Money
 
  Name=Donate
 
  Name=Donate
 
  IsPowered=true
 
  IsPowered=true
  RechargeTime=.1
+
  RechargeTime=.1 ;How often to give you money?
 
  SidebarImage=
 
  SidebarImage=
  Type=SonarPulse;We must use some type, or it wont work
+
  Type=SonarPulse;With this type can we create a dummy superweapon. Note that it wont work if type is not vaild!
 
  Action=None
 
  Action=None
 
  ShowTimer=no
 
  ShowTimer=no
 
  DisableableFromShell=no
 
  DisableableFromShell=no
 
   
 
   
  ;With these 3 values on these 3 tags, we have a dummy super weapon
+
  ;With these tags, we have a dummy superweapon which do nothing expect give money.
 
  SW.Range=-1
 
  SW.Range=-1
 
  SW.AffectsHouse=none
 
  SW.AffectsHouse=none
 
  SonarPulse.Delay=0
 
  SonarPulse.Delay=0
 +
SW.AITargeting=NoTarget
 
   
 
   
  Money.Amount=10000
+
  Money.Amount=100 ;This is how much money you will get, change this value to whatever you want.
  SW.AutoFire=yes
+
  SW.AutoFire=yes ;Do we need to click on the cameo or not to get the money? This tag is optimal
 +
SW.ShowCameo=no ;Another optimal tag, this will hide the cameo. Dont use this tag if you have SW.AutoFire= set to "no".
 
   
 
   
SW.AITargeting=NoTarget
+
 
  
 
{{Tt|1=Type=SonarPulse}} uses {{Tt|1=SW.AITargeting=Stealth}} as default, which might be undesirable in this case, because you only get money if one of the affected houses (which is set to none) has cloaked units. That's why we use {{Tt|1=SW.AITargeting=NoTarget}}.
 
{{Tt|1=Type=SonarPulse}} uses {{Tt|1=SW.AITargeting=Stealth}} as default, which might be undesirable in this case, because you only get money if one of the affected houses (which is set to none) has cloaked units. That's why we use {{Tt|1=SW.AITargeting=NoTarget}}.
 
[[Category:Ares Tutorials]]
 
[[Category:Ares Tutorials]]

Latest revision as of 17:25, 2 February 2011

In RP/NP, we could with Type=Money and AutoFire=yes make a super weapon that automatically give us money. In Ares there is no Type=Money, but we have other tags. Here is how this is done in Ares

[MoneySpecial]
UIName=NOSTR:Give Money
Name=Donate
IsPowered=true
RechargeTime=.1 ;How often to give you money?
SidebarImage=
Type=SonarPulse;With this type can we create a dummy superweapon. Note that it wont work if type is not vaild!
Action=None
ShowTimer=no
DisableableFromShell=no

;With these tags, we have a dummy superweapon which do nothing expect give money.
SW.Range=-1
SW.AffectsHouse=none
SonarPulse.Delay=0
SW.AITargeting=NoTarget

Money.Amount=100 ;This is how much money you will get, change this value to whatever you want.
SW.AutoFire=yes ;Do we need to click on the cameo or not to get the money? This tag is optimal
SW.ShowCameo=no ;Another optimal tag, this will hide the cameo. Dont use this tag if you have SW.AutoFire= set to "no".


Type=SonarPulse uses SW.AITargeting=Stealth as default, which might be undesirable in this case, because you only get money if one of the affected houses (which is set to none) has cloaked units. That's why we use SW.AITargeting=NoTarget.