Page 1 of 1

Problem with custom weapon

Posted: Tue Feb 08, 2011 11:59 am
by MaestraFénix
*Blah Blah, doesn´t matter now*

I just have the exact values to make a custom RPG as a weapon script.

According to Obsidian Conflict Wiki and the README in customweapons folder:
All names should start with custom_ for them to be loaded correctly. If you dont, the weapon will use its default properties.
Also, all custom weapon scripts should be placed in this folder.
In game:
Attempted to create unknown entity type ****! (<-the name of the model)
If you use "custom_***" name but you don´t put anything about "Advanced options":
custom_m202 has no Advanced Weapon Values.
But at least the v_model and w_model works (but not fire the weapon, or not have any effect)

I want use the default options because i don´t know if there are values for melee or proyectile weapons in the "Advanced Options".



There must be a solution. I can´t fail when i´m near to get it :(

(note, the weapons are a "rpg" and a "crowbar").

Re: A stupid little question (Custom weapons or Hammer issue

Posted: Tue Feb 08, 2011 7:16 pm
by MaestraFénix
Nevermind. I found the correct values :3


EDIT:

Look the main post again. The problem that i have is biggest than the older.

Re: Problem with custom weapon

Posted: Tue Feb 08, 2011 9:55 pm
by fug4life
Try changing the way you name it, and make sure you restart the mod when testing newly added scripts.

Re: Problem with custom weapon

Posted: Wed Feb 09, 2011 10:45 am
by MaestraFénix
Same. Changed at least 10 times the name and continue giving the same error, in both cases (custom_ and weapon_)

Error reading weapon data file for: weapon_scripted
custom_gpr has no Advanced Weapon Values.

Code of the custom "rpg":
► Show Spoiler
Also, is curious, because when is custom_***, it does damage (probably bullet type, because doesn´t affect to the Gargantuas), but there´s not rocket.


Is so simple, i don´t want use the advanced options. There is a value to deactivate their use?

Re: Problem with custom weapon

Posted: Fri Feb 11, 2011 5:23 pm
by MaestraFénix
I have to considerate this silence that is not possible (yet) custom melee and rpg weapons?


P.D: Damm, the w_model of the grenade is not the grenade that you launch, is item_grenade (so still throwing the normal grenade).