Freaky DebugLog message

I got this message from the debug log:

Quote

warning: weapon 206 probably shouldn't draw ammo from weapon 366

What does that mean? 😕

------------------
Links:
(url="http://"http://forum.cjb.net:81/cgi-bin/forum.cgi?forum=unrealslair")Unreals Fourms(/url) (url="http://"http://www.unrealslair.cjb.net/")Unreals Lair(/url) (url="http://"mailto:unrealslair@unrealslair.cjb.net")mailto:unrealslair@unrealslair.cjb.net(/url)unrealslair@unrealslair.cjb.net

Quote

Originally posted by The Cheat:
**I got this message from the debug log:

Quote

warning: weapon 206 probably shouldn't draw ammo from weapon 366

What does that mean? 😕

**

Weapon 206 draws ammo from weapon 366 (ie, its ammotype field is set to (366-128), and the alog that Matt put in thinks that you propably didnt mean to make it do that. I dont know what the alog is though. If you intend this, good, if you didnt, than this is a propmt to check it out and see whats wrong.

Andcarne: The ammotype field is the Index# of the weapon whose ammo the weapon uses, not the outfit. Thus, there is no way it could "use a different weapon as it's ammo" - it could use the ammo of a different weapon as it's ammo, but this is not wrong at all, and is done in stock nova with no error message.
It is entirely possible it could mean you have it refering to using ammo of a weapon that doeesnt use ammo, or something of the like, which course would be bad.

-Az

------------------
It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)
Stuffit is a piece of .sit.

(This message has been edited by Azratax2 (edited 02-29-2004).)

(This message has been edited by Azratax2 (edited 02-29-2004).)

(This message has been edited by Azratax2 (edited 02-29-2004).)

You have a weapon trying to use a different weapon as its ammo. If this is something you have made yourself, I wouldn't worry about it.

If its in your nova data files, you might've screwed something up.

It says probably becuase its not actually an error, its just a warning, I wouldn't worry about it.

------------------

(This message has been edited by Andcarne (edited 02-29-2004).)

The problem is it wont give me the weapon because of that dang warning. I did 366-128 and put that in the AmmoType feild in Mission Computer. The ammo says
Type: ammunition
Weapon: 206

I dont see whats wrong.

------------------
Links:
(url="http://"http://forum.cjb.net:81/cgi-bin/forum.cgi?forum=unrealslair")Unreals Fourms(/url) (url="http://"http://www.unrealslair.cjb.net/")Unreals Lair(/url) (url="http://"mailto:unrealslair@unrealslair.cjb.net")mailto:unrealslair@unrealslair.cjb.net(/url)unrealslair@unrealslair.cjb.net

Quote

Originally posted by The Cheat:
**The problem is it wont give me the weapon because of that dang warning. I did 366-128 and put that in the AmmoType feild in Mission Computer. The ammo says
Type: ammunition
Weapon: 206

I dont see whats wrong.

**

0. What do you mean it wont give you the weapon? Is it possible it gives you the weapon but you cant fire it cause it uses ammo that you dont have?
1. 366-128 isnt 206. It's not even close.
2. I dont know about MC, but there may be something wrong here.
3. Open it in bare resedit. The Ammotype value should be RID-128 if you want it to use it's own ammo. Thus, its Ammotype field should be 78. (I say bare resedit cause I dont remember if novatools adds 128 to the field)

EDIT: Misunderstood you. You want the ammotype field to refer to the WEAPON ID -128, not the ammo's outfit id.

-Az

------------------
It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)
Stuffit is a piece of .sit.

(This message has been edited by Azratax2 (edited 02-29-2004).)

(This message has been edited by Azratax2 (edited 02-29-2004).)

I cant run Resedit. Im in OSX. But here are some shots:

The Weap (206)
Posted Image

The Ammo
Posted Image

The Launcher
Posted Image

------------------
Links:
(url="http://"http://forum.cjb.net:81/cgi-bin/forum.cgi?forum=unrealslair")Unreals Fourms(/url) (url="http://"http://www.unrealslair.cjb.net/")Unreals Lair(/url) (url="http://"mailto:unrealslair@unrealslair.cjb.net")mailto:unrealslair@unrealslair.cjb.net(/url)unrealslair@unrealslair.cjb.net

The problem is in the ammotype field.
Ammotype should be set to 78, or to 206, depending on how MC works.
see my edit above.
-Az

------------------
It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)
Stuffit is a piece of .sit.

(This message has been edited by Azratax2 (edited 02-29-2004).)

Thanks! It worked with the 78!

------------------
Links:
(url="http://"http://forum.cjb.net:81/cgi-bin/forum.cgi?forum=unrealslair")Unreals Fourms(/url) (url="http://"http://www.unrealslair.cjb.net/")Unreals Lair(/url) (url="http://"mailto:unrealslair@unrealslair.cjb.net")mailto:unrealslair@unrealslair.cjb.net(/url)unrealslair@unrealslair.cjb.net