Omar
  • Omar
  • 64.25% (Friendly)
  • Private Topic Starter
14 years ago
how do you add propaganda effects to a unit?

for peace we fight(and unfortunetly die).
Sponsor
BR-Alexandre
14 years ago
Try find the ini used by the infantry troop crawler, they have propaganda effects, rigth?
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
glumurr
14 years ago
I think this is the code for the propaganda effects.
just copy it and place it with the module tags for the unit.

  Behavior        = PropagandaTowerBehavior ModuleTag_1000
    Radius                = 100
    DelayBetweenUpdates   = 4000 ; in milliseconds
    HealPercentEachSecond = 2%   ; get this % of max health every second 
    PulseFX               = FX_PropagandaTowerPropagandaPulse ;plays as often as DelayBetweenUpdates
    UpgradeRequired       = Upgrade_ChinaSubliminalMessaging
    UpgradedHealPercentEachSecond = 4%   ; get this % of max health every second 
    UpgradedPulseFX       = FX_PropagandaTowerSubliminalPulse ;plays as often as DelayBetweenUpdates
  End


hmm...
if I don't reply to a topic I don't know the answer - sorry
Omar
  • Omar
  • 64.25% (Friendly)
  • Private Topic Starter
14 years ago
i have already tried it but when i make the battleship the game crashes.
heres how it looks like:

Locomotor = SET_NORMAL BattleshipLocomotor
Behavior = PhysicsBehavior ModuleTag_04
Mass = 5000.0
End


Behavior = PropagandaTowerBehavior ModuleTag_05
Radius = 300.0
DelayBetweenUpdates = 2000 ; in milliseconds
HealPercentEachSecond = 10% ; get this % of max health every second
PulseFX = FX_PropagandaTowerPropagandaPulse ;plays as often as DelayBetweenUpdates
End
Geometry = BOX
GeometryMajorRadius = 200.0
GeometryMinorRadius = 20.0
GeometryHeight = 40
GeometryIsSmall = No
Shadow = SHADOW_VOLUME

End


for peace we fight(and unfortunetly die).
glumurr
14 years ago
try running the world builder,
it oftens shows what the problem is.

did it crash before you placed the propaganda effects?


I can see that your propaganda code is a bit diffrient that the cod that I posterd.
try to place my code and see what happends..
I hope that would work but I do not know.


*Edid*

I placed my code on a avenger and it worked very well...
there must be something in your code that you erased from it...
hmm...
if I don't reply to a topic I don't know the answer - sorry
Omar
  • Omar
  • 64.25% (Friendly)
  • Private Topic Starter
14 years ago
i tried yours and it half works.
it only heals other battleships.
any other type of unit won't get healed.


ok.
so after testing i found out that it worked from the beggining but propaganda doesnt work on boats.

so heres the suloution:add propaganda to all boats.
tell you how it goes after testing.

for peace we fight(and unfortunetly die).
glumurr
14 years ago
okay
hmm...
if I don't reply to a topic I don't know the answer - sorry
Omar
  • Omar
  • 64.25% (Friendly)
  • Private Topic Starter
14 years ago
propaganda still doesnt work on boats!!!!!!!!!!!!!!!!

what makes boats bloody propaganda proof!!!!!!!!
neeeeeeeeeeeeed heeeeeelllllllllpppppppppp!!!!!!!!!!!!!!!!!!!!!!!!!!


for peace we fight(and unfortunetly die).
glumurr
14 years ago
I don't know :/
I have noticed on the troop crawlers that have the propaganda that they can not healtehm selfs.
so hmm..
teh overlords can heal them self so maybe the answer is there.
I'l go and check


I can not help this time.
I am sorry :/

maybe someone else can help.
hmm...
if I don't reply to a topic I don't know the answer - sorry
CommieDog
14 years ago
Try seeing if a Speaker Tower affects the boats.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
BR-Alexandre
14 years ago
or, if you can, check if overlord/emperor tower affect them also, so then just put the tower in the boats with the emperor codes (sorry, can't help with those as never tried work with .ini files)
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
Omar
  • Omar
  • 64.25% (Friendly)
  • Private Topic Starter
14 years ago
i have found a better way to heal my boats other than propaganda.
search for any american building then search for base regenrate update.
i know what your thinking,it is too slow but...
if you add more than one base regenerate update with different module numbers it will work just like propaganda.
heres how it looks like:


Behavior = BaseRegenerateUpdate ModuleTag_16
; none
End
Behavior = BaseRegenerateUpdate ModuleTag_17
; none
End
Behavior = BaseRegenerateUpdate ModuleTag_18
; none
End
Behavior = BaseRegenerateUpdate ModuleTag_19
; none
End
Behavior = BaseRegenerateUpdate ModuleTag_20
; none
End

by the way,thank you all for the help.
i appreciate it.



for peace we fight(and unfortunetly die).
Annihilationzh
14 years ago
^That's not good for game lag. Every module will make the game run slower. That won't be notable in a normal game, but if you build a lot of them, it'll lag.

You can use 'AutoHealBehavior' (check the GLA vehicles for an example, as they have junk repair) to make something heal at whichever rate you wish.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.