project-navigation
Personal tools

Author Topic: Im working on a mod and I get this msg in console when game is starting/booting:  (Read 11719 times)

Offline NicSO

  • Rookie
  • ***
  • Posts: 83
    • View Profile
CL_ParseParticle: particle def "fireImpact" with same name found, reset first one

Com_ParseItem: MAX_OBJDEFS exceeded

Where did I made mistake? Btw. Im working on a saboted slug for grenade launcher!

// =======================
// GRENADE LAUNCHER
// =======================
item grenl_sabot_ammo
{
   name         "_25mm Saboted Grenades"
   model         "weapons/grenl_sabot_clip/grenl_sabot_clip"
   type         "ammo"
   animationindex   0
   shape         "0 0 1 1"
   center         "0 0 0"
   scale         0.7
   price         135
   size         6
   is_primary      true
   is_heavy      true
   dmgtype         "normal"
   weight         1.0

   weapon_mod
   {
      weapon grenl
      firedef
      {
         name                   "_Snap Shot"
         skill                   "close"
         projtl                    bullet
         impact            bulletImpact
         hitbody            null
         firesnd            "weapons/bullet-shotgun"
         impsnd            "impact/bullet-impact"
         bodysnd                  "impact/bullet-bodyimpact"
         speed            3000
         spread            "2.5 2.5"
         crouch            0.9
         range            10
         shots            8
         ammo            1
         delaybetweenshots   0
         time            12
         damage            "150 5"
         dmgweight         "normal_medium"
         reaction         true
      }
   }
}
« Last Edit: February 16, 2014, 11:40:14 pm by NicSO »

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
How many items have you already added? There's a hard limit for the number of objects in the game, you might have exceeded it with this one (bug #5165)

Offline NicSO

  • Rookie
  • ***
  • Posts: 83
    • View Profile
Yea....with this...8...thats the reason...so this is some kind of a bug? I hope it will be solved soon.

Thnx.

Until then I will use my time for translation.

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
2.5 or 2.6 ?

Offline NicSO

  • Rookie
  • ***
  • Posts: 83
    • View Profile
2.5

Offline ShipIt

  • Project Artist
  • Captain
  • ***
  • Posts: 906
    • View Profile
Could also happen in case you made a backup of the original file without changing the extension. The game parses all .ufo files it can find.

Also, in case you took the e.g. weapons.ufo and use a copy of this file as /mods/mymod/myweapons.ufo this will also essentially end up in the game parsing the same file twice.

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
NicSO, as I wrote in the above mentioned bug report, I am willing to carefully raise that limit, but not for 2.5.
Do you use git ?

Offline NicSO

  • Rookie
  • ***
  • Posts: 83
    • View Profile
Shiplt thnx for additional info.

Duke, yes, I have git account - I made it for translating purposes for now.

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Uhm...I meant: do you pull from the git repo and compile your own exe ?
Or just using the nightlies ?

Offline AntJam

  • Rookie
  • ***
  • Posts: 91
    • View Profile
Ah the dreaded 7 items or less. I'll still be available to help test as well now I've sorted out my compile problems

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Increased the limit by two in master.
Happy testing ;)

Offline NicSO

  • Rookie
  • ***
  • Posts: 83
    • View Profile
Increased the limit by two in master.
Happy testing ;)

:)

I have new problem:

ERROR: model models/weapons/grenl/grenl_sabot_clip.md2 broken offset values (1656, 1632)

btw. AntJam thnx for help!!!

« Last Edit: February 17, 2014, 07:39:03 pm by NicSO »

Offline NicSO

  • Rookie
  • ***
  • Posts: 83
    • View Profile
Uhm...I meant: do you pull from the git repo and compile your own exe ?
Or just using the nightlies ?

Just using nightlies!

Offline NicSO

  • Rookie
  • ***
  • Posts: 83
    • View Profile
Offset problem solved, now I have new problem. I modified grenl_flachette_clip.md2 file but when I try to equip soldiers and when I click on heavy weapons....CTD occurs :(

I renamed file to grenl_sabot_clip, modified it in blender as AntJam suggested.
« Last Edit: February 17, 2014, 08:07:33 pm by NicSO »

Offline NicSO

  • Rookie
  • ***
  • Posts: 83
    • View Profile
...