weapon problem

weapon problem

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Erik
Posts: 283
Joined: 20 Aug 2009, 20:49

weapon problem

Post by Erik »

i have a problem with non modeled weapon gfx not showing up anymore, same goes to the tracks of my units.
heres an example (the others all use 'cannon' so its not that bad that
the projectiles cant be seen)

Code: Select all

    N2_Sprayer = {
      name                    = [[N2_Sprayer]],
	  texture1                = dirt,
      areaOfEffect            = 8,
     -- burst                   = 0,
     -- burstrate               = 0,
      colormap                = [[0.88 0.88 1 1   0.66 0.66 1 1    0.44 0.44 1 0.5    0 0 1 0]],
	  explosiongenerator      = [[custom:Dirt1]], --<<<ändern

      damage                  = {
        default = 0,
        Terrordrone=0,
	    Infantry=9,
		--Harassment=45,
		--ANTI_INF=35,
		--ANTI_AIR=40,
		LIGHT_TANK=0,
		Medium_TANK=0,
		Heavy_TANK=0,
        Support=0,
      },

      endsmoke                = [[0]],
      impactOnly              = true,
      intensity               = 0.9,
      lineOfSight             = false, --true,
     -- noGap                   = false,
      range                   = 300,
      reloadtime              = 0.08,
      rgbColor                = [[0.55 0.55 1]],
      size                    = 6.55,
      --soundStart              = [[flashemg]],
      sprayAngle              = 60,
      startsmoke              = [[0]],
      tolerance               = 5000,
      turret                  = true,
      weaponType              = [[Flame]],
      weaponVelocity          = 900,
	  burnblow=1,
	  avoidfriendly=1,
	 -- avoidfeature=0,
	  collidefriendly=1,
	  --soundHit = "Impact1",
      --soundStart = "Cannon1",
      --soundTrigger = true,
    },

Post Reply

Return to “Game Development”