Home   Help Search Login Register  

Author Topic: "No entry '.modelSpecial'."  (Read 658 times)

0 Members and 1 Guest are viewing this topic.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
"No entry '.modelSpecial'."
« on: 20 Jul 2005, 19:00:39 »
any idea what this error message means?

i have removed all weapons from the player, and have enabled a choice of secondary weapons through a dialogue. when only the secondary weapon is chosen, the above error appears.

ideas?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:"No entry '.modelSpecial'."
« Reply #1 on: 20 Jul 2005, 20:26:46 »
By secondary weapon you mean what OFP understands as secondary weapon (secondaryWeapon)?

If so, maybe yer giving a wrong kind of weapon as secondary weapon?
For example pistols are not secondary weapons...

EDIT:
ModelSpecial is a secondary model for a weapon, like when you load a mortar on a M16 it's the modelSpecial that appears in the units hand, and that model has the mortar modelled on the barrel... When you fire the mortar the modelSpecial is switched back to the regular model...
Afaik.. Feel free to correct me if I'm wrong.. ::)
« Last Edit: 20 Jul 2005, 20:29:51 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:"No entry '.modelSpecial'."
« Reply #2 on: 20 Jul 2005, 21:35:54 »
dunno what i did to correct the script, but it's no longer throwing the error at me. i think it was needing a check to see if certain strings were null...

anyways, it's almost done now - a cheat dialogue which enables the player to choose a loadout, spawn aircraft or other vehicles, even perform a jedi mind trick  8)

who says i have too much time on my hands.... :P