project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
23 Apr 2014, 00:00:00 (PRT)
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 05-24-2012, 03:09 AM   #1
Pvt.LHeureux
Project Normandy Contributor

Pvt.LHeureux's Avatar
Default [?] Where can I edit a weapon's shell ejection?

I need to edit the K98 casing ejection, because it currently ejects the shell right after firing, wich is wrong as it should be after bolting the bolt.

So where in the .tweak can I set the good time and when to eject it? I looked in the Enfield .tweak but I'm not sure what it is.

Thanks.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
Chuva_RD : You want to remove bugged thing but dont tell how to fill formed void.
Pvt.LHeureux is offline Reply With Quote
Old 05-24-2012, 03:24 AM   #2
[R-DEV]Rhino
PR:BF2 Developer
Supporting Member

[R-DEV]Rhino's Avatar
Default Re: [?] Where can I edit a weapon's shell ejection?

humm, not sure what dose this but it might be the line:
Code:
ObjectTemplate.setStartOnEffects 512
Other than that I guess the other way of is adding a "ObjectTemplate.emitDelay" line of code to the shell effect and then set the delay to the time it takes for the animation to run to the point the bolt is open but from the looks of the code, that's not how the Enfield works.

Can find the shell ejection effects in \objects\effects\weapons\shellejections\emitters\ and the lee enfield is the "e_shellejection_792bolt" effect.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]Rhino is offline Reply With Quote
Old 05-24-2012, 04:16 AM   #3
Pvt.LHeureux
Project Normandy Contributor

Pvt.LHeureux's Avatar
Default Re: [?] Where can I edit a weapon's shell ejection?

Alright I'll put the same 792bolt effect to the K98 and see how it turns out, thanks


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
Chuva_RD : You want to remove bugged thing but dont tell how to fill formed void.
Pvt.LHeureux is offline Reply With Quote
Old 05-24-2012, 06:03 AM   #4
Pvt.LHeureux
Project Normandy Contributor

Pvt.LHeureux's Avatar
Default Re: [?] Where can I edit a weapon's shell ejection?

^ Alright that worked

Thanks Rhino


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
Chuva_RD : You want to remove bugged thing but dont tell how to fill formed void.
Pvt.LHeureux is offline Reply With Quote
Old 05-24-2012, 11:29 PM   #5
Pvt.LHeureux
Project Normandy Contributor

Pvt.LHeureux's Avatar
Default Re: [?] Where can I edit a weapon's shell ejection?

Ok I got a new problem :

---------------------------
BF2 Error
---------------------------
Debug assertion failed!

Version: 1.5.3153-802.0 Build date:2009-8-20 17:8
Module: Base
File: C:\dice\Projects\BF2Branches\Patch_1_50\Code\BF2\G ame\Objects\Base\BundleTemplate.cpp
Line: 213

Text: k98 addBundleChilds() template not found:e_shellejection_762bolt

Current confile:

---------------------------
Annuler Recommencer Continuer

So basically when launching the PN mod to test things out, with the repo, I get this error. It looks like the mod can't find the effect. The thing is that I don't know in wich folder to put the effect . If you can't help me, AD will surely do once he connects tomorrow


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
Chuva_RD : You want to remove bugged thing but dont tell how to fill formed void.
Pvt.LHeureux is offline Reply With Quote
Old 05-25-2012, 03:09 AM   #6
[R-DEV]Rhino
PR:BF2 Developer
Supporting Member

[R-DEV]Rhino's Avatar
Default Re: [?] Where can I edit a weapon's shell ejection?

are you using the existing effect out of PR or have you edited the effect or made a new one?

If your using the existing effect out of PR there really shouldn't be a problem...


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]Rhino is offline Reply With Quote
Old 05-25-2012, 03:12 AM   #7
[R-DEV]AfterDune
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

[R-DEV]AfterDune's Avatar
Default Re: [?] Where can I edit a weapon's shell ejection?

You made a little typo there. There's only a e_shellejection_792bolt, not 762.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]AfterDune is offline Reply With Quote
Old 05-25-2012, 04:51 AM   #8
[R-DEV]Rhino
PR:BF2 Developer
Supporting Member

[R-DEV]Rhino's Avatar
Default Re: [?] Where can I edit a weapon's shell ejection?

lolz

almost as bad as my coding when I don't copy and paste


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]Rhino is offline Reply With Quote
Old 05-25-2012, 05:09 AM   #9
[R-DEV]AfterDune
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

[R-DEV]AfterDune's Avatar
Default Re: [?] Where can I edit a weapon's shell ejection?



To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]AfterDune is offline Reply With Quote
Old 05-25-2012, 08:02 AM   #10
Pvt.LHeureux
Project Normandy Contributor

Pvt.LHeureux's Avatar
Default Re: [?] Where can I edit a weapon's shell ejection?

Oh haha, ok repo should be fine once I correct that ^^


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
Chuva_RD : You want to remove bugged thing but dont tell how to fill formed void.
Pvt.LHeureux is offline Reply With Quote
Reply


Tags
edit, ejection, shell, weapon
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 03:28 PM.


Powered by: vBulletin. ©vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.1
All Content Copyright ©2004 - 2014, Project Reality.