versengeteriks Posted October 16, 2012 Share Posted October 16, 2012 thought id try something small to start. Weapons=(iType=eItem_FragLauncher,ABILITIES[0]=eAbility_Overwatch,ABILITIES[1]=eAbility_ShotStandard,ABILITIES[2]=eAbility_NONE,ABILITIES[3]=eAbility_NONE,ABILITIES[4]=eAbility_NONE,ABILITIES[5]=eAbility_NONE,Properties[0]=eWP_AnyClass,Properties[1]=eWP_none,Properties[2]=eWP_none,Properties[3]=eWP_NoReload,Properties[4]=eWP_Heavy,Properties[5]=eWP_None,iDamage=3,iEnvironmentDamage=250,iRange=27,iReactionRange=-1,iReactionAngle=200,iRadius=240,iCritical=0,iOffenseBonus=0,iSuppression=0,iSize=eItemSize_Small,iHPBonus=0,iWillBonus=0) m_aItemNames[eItem_FragLauncher]=Frag Launcher m_aItemNamesPlural[eItem_FragLauncher]=Frag Launcher Grenades m_aItemTacticalText[eItem_FragLauncher]=<Bullet/> The Frag Grenade Launchers blast radius is 2 tiles\n<Bullet/> Does 3 damage to all targets in blast area\n<Bullet/> Friendly targets in the blast area are affected SeekFreePackage=Weapon_FragLauncher You can see the starting code for creation of a grenade launcher. some of this code goes in defaultgamecore, some in xcomgame.int. made a copy of grenade udk and renamed it to. and also found some references to it in my docs problem is i still cant get it to work in game. Help needed to create first new item in game please. Link to comment Share on other sites More sharing options...
Beknatok Posted October 16, 2012 Share Posted October 16, 2012 Are you loading the package? Off the top of my head, I believe you need to add references inside DefaultEngine.ini. Link to comment Share on other sites More sharing options...
versengeteriks Posted October 16, 2012 Author Share Posted October 16, 2012 using modpatcher for the defaultgamecore. but not sure how to add the othe files to the patcher. so im inserting manually........doh..... prolly why its not working.. ok so how do i add extra files the patcher??? ill ask on the patcher thread. Link to comment Share on other sites More sharing options...
Beknatok Posted October 16, 2012 Share Posted October 16, 2012 using modpatcher for the defaultgamecore. but not sure how to add the othe files to the patcher. so im inserting manually........doh..... prolly why its not working.. ok so how do i add extra files the patcher??? ill ask on the patcher thread. You should not need to. ModPatcher is only needed to change the files that have been embedded in the .EXE: DefaultGameCore.iniDefaultLoadouts.iniDefaultMP something.ini For everything else, the game engine still refers to the static .ini files found in the file system (please correct me if this assertion is incorrect). Link to comment Share on other sites More sharing options...
Caiman Posted October 16, 2012 Share Posted October 16, 2012 Can anyone get this to work? Maybe we can create new character-classes in a similiar way? Link to comment Share on other sites More sharing options...
Recommended Posts