Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Fulqrum PublishingGames > 7,62

7,62 Tactical action game, sequel to Brigade E5

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 07-09-2010, 07:05 AM
R@S R@S is offline
Approved Member
 
Join Date: Apr 2009
Posts: 560
Default

The easiest way to remove a weapon from the game without having to alter the ini files AND the enemy inventory files that might carry this weapon would be to remove them from the ShopINI files. that would remove the possibility for the player to buy them, but still be able to find them on fallen enemies.

Just do a "search in files" in the ShopINI folder and you'll get a list of the files/shops that sells the weapon and deleter the entry. If you wanna remove it from the enemy inventories as well, do a similar search in the InventoryINUI folder, but I recommend that you use the editor to remove the weapons. If you do it by editing the files manually there might be an issue later since the possible attachments might not be directly below in those files.

If you have the 3d models of a gun, both folded and unfolded, you have to creat 2 versions of the weapon in all the files I showed above. With the HK416 I am missing the folded 3d model for it, if I had it I would simply add a pointer in the WEAPONINFO file that said which new weapon the folding of a stock would use.

ITEM "HK416"
Class Rifle
Caliber "5.56x45 mm"
Weight 3392
PrepareTime 0.32
SingleFireTime 0.58
BurstFireTime 0.07
SpeedModifier 1.01
Resource 2000
DirtResource 220000
MisfireProb 0.004
HeatCapacity 50
Single 1
Burst 1
CutOff 3
BurstHitStart 1
MaxRange 300
EffectiveRange 148
RangeCurvature 5.1
Balance 0.51
Unfold "HK416 folded"
ClipInSound "Reload\clip_in.wav"
ClipOutSound "Reload\clip_out.wav"
ReLockSound "Reload\strifle_slide.wav"
ShootSound "Weapon\shoot\HK416.WAV"
ATT Laser 1 "Rifle Laser"
ATT Light 1 "Rifle Light"
ATT Scope 1 "WR"
ATT Bipod 1 "SniperBipod" blocks ILauncher
ATT Silencer 1 "Supressor - 5,56"
ATT ILauncher 1 "M203PI" blocks Bipod
ATT Bayonet 0
ATT Magazine 3 "NATO 5.56""5.56 Double""M16 mag"
StdPlug "C-MAG (M16/100)"
ACTOR "items\hk416.act"
IMAGE "hk416_14.e5b"
HANDS ahtRifle

Then I would create the entires in the ini files for the new "HK416 folded". This means every time I fold the stock in the game, it changes the weapon to use the "HK416 folded" settings instead.

When it comes to how many squares the weapon uses in the inventories, that can be changed too. In the lower part of the WEAPONINFO file, in this example the IMAGE "hk416_14.e5b", you change that to say "2x4.e5b" or "2x5.e5b" depending on how big you want the weapon to be. If you want the M4 to use less space, change their IMAGE entires in the WEAPONINFO file to say "2x4.e5b" for the unfolded version and "2x3.e5b" for the folded one. Yes, it's that simple

Last edited by R@S; 07-09-2010 at 07:46 AM.
Reply With Quote
 


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

Forum Jump


All times are GMT. The time now is 12:05 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.