[en] - Modding Corner > Coding

Coding Siege Walls

(1/1)

sgtryan88:
Hello,

Im trying to modify the FornostWall1 like gondor walls to use siege towers or ladders, but when I try to use the siege tower or ladders they move to another place  and nothing happens.

Other problem, I got trolls walking normally trough the walls, but hordes don't do it, they think I'm sending to a ground place.

This is my "map.ini"

;Fornost Wall 1
 Object ForBWall1
 
 RadarPriority   = STRUCTURE
   KindOf         = STRUCTURE IMMOBILE WALK_ON_TOP_OF_WALL CHUNK_VENDOR NOT_AUTOACQUIRABLE SELECTABLE IGNORE_FOR_VICTORY NEVER_CULL_FOR_MP DONT_HIDE_IF_FOGGED
   
   ReplaceModule ModuleTag_05
    Body = ActiveBody ModuleTag_Forbwall1
        CheerRadius      = EMOTION_CHEER_RADIUS
        MaxHealth = 6000
        MaxHealthDamaged = 2000
        MaxHealthReallyDamaged  = 800.0
      GrabObject = EntThrownBuildingRock
      GrabFX = FX_WallGrab
      GrabDamage = 490
      GrabOffset = X:16 Y:0
    End
   End
   
   AddModule
   Behavior = SiegeDockingBehavior ModuleTag_SiegeDocking
   End
   End
   
  Geometry              = BOX
  GeometryMajorRadius   = 40.0
  GeometryMinorRadius   = 114.4
  GeometryHeight        = 54.0
  GeometryIsSmall       = No
  GeometryOffset      = X:-24 Y:0 Z:0
  GeometryRotationAnchorOf fset = X:1076.832 Y:0.0
  GeometryContactPoint   = X: 30 Y: 40 Z:0 Grab
  GeometryContactPoint   = X:-65 Y: 40 Z:0 Grab
  GeometryContactPoint   = X: 30 Y:-40 Z:0 Grab
  GeometryContactPoint   = X:-65 Y:-40 Z:0 Grab
  GeometryContactPoint   = X: 10 Y:  0 Z:60
 
  Shadow                = SHADOW_VOLUME
   End

FG15:
Geometries can't be changed by map.ini. It is only possible to add additional geometry.

sgtryan88:
How can I change it?

I don't know if there is a geometry problem, because in WorldBuilder bounding boxes are fine.


Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln