Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline AdrianeMapMaker  
#1 Posted : Sunday, October 15, 2017 3:16:32 AM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

Thanks: 312 times
Was thanked: 185 time(s) in 149 post(s)
How to add a unit with a 2d texture underneath of him?

Like In the china's infantry - triggered by nationalism?
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





Sponsor
Offline acidbrain  
#2 Posted : Sunday, October 15, 2017 5:10:59 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
Code:

; --- Object code ---
HordeUpdate
;module is hardcoded to apply the following textures to objects that are affected by this module: EXHorde, EXHorde_UP, EXHordeB, EXHordeB_UP
  UpdateRate = integer, milliseconds
  RubOffRadius = integer
  AlliesOnly = Yes/No
  ExactMatch = Yes/No
  Action = WeaponBonus name
  FlagSubObjectNames = sub object name
  Radius = integer
  KindOf = KindOfs
  Count = integer
  AllowedNationalism = Yes/No
End

; ----------------------------
; --- GameData.ini ---
;HORDE and NATIONALISM are cumulative bonuses for the China Redguard,
  ;and only apply when they are in a horde. NATIONALISM does not replace HORDE!

  ;ENTHUSIASTIC and SUBLIMINAL are cumulative bonuses for the China Redguard,
  ;and only apply when they are in a horde. SUBLIMINAL does not replace ENTHUSIASTIC!

  WeaponBonus =       HORDE  RATE_OF_FIRE  150%  ;Horded troops fire their weapons 25% faster
  WeaponBonus = NATIONALISM  RATE_OF_FIRE  125%  ;Horded troops with nationalism fire their weapon an additional 25% faster
  WeaponBonus = ENTHUSIASTIC RATE_OF_FIRE  125%  ;In range of a speaker tower, gaining enthusiasm
  WeaponBonus = SUBLIMINAL   RATE_OF_FIRE  125%  ;In range of an upgraded speaker tower, gaining even more enthusiasm


Take a close look at this line:
Code:

module is hardcoded to apply the following textures to objects that are affected by this module: EXHorde, EXHorde_UP, EXHordeB, EXHordeB_UP


So if you want a texture underneath an infantry model use the HordeUpdate module...

Upgrade Nationalism: +25% to Horde bonus for Red Guard, Tank Hunter and Battlemaster

Cheers
Panem et kirkinses
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.