project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Factions > New Zealand Def. Force
PR Time:
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
New Zealand Def. Force Discussion pertaining to the PR New Zealand Defence Force faction.

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 02-25-2010, 04:07 AM   #1
[R-COM]HangMan
NZDF Faction Lead

[R-COM]HangMan's Avatar
Default [Code] Kits

Just to show everyone that we are still alive, here are some sneak peaks of the kit code i've been working on today. So far just showing off the nz_officer_alt and the nz_rifleman. Should give you guys a taste of whats going to be in the kits. Enjoy

Code:
ObjectTemplate.create Kit nz_officer_alt
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setNetworkableInfo KitInfo
ObjectTemplate.kitType Specops
ObjectTemplate.aiTemplate Specops
ObjectTemplate.geometry nz_kits
ObjectTemplate.geometry.kit 4
ObjectTemplate.geometry.dropGeom 16
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.cullRadiusScale 8

rem -------------------------------------
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate uspis_P226
ObjectTemplate.addTemplate adfrif_f88s_optic
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate radio
ObjectTemplate.addTemplate hgr_smoke_signalpurple
ObjectTemplate.addTemplate SIMRAD
ObjectTemplate.addTemplate medikit_dressing_3
rem -------------------------------------

ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair
ObjectTemplate.abilityHud.ammoSound S_Resupply

ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName 		"HUD_TEXT_MENU_SPAWN_KIT_OFFICER_NZ_LIMITED"
ObjectTemplate.vehicleHud.miniMapIcon		"Ingame\Kits\Icons\kit_Officer_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon		"Ingame\Kits\Icons\kit_Officer.tga"
ObjectTemplate.vehicleHud.spottedIcon 		"Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound		S_SprintBreath
ObjectTemplate.vehicleHud.injurySound		S_Injury
ObjectTemplate.vehicleHud.vehicleType 		7
Code:
ObjectTemplate.create Kit nz_rifleman
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setNetworkableInfo KitInfo
ObjectTemplate.kitType Support
ObjectTemplate.aiTemplate Support
ObjectTemplate.geometry nz_kits
ObjectTemplate.geometry.kit 0
ObjectTemplate.geometry.dropGeom 13
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.abilityRestoreRate 0.15
ObjectTemplate.abilityInVehicleRadius 0
ObjectTemplate.abilityInVehicleStrength 0.0
ObjectTemplate.abilityInVehicleMaterial 91
ObjectTemplate.cullRadiusScale 8	

rem -------------------------------------
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate klappspaten
ObjectTemplate.addTemplate adfrif_f88s_acog
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate hgr_smoke
ObjectTemplate.addTemplate ammokit
ObjectTemplate.addTemplate binocular
ObjectTemplate.addTemplate medikit_dressing
ObjectTemplate.addTemplate hgr_incendiary

rem -------------------------------------

ObjectTemplate.createComponent Ability
ObjectTemplate.ability.hasAmmoAbility 1
ObjectTemplate.ability.hasRepairingAbility 1

ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.ammoSound S_Resupply
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair

ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName 		"HUD_TEXT_MENU_SPAWN_KIT_RIFLEMANNZ"
ObjectTemplate.vehicleHud.miniMapIcon		"Ingame\Kits\Icons\kit_Light_Scope_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon		"Ingame\Kits\Icons\kit_Light_Scope.tga"
ObjectTemplate.vehicleHud.spottedIcon 		"Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound		S_SprintBreath
ObjectTemplate.vehicleHud.injurySound		S_Injury
ObjectTemplate.vehicleHud.vehicleType 		7


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


PR Community Faction Team - "Getting Sh*t Done..."
[R-COM]HangMan is offline Reply With Quote
Old 02-25-2010, 04:21 AM   #2
UberWazuSoldier
Default Re: [Code] Kits

Good to see it coming together!


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
UberWazuSoldier is offline Reply With Quote
Old 02-25-2010, 04:23 AM   #3
Gunner_downer

Gunner_downer's Avatar
Default Re: [Code] Kits

Nice work hangman


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
Gunner_downer is offline Reply With Quote
Old 02-25-2010, 04:26 AM   #4
[R-COM]HangMan
NZDF Faction Lead

[R-COM]HangMan's Avatar
Default Re: [Code] Kits

Cheers guys I'll try get some more up soon.


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


PR Community Faction Team - "Getting Sh*t Done..."
[R-COM]HangMan is offline Reply With Quote
Old 03-06-2010, 05:49 PM   #5
Sniper77shot

Sniper77shot's Avatar
Default Re: [Code] Kits

looks good for code, hopefully you will learn more about coding


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
Sniper77shot is offline Reply With Quote
Old 03-11-2010, 12:10 AM   #6
[R-COM]HangMan
NZDF Faction Lead

[R-COM]HangMan's Avatar
Default Re: [Code] Kits

NZ Support
Code:
ObjectTemplate.create Kit nz_support
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setNetworkableInfo KitInfo
ObjectTemplate.kitType Support
ObjectTemplate.aiTemplate Support
ObjectTemplate.geometry nz_kits
ObjectTemplate.geometry.kit 5
ObjectTemplate.geometry.dropGeom 14
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.abilityRestoreRate 0.15
ObjectTemplate.abilityInVehicleRadius 0
ObjectTemplate.abilityInVehicleStrength 0
ObjectTemplate.abilityInVehicleMaterial 84
ObjectTemplate.cullRadiusScale 8

rem -------------------------------------
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate klappspaten
ObjectTemplate.addTemplate cflmg_c9
ObjectTemplate.addTemplate cflmg_c9deployed
ObjectTemplate.addTemplate hgr_smoke
ObjectTemplate.addTemplate binocular
ObjectTemplate.addTemplate medikit_dressing
ObjectTemplate.addTemplate hgr_incendiary
rem -------------------------------------

ObjectTemplate.createComponent Ability
ObjectTemplate.ability.hasRepairingAbility 1

ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair
ObjectTemplate.abilityHud.ammoSound S_Resupply

ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName 		"HUD_TEXT_MENU_SPAWN_KIT_SUPPORT_USA_LIMITED"
ObjectTemplate.vehicleHud.miniMapIcon		"Ingame\Kits\Icons\kit_Heavy_Assault_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon		"Ingame\Kits\Icons\kit_Heavy_Assault.tga"
ObjectTemplate.vehicleHud.spottedIcon 		"Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound		S_SprintBreath
ObjectTemplate.vehicleHud.injurySound		S_Injury
ObjectTemplate.vehicleHud.vehicleType 		7
NZ Rifleman AT
Code:
ObjectTemplate.create Kit nz_riflemanat
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setNetworkableInfo KitInfo
ObjectTemplate.kitType AT
ObjectTemplate.aiTemplate AT
ObjectTemplate.geometry nz_kits_2
ObjectTemplate.geometry.kit 5
ObjectTemplate.geometry.dropGeom 11
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.abilityRestoreRate 0.15
ObjectTemplate.abilityInVehicleRadius 0
ObjectTemplate.abilityInVehicleStrength 0.0
ObjectTemplate.abilityInVehicleMaterial 84
ObjectTemplate.cullRadiusScale 8

rem -------------------------------------
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate klappspaten
ObjectTemplate.addTemplate adfrif_f88s_acog
ObjectTemplate.addTemplate idflat_m72
ObjectTemplate.addTemplate hgr_smoke
ObjectTemplate.addTemplate binocular
ObjectTemplate.addTemplate medikit_dressing
ObjectTemplate.addTemplate hgr_incendiary
rem -------------------------------------

ObjectTemplate.createComponent Ability
ObjectTemplate.ability.hasRepairingAbility 1

ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.ammoSound S_Resupply
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair

ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName 		"HUD_TEXT_MENU_SPAWN_KIT_ATUS"
ObjectTemplate.vehicleHud.miniMapIcon		"Ingame\Kits\Icons\kit_AT_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon		"Ingame\Kits\Icons\kit_AT.tga"
ObjectTemplate.vehicleHud.spottedIcon 		"Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound		S_SprintBreath
ObjectTemplate.vehicleHud.injurySound		S_Injury
ObjectTemplate.vehicleHud.vehicleType 		7


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


PR Community Faction Team - "Getting Sh*t Done..."
[R-COM]HangMan is offline Reply With Quote
Old 03-11-2010, 12:17 AM   #7
Sniper77shot

Sniper77shot's Avatar
Default Re: [Code] Kits

That is some good coding,


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
Sniper77shot is offline Reply With Quote
Old 03-11-2010, 06:45 AM   #8
Wakain

Wakain's Avatar
Default Re: [Code] Kits

klappspaten?
either german or norwegian, though the latter like to put in random dots and stripes

nzdf is going international
Wakain is offline Reply With Quote
Old 03-11-2010, 06:50 AM   #9
[R-COM]H.sta
PR Community Faction Lead

[R-COM]H.sta's Avatar
Default Re: [Code] Kits

Klappspaten is German... and it is the name of the type of shovel, it means folding shovel.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-COM]H.sta is offline Reply With Quote
Old 03-11-2010, 08:35 AM   #10
sylent/shooter

sylent/shooter's Avatar
Default Re: [Code] Kits

awesome job Can't wait to run a test eventually on my map


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

Killing the enemy sylently

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


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


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
sylent/shooter is offline Reply With Quote
Reply


Tags
code, kits
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 05:56 AM.


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