Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Why doesn't this work!? https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4488 |
Page 1 of 2 |
Author: | Sheppard [ Sun Nov 09, 2008 5:34 pm ] |
Post subject: | Why doesn't this work!? |
Author: | Sheppard [ Mon Nov 10, 2008 11:02 am ] |
Post subject: | Re: Why doesn't this work!? |
Noone has any ideas? Somebody please help I really want this to work. |
Author: | VOLTANO [ Mon Nov 10, 2008 11:15 am ] |
Post subject: | Re: Why doesn't this work!? |
Does it crash your local server or an online server ? Are you expecting this to work server sided ? Always provide details pertaining to your questions so we can help you better. ![]() |
Author: | Sheppard [ Mon Nov 10, 2008 8:04 pm ] |
Post subject: | Re: Why doesn't this work!? |
It crashes an internet server and I expect to make it server sided...If you can add to kits SS why not remove things? |
Author: | VOLTANO [ Tue Nov 11, 2008 3:40 am ] |
Post subject: | Re: Why doesn't this work!? |
When replacing items SS, you must first remove the templates that you are changing. Then after there are blank spots ( removetemplate ) you can addtemplate. First remove, then add. Try that. ![]() |
Author: | Sheppard [ Tue Nov 11, 2008 10:42 am ] |
Post subject: | Re: Why doesn't this work!? |
Did you even look at my code? That's exactly what I did. |
Author: | [TKO]Twist [ Thu Nov 13, 2008 7:01 pm ] |
Post subject: | Re: Why doesn't this work!? |
ObjectTemplate.setHealthBarIcon "Ingame/Healthbar_empty_engineer_64x64.tga" ObjectTemplate.setHealthBarFullIcon "Ingame/Healthbar_full_engineer_64x64.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_alliesKnife.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_colt.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_thompson.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_demokit.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_landmine.tga" No way this is serverside Removetemplate must be from highest to lowest number ObjectTemplate.active GB_Medic ObjectTemplate.removeTemplate 6 ObjectTemplate.removeTemplate 5 ObjectTemplate.removeTemplate 1 ObjectTemplate.removeTemplate 0 ObjectTemplate.addTemplate US_Hip_Pack ObjectTemplate.addTemplate Us_Helmet ObjectTemplate.addTemplate landmine ObjectTemplate.addTemplate detonator ObjectTemplate.addTemplate exppack Not sure about if the jumping from 5 to 1, but this should work. |
Author: | Sheppard [ Thu Nov 13, 2008 8:08 pm ] |
Post subject: | Re: Why doesn't this work!? |
Ok thanks I'll try it but I knew changing the pictures wasnt SS, I meant for that to be in a patch for me and friends to see. |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |