project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
PR Time:
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 11-27-2007, 03:02 PM   #11
[R-DEV]Pride
PR Artwork Team

[R-DEV]Pride's Avatar
Default

It looks like it has something to do with the index number of the weapon (the number you press to bring up that weapon (3 for assault rifle))

Looks like you haven't given it a number between 1 and 9.


Well thats all i can say with my very limited knowledge of BF2 coding


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

eddie: the MoD aren't just going to start blurring their faces so they look 'well ard' are they?
[R-DEV]Pride is offline Reply With Quote
Old 11-27-2007, 03:16 PM   #12
Z-trooper
Retired PR Developer

Z-trooper's Avatar
Default

Quote:
Originally Posted by Pride View Post
It looks like it has something to do with the index number of the weapon (the number you press to bring up that weapon (3 for assault rifle))

Looks like you haven't given it a number between 1 and 9.


Well thats all i can say with my very limited knowledge of BF2 coding
oh, alright. I havent exactly tried messing around with that, but I'll try to find it if I can. Thanks for the help

EDIT: it seems to have the same index number as every other grenade I could find

EDIT: well in the .con files it has the same values, but when I looked in the editor there were some Fudged up values projectile speed = 600 where the normal grenade is 25 a bit overpowered I think I'll have a go at some of the stuff. no idea why the values are like that. I used the tweak file from a grenade that was already ingame :P

"Without geometry, life is pointless"
Z-trooper is offline
Last edited by Z-trooper; 11-27-2007 at 03:28 PM..
Reply With Quote
Old 11-27-2007, 03:20 PM   #13
[R-DEV]Pride
PR Artwork Team

[R-DEV]Pride's Avatar
Default

No problem, Its only a guess btw

To change the index number find this in the .tweak file:

(Using an example from the brit grenade)

ObjectTemplate.animationSystem1P Objects/Weapons/Handheld/ushgr_m67/AnimationSystem1p.inc
ObjectTemplate.animationSystem3P Objects/Weapons/Handheld/ushgr_m67/AnimationSystem3p.inc
ObjectTemplate.projectileTemplate gbhgr_l109_Projectile
ObjectTemplate.keepProjectiles 30
ObjectTemplate.velocity 23
ObjectTemplate.itemIndex 4

ObjectTemplate.delayToUse 0.35

I think that should do it


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

eddie: the MoD aren't just going to start blurring their faces so they look 'well ard' are they?
[R-DEV]Pride is offline Reply With Quote
Old 11-27-2007, 03:35 PM   #14
Z-trooper
Retired PR Developer

Z-trooper's Avatar
Default

yea, did that

ran into a small problem I think. when I was comparing some grenades in the editor with the one I'm making it looks like mine is missing some "components". I have a bit experince with the file structure of the objects folders and stuff like that, but this is kind of new to me. Any idea how to find these components so I can just copy paste them? or is it not as simple as that?

"Without geometry, life is pointless"
Z-trooper is offline Reply With Quote
Old 11-27-2007, 03:44 PM   #15
[R-DEV]Pride
PR Artwork Team

[R-DEV]Pride's Avatar
Default

I'm afraid I have no idea, my only experience is tweaking things in notepad, do not know about the mysterious ways of the bf2 editor


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

eddie: the MoD aren't just going to start blurring their faces so they look 'well ard' are they?
[R-DEV]Pride is offline Reply With Quote
Old 11-27-2007, 03:50 PM   #16
Z-trooper
Retired PR Developer

Z-trooper's Avatar
Default

Quote:
Originally Posted by Pride View Post
I'm afraid I have no idea, my only experience is tweaking things in notepad, do not know about the mysterious ways of the bf2 editor
hehe, thats alright. thanks for helping anyway

It actually said "-1" in ItemIndex, and then I changed it to "4", but when I tried to load up the map again, it gave me the same error. Seems asif its still -1. I'll have to look deeper into this, cause its beginning to make little sence now

But I think I've gotten far for one day. when I woke up today I still had no idea how to export the models from 3Ds max, and now I'm on my way to getting a weapon ingame.

when I'm done with this I'll try something a bit more complex, a firearm - whit more than one object. So I might aswell keep this thread open for further questions

"Without geometry, life is pointless"
Z-trooper is offline Reply With Quote
Reply


Tags
3ds, error, export, max
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:55 PM.


Powered by: vBulletin. ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2012, Project Reality.