Seeing there seems to be a need for it, here is a basic, barebones weapon package.
(Dont laugh at the model, i didnt aim for good looks)
README
Barebones Weapon Example
By AndyCR
License:
By using the files contained in this archive, you agree to these license terms. If you do not agree to these terms, delete the archive and all copies of it to be released from the terms of this license. You agree not to take any legal action due to this archive or any files contained within, nor any instructions contained within this Readme.rtf file or corresponding forum post(s). You agree there is no warantee whatsoever in regard to this archive and the files within, and that you take full responsibility for any harm, damages, fees, etc. stemming from the use of this example.
Instructions:
To use this weapon example, extract the 'media' folder to your 'RealityFactory' folder (default 'C:\RealityFactory'). Add this to the top of your 'install\weapon.ini' file (or wherever there is free space that is not in the middle of another definition):
[WeaponBullet]
type = projectile
actor = Weapons/Projectile.act
rotation = 0 0 0
scale = 0.1
gravity = false
bounce = false
speed = 3000
lifetime = 1
boundingbox = 1
explosion = GeneralExplosion
actorexplosion = GeneralExplosion
showboth = false
attachactor = false
bonelevel = true
damage = 60
altdamage = 15
explosionradius = 128
explosiondamage = 30
decal = 0
movesound = footsteps/footstep.wav
impactsound = Weapons/Impact.wav
[Weapon]
type = weapon
slot = 0
firerate = 1
catagory = projectile
projectile = WeaponBullet
attribute = health
ammunition = WeaponBullet
shotpermagazine = 8
ammopershot = 1
attacksound = Weapons/Fire.wav
reloadsound = Weapons/Reload.wav
emptysound = Weapon/Empty.wav
crosshair = crosshair.bmp
crosshairalpha = a_crosshair.bmp
crosshairfixed = true
allowlitcrosshair = true
crosshairlitcolor = 255 0 0
recoilamount = -5
recoildecay = 80
;
; 1st Person
;
viewactor = Weapons/Weapon.act
viewfillcolor = 255 255 255
viewambientcolor = 255 255 255
viewrotation = -90 90 180
viewoffset = -5 -5 -2.5
viewscale = -0.1
viewlaunchoffset = -5 3.5 20
viewlaunchbone = BONE01
viewanimationspeed = 1
viewarmanim = Draw
viewidleanim = Idle
viewattackanim = Fire
viewaltattackanim = Fire
viewhitanim = Fire
viewalthitanim = Fire
viewwalkanim = Walk
muzzleflash = MuzzleFlash1
crosshair = crosshair.bmp
crosshairalpha = a_crosshair.bmp
crosshairfixed = true
allowlitcrosshair = true
crosshairlitcolor = 255 0 0
recoilamount = 10
recoildecay = 5
bobamount = 20
viewreloadanim = Reload
viewkeyreloadanim = Reload
viewattackemptyanim = Fire
environmentmapping = false
allmaterial = false
percentmapping = 0
percentmaterial = 0
Then, add this to the top of your 'install\player.ini' file (or wherever there is free space that is not in the middle of another definition):
[Weapon]
initial = 0
low = 0
high = 1
[WeaponBullet]
initial = 16
low = 0
high = 32
Next, open the 'weapontest.3dt' level in RFEditPro, compile, run, and grab your new weapon. Enjoy!
POST-RELEASE NOTE: If the crosshair dosent work, hit Escape ingame and click Options, select Controls, click Advanced and check 'Crosshair'.
Barebones Weapon Package
Barebones Weapon Package
- Attachments
-
- BarebonesWeapon.zip
- (128.62 KiB) Downloaded 322 times
RF2 site: http://realityfactory2.sourceforge.net/
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
thats odd. no problem, hope it helps, if you want to test the weapon itself change 'initial' for the weapon itself in player.ini to 1.
RF2 site: http://realityfactory2.sourceforge.net/
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
that's wierd. have you tried opening tools/inieditor, checking "level open dialog" (or something similar to that, dont know the exact wording), starting rf, double-clicking the "weapontest" map in the dialog that comes up, then clicking new game?
glad to hear it works!
glad to hear it works!
RF2 site: http://realityfactory2.sourceforge.net/
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
did my original weapon pack disappear?
just curious - did the original RF weapon pack i posted a while ago disappear?
i'm sure i still have it kicking around on a harddrive somewhere - i could post it again as well if people want.
it had 5 or 6 weapons, with sound effects, hud elements etc...
i'm sure i still have it kicking around on a harddrive somewhere - i could post it again as well if people want.
it had 5 or 6 weapons, with sound effects, hud elements etc...
http://www.mapvault.com/uploads/rf/
I think Quest used some for the new RF 075a demo on the
RF DL page.
I think Quest used some for the new RF 075a demo on the
RF DL page.