UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - tobin_g1213

                                   Here is my Upgraded weapons pack for all, do the same as you would adding the regular guns then add the upgraded ones after
                                                                                                                                      Know issues

* if all guns are put in on map at once with out getting rid of some of the other old weapons/sounds files in your map you will hit the 1600 sound assets limit(which makes game crash)

                                                                                                                                  To fix issues know
* fixing 1600 sound assets AND 400fx limit(https://confluence.ugx-mods.com/display/UGXMODS/UGX+Mod+Standalone+v1.0.3+Manual+Installation
                          SCROLL DOWN UNTILL YOU SEE
Quote
Exceeded limit of 1600 sounds!
                                                                                You can uses EVERY GUN AT ONCE IN MAP but not all sounds with out modification

=green                                                                                                Now to get weapons on the wall or box
Go to your root/raw/maps to find (d0lc3_code) and (_zombiemode_weapons) copy them and put place in your mod/nazi_zombie_yourmapname/maps.
Next open dlc3_code and find this
Code Snippet
Plaintext
include_weapons()
{
    include_weapon( "zombie_colt" );
    include_weapon( "zombie_colt_upgraded", false );
    include_weapon( "zombie_sw_357" );
    include_weapon( "zombie_sw_357_upgraded", false );
Then add guns you want like this
Code Snippet
Plaintext
include_weapons()
{
    //Tobin's weapons
    include_weapon( "ak47", true );
    include_weapon( "ak47_upgraded", false );
    include_weapon( "deserteagle", true );
    include_weapon( "deserteagle_upgraded", false );
    include_weapon( "g3", true );
    include_weapon( "g3_upgraded", false );
    include_weapon( "g36", true );
    include_weapon( "g36_upgraded", false );
    include_weapon( "m4", true );
    include_weapon( "m4_upgraded", false );
    include_weapon( "m14", true );
    include_weapon( "m14_upgraded", false );
    include_weapon( "mp5", true );
    include_weapon( "mp5_upgraded", false );
    include_weapon( "p90", true);
    include_weapon( "p90_upgraded", false);
    include_weapon( "rpd", true );
    include_weapon( "rpd_upgraded", false );
    include_weapon( "skorpion", true );
    include_weapon( "skorpion_upgraded", false );
    include_weapon( "usp", true );
    include_weapon( "usp_upgraded", false );
   
    include_weapon( "zombie_colt" );
    include_weapon( "zombie_colt_upgraded", false );
    include_weapon( "zombie_sw_357" );
    include_weapon( "zombie_sw_357_upgraded", false );
Then got to _zombiemode_weapons and find this
Code Snippet
Plaintext
init_weapons()
{
    // Zombify
    PrecacheItem( "zombie_melee" );</p><p>
    // Pistols
    add_zombie_weapon( "colt",                                     &amp;"ZOMBIE_WEAPON_COLT_50",                     50,        "vox_crappy",    8 );
    add_zombie_weapon( "colt_dirty_harry",                         &amp;"ZOMBIE_WEAPON_COLT_DH_100",                 100,    "vox_357",        5 );
    add_zombie_weapon( "nambu",                                 &amp;"ZOMBIE_WEAPON_NAMBU_50",                     50,     "vox_crappy",    8 );
    add_zombie_weapon( "sw_357",                                 &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "zombie_sw_357",                         &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "zombie_sw_357_upgraded",                 &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "tokarev",                                 &amp;"ZOMBIE_WEAPON_TOKAREV_50",                 50,     "vox_crappy",    8 );
    add_zombie_weapon( "walther",                                 &amp;"ZOMBIE_WEAPON_WALTHER_50",                 50,     "vox_crappy",    8 );
    add_zombie_weapon( "zombie_colt",                             &amp;"ZOMBIE_WEAPON_ZOMBIECOLT_25",             25,     "vox_crappy",    8 );
    add_zombie_weapon( "zombie_colt_upgraded",                     &amp;"ZOMBIE_WEAPON_ZOMBIECOLT_25",             25,     "vox_crappy",    8 );
Then add the guns you want like this
Code Snippet
Plaintext
init_weapons()
{
    // Zombify
    PrecacheItem( "zombie_melee" );</p><p>
        add_zombie_weapon( "p90",                                   "Press &amp; Hold &amp;&amp;1 To Buy P90 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "p90_upgraded",                          "Press &amp; Hold &amp;&amp;1 To Buy P90 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
        add_zombie_weapon( "ak47",                           "Press &amp; Hold &amp;&amp;1 To Buy ak47 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "ak47_upgraded",                           "Press &amp; Hold &amp;&amp;1 To Buy ak47 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "m4",                           "Press &amp; Hold &amp;&amp;1 To Buy m4 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "m4_upgraded",                           "Press &amp; Hold &amp;&amp;1 To Buy m4 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "m14",                           "Press &amp; Hold &amp;&amp;1 To Buy m14 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "m14_upgraded",                           "Press &amp; Hold &amp;&amp;1 To Buy m14 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "g3",                           "Press &amp; Hold &amp;&amp;1 To Buy g3 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "g3_upgraded",                           "Press &amp; Hold &amp;&amp;1 To Buy g3 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "g36",                           "Press &amp; Hold &amp;&amp;1 To Buy g36 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "g36_upgraded",                           "Press &amp; Hold &amp;&amp;1 To Buy g36 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "usp",                           "Press &amp; Hold &amp;&amp;1 To Buy usp [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "usp_upgraded",                           "Press &amp; Hold &amp;&amp;1 To Buy usp [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "deserteagle",                           "Press &amp; Hold &amp;&amp;1 To Buy deserteagle [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "deserteagle_upgraded",                  "Press &amp; Hold &amp;&amp;1 To Buy deserteagle [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "skorpion",                           "Press &amp; Hold &amp;&amp;1 To Buy skorpion [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "skorpion_upgraded",                           "Press &amp; Hold &amp;&amp;1 To Buy skorpion [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "rpd",                           "Press &amp; Hold &amp;&amp;1 To Buy rpd [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "rpd_upgraded",                           "Press &amp; Hold &amp;&amp;1 To Buy rpd [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "mp5",                           "Press &amp; Hold &amp;&amp;1 To Buy mp5 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "mp5_upgraded",                           "Press &amp; Hold &amp;&amp;1 To Buy mp5 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
   
    // Pistols
    add_zombie_weapon( "colt",                                     &amp;"ZOMBIE_WEAPON_COLT_50",                     50,        "vox_crappy",    8 );
    add_zombie_weapon( "colt_dirty_harry",                         &amp;"ZOMBIE_WEAPON_COLT_DH_100",                 100,    "vox_357",        5 );
    add_zombie_weapon( "nambu",                                 &amp;"ZOMBIE_WEAPON_NAMBU_50",                     50,      "vox_crappy",    8 );
    add_zombie_weapon( "sw_357",                                 &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "zombie_sw_357",                         &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "zombie_sw_357_upgraded",                 &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "tokarev",                                 &amp;"ZOMBIE_WEAPON_TOKAREV_50",                 50,      "vox_crappy",    8 );
    add_zombie_weapon( "walther",                                 &amp;"ZOMBIE_WEAPON_WALTHER_50",                 50,      "vox_crappy",    8 );
    add_zombie_weapon( "zombie_colt",                             &amp;"ZOMBIE_WEAPON_ZOMBIECOLT_25",             25,      "vox_crappy",    8 );
    add_zombie_weapon( "zombie_colt_upgraded",                     &amp;"ZOMBIE_WEAPON_ZOMBIECOLT_25",             25,      "vox_crappy",    8 );
After that you need to call for weapons,sounds, and the materials for view hands kit in your (fastfiles mod.csv) Lancher
fastfiles mod.csv this https://ibb.co/eJq7qU
Code Snippet
Plaintext
// Zombie Mode Stuff
include,zombiemode
include,zombiemode_dogs
// Zombie Mode Strings
localize,zombie
// Mod Strings
localize,mod
// Edited Loadout For Zombie Heroes
rawfile,maps\_loadout.gsc
// Edited LastStand For Deep Water Like Sumpf
rawfile,maps\_laststand.gsc
// Edited For Developer_Script
rawfile,maps\_debug.gsc
stringtable,maps/mapsTable.csv
localize,mod,,
Then add your guns and sound and hands
Code Snippet
Plaintext
// Zombie Mode Stuff
include,zombiemode
include,zombiemode_dogs
// Zombie Mode Strings
localize,zombie
// Mod Strings
localize,mod
// Edited Loadout For Zombie Heroes
rawfile,maps\_loadout.gsc
// Edited LastStand For Deep Water Like Sumpf
rawfile,maps\_laststand.gsc
// Edited For Developer_Script
rawfile,maps\_debug.gsc
stringtable,maps/mapsTable.csv
localize,mod,,
weapon,sp\m14
weapon,sp\m14_upgraded
weapon,sp\mp5
weapon,sp\mp5_upgraded
weapon,sp\ak47
weapon,sp\ak47_upgraded
weapon,sp\usp
weapon,sp\usp_upgraded
weapon,sp\p90
weapon,sp\p90_upgraded
weapon,sp\g3
weapon,sp\g3_upgraded
weapon,sp\g36
weapon,sp\g36_upgraded
weapon,sp\m4
weapon,sp\m4_upgraded
weapon,sp\rpd
weapon,sp\rpd_upgraded
weapon,sp\skorpion
weapon,sp\skorpion_upgraded
weapon,sp\deserteagle
weapon,sp\deserteagle_upgraded
sound,mw1_guns,,all_mp
material,mtl_black_kit_hands
material,mtl_black_kit_sleeves
xmodel,viewhands_black_kit
So thats all i can think of on this tut, you can also watch my older video that mite help aswell https://www.youtube.com/watch?v=aLRGQt5m4TY&t=499s&index=16&list=PLyRuEybh1d2HmtfTVZmWX7BnBd1lXPrLd
DOWNLOAD :https://mega.nz/#F!mk5knKxb!PpdZNTyZTYko9lU0S5Q1eQ
6 years ago
Finally i had chance to go over the weapons pack i put out there not to long ago, please let me know if anything seems missing will be glade to help.

 Know issues

     * if all guns are put in on map at once with out getting rid of some of the other old weapons/sounds files in your map you will hit the 1600 sound assets limit(which makes game crash)

     * if you use all the guns in your map you will hit the 400fx limit (which makes the game crash)

       To fix issues know
* fixing 1600 sound assets AND 400fx limit(https://confluence.ugx-mods.com/display/UGXMODS/UGX+Mod+Standalone+v1.0.3+Manual+Installation
        SCROLL DOWN UNTILL YOU SEE
Quote
Exceeded limit of 1600 sounds!
and under that will be the 400fx fix :)
                                                                                                               Now to get weapons on the wall or box
Go to your root/raw/maps to find (d0lc3_code) and (_zombiemode_weapons) copy them and put place in your mod/nazi_zombie_yourmapname/maps.
Next open dlc3_code and find this
Code Snippet
Plaintext
include_weapons()
{
    include_weapon( "zombie_colt" );
    include_weapon( "zombie_colt_upgraded", false );
    include_weapon( "zombie_sw_357" );
    include_weapon( "zombie_sw_357_upgraded", false );
Then add guns you want like this
Code Snippet
Plaintext
include_weapons()
{
    //Tobin's weapons
    include_weapon( "ak47", true );
    include_weapon( "deserteagle", true );
    include_weapon( "g3", true );
    include_weapon( "g36", true );
    include_weapon( "m4", true );
    include_weapon( "m14", true );
    include_weapon( "mp5", true );
    include_weapon( "p90", true);
    include_weapon( "rpd", true );
    include_weapon( "skorpion", true );
    include_weapon( "usp", true );
   
    include_weapon( "zombie_colt" );
    include_weapon( "zombie_colt_upgraded", false );
    include_weapon( "zombie_sw_357" );
    include_weapon( "zombie_sw_357_upgraded", false );
Then got to _zombiemode_weapons and find this
Code Snippet
Plaintext
init_weapons()
{
    // Zombify
    PrecacheItem( "zombie_melee" );</p><p>
    // Pistols
    add_zombie_weapon( "colt",                                     &amp;"ZOMBIE_WEAPON_COLT_50",                     50,        "vox_crappy",    8 );
    add_zombie_weapon( "colt_dirty_harry",                         &amp;"ZOMBIE_WEAPON_COLT_DH_100",                 100,    "vox_357",        5 );
    add_zombie_weapon( "nambu",                                 &amp;"ZOMBIE_WEAPON_NAMBU_50",                     50,     "vox_crappy",    8 );
    add_zombie_weapon( "sw_357",                                 &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "zombie_sw_357",                         &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "zombie_sw_357_upgraded",                 &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "tokarev",                                 &amp;"ZOMBIE_WEAPON_TOKAREV_50",                 50,     "vox_crappy",    8 );
    add_zombie_weapon( "walther",                                 &amp;"ZOMBIE_WEAPON_WALTHER_50",                 50,     "vox_crappy",    8 );
    add_zombie_weapon( "zombie_colt",                             &amp;"ZOMBIE_WEAPON_ZOMBIECOLT_25",             25,     "vox_crappy",    8 );
    add_zombie_weapon( "zombie_colt_upgraded",                     &amp;"ZOMBIE_WEAPON_ZOMBIECOLT_25",             25,     "vox_crappy",    8 );
Then add the guns you want like this
Code Snippet
Plaintext
init_weapons()
{
    // Zombify
    PrecacheItem( "zombie_melee" );</p><p>
    //Tobin's guns
    add_zombie_weapon( "P90",                                   "Press &amp; Hold &amp;&amp;1 To Buy P90 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
        add_zombie_weapon( "ak47",                           "Press &amp; Hold &amp;&amp;1 To Buy ak47 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "m4",                           "Press &amp; Hold &amp;&amp;1 To Buy m4 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "m14",                           "Press &amp; Hold &amp;&amp;1 To Buy m14 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "g3",                           "Press &amp; Hold &amp;&amp;1 To Buy g3 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "g36",                           "Press &amp; Hold &amp;&amp;1 To Buy g36 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "usp",                           "Press &amp; Hold &amp;&amp;1 To Buy usp [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "deserteagle",                           "Press &amp; Hold &amp;&amp;1 To Buy deserteagle [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "skorpion",                           "Press &amp; Hold &amp;&amp;1 To Buy skorpion [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "rpd",                           "Press &amp; Hold &amp;&amp;1 To Buy rpd [Cost: 1500]",   1500,   "vox_ppsh",      5 );
    add_zombie_weapon( "mp5",                           "Press &amp; Hold &amp;&amp;1 To Buy mp5 [Cost: 1500]",   1500,   "vox_ppsh",      5 );
   
    // Pistols
    add_zombie_weapon( "colt",                                     &amp;"ZOMBIE_WEAPON_COLT_50",                     50,        "vox_crappy",    8 );
    add_zombie_weapon( "colt_dirty_harry",                         &amp;"ZOMBIE_WEAPON_COLT_DH_100",                 100,    "vox_357",        5 );
    add_zombie_weapon( "nambu",                                 &amp;"ZOMBIE_WEAPON_NAMBU_50",                     50,      "vox_crappy",    8 );
    add_zombie_weapon( "sw_357",                                 &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "zombie_sw_357",                         &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "zombie_sw_357_upgraded",                 &amp;"ZOMBIE_WEAPON_SW357_100",                 100,     "vox_357",        5 );
    add_zombie_weapon( "tokarev",                                 &amp;"ZOMBIE_WEAPON_TOKAREV_50",                 50,      "vox_crappy",    8 );
    add_zombie_weapon( "walther",                                 &amp;"ZOMBIE_WEAPON_WALTHER_50",                 50,      "vox_crappy",    8 );
    add_zombie_weapon( "zombie_colt",                             &amp;"ZOMBIE_WEAPON_ZOMBIECOLT_25",             25,      "vox_crappy",    8 );
    add_zombie_weapon( "zombie_colt_upgraded",                     &amp;"ZOMBIE_WEAPON_ZOMBIECOLT_25",             25,      "vox_crappy",    8 );
After that you need to call for weapons,sounds, and the materials for view hands kit in your (fastfiles mod.csv) Lancher
fastfiles mod.csv this https://ibb.co/eJq7qU
Code Snippet
Plaintext
// Zombie Mode Stuff
include,zombiemode
include,zombiemode_dogs
// Zombie Mode Strings
localize,zombie
// Mod Strings
localize,mod
// Edited Loadout For Zombie Heroes
rawfile,maps\_loadout.gsc
// Edited LastStand For Deep Water Like Sumpf
rawfile,maps\_laststand.gsc
// Edited For Developer_Script
rawfile,maps\_debug.gsc
stringtable,maps/mapsTable.csv
localize,mod,,
Then add your guns and sound and hands
Code Snippet
Plaintext
// Zombie Mode Stuff
include,zombiemode
include,zombiemode_dogs
// Zombie Mode Strings
localize,zombie
// Mod Strings
localize,mod
// Edited Loadout For Zombie Heroes
rawfile,maps\_loadout.gsc
// Edited LastStand For Deep Water Like Sumpf
rawfile,maps\_laststand.gsc
// Edited For Developer_Script
rawfile,maps\_debug.gsc
stringtable,maps/mapsTable.csv
localize,mod,,
weapon,sp\m14
weapon,sp\mp5
weapon,sp\ak47
weapon,sp\usp
weapon,sp\deserteagle
weapon,sp\p90
weapon,sp\g3
weapon,sp\g36
weapon,sp\m4
weapon,sp\rpd
weapon,sp\skorpion
sound,mw1_guns,,all_mp
material,mtl_black_kit_hands
material,mtl_black_kit_sleeves
xmodel,viewhands_black_kit
So thats all i can think of on this tut, you can also watch my older video that mite help aswell
https://www.youtube.com/watch?v=aLRGQt5m4TY&t=499s&index=16&list=PLyRuEybh1d2HmtfTVZmWX7BnBd1lXPrLd
DOWNLOAD :https://mega.nz/#F!345gRAQB!WhG1n09OtSdgqDCFyNd6FQ
6 years ago
enjoy my weapons pack i made and let me know how they work out for you.

Download [Updated]:https://mega.nz/#!21oTEZoB!K7XafP6p8pEbgpcQrBhYGXKNCnp8z2Poix3C7urfMYo
MY youtube channel show casing guns :

tut:
Let me know of things i should change and there will be more coming soon!

Also give some credit for your boy ;D
6 years ago
ive went step by step on write up and video and im really have a tough time trying to get the perks to work.

First i installed them on one map and the wouldn't appear in the game but hint string would.

Next map i tryed to get the 400fx limit to go away doing it the same way as harry, but its wouldnt work even with not perks in the map??

And ive tryed it a few more times on new maps and still cant get it to work, but i do have a few questions on write up and wondering if this is were i went wrong;

. 6, 7, & 9 on the write up i was a bit confuse if i did correctly and need help on.
. the mod tools i have arehttp://www.youtube.com/watch?v=lhDz0p2SP78&list=PLyRuEybh1d2HmtfTVZmWX7BnBd1lXPrLd&index=12 which arnt the same as his.
.And finally do i need anything regarding UGX stuff (script placer, a patch, ect..) to get the perks to work because i have nothing in my mod tool from this install of ugx patch. the reason why i ask this is because i get a ugx error in the compiling.
 
thank to all the people that read my long ask for help but you guys havent let me down yet.

and if  you want to talk on skype for deltails on problems let me know it mite be easyer that way ive did that in the past.

http://ugx-mods.com/forum/index.php/topic,7656.0.htmlthe write up
8 years ago
ive been woring on  a map and ive been trying different cod scripts to make a weapon drop power up and i cant seem to find one that works ive been using http://ugx-mods.com/script/#core.Animation.useAnimtree for add weapon scripts and dont really know which one to use
also Death_reaper()"s tut on simple bonus point works amazing but i try to modify it http://www.zombiemodding.com/index.php?topic=19007.0 and the drop wouldnt apear as the weapon model view the i changed. so if you follow his tut you will under stand what i have replace in the script here

    include_powerup( "gun" );

   add_zombie_powerup( "gun",        "weapon_rus_reznov_knife",  "gun");

case "gun":
      players thread gun_powerup( self );   
     break;

and instead on this
bonus_powerup( drop_item )
{
   players = Get_Players();
   points = randomint(2000); // change the 2000 to the highest amount possible to recieve

   // give the points funtion
   for(i=0;i<players.size;i++) //gives points to all players
   {
      if(level.zombie_vars["zombie_point_scalar"] == 1) // if double points is off
      {      {   
      players maps\_zombiemode_score::add_to_player_score( points );
      }      }
      else // if double points is on
      {
      points = points * 2;
      players maps\_zombiemode_score::add_to_player_score( points );
      }
   }
   
   for (i = 0; i < players.size; i++)
   {
      players playsound ("points_vox");
      
   }
}

i tryed this
gun_powerup(drop_item)
{         
        
      level.player giveWeapon("zombie_ppsh_upgraded");
      
      

}

and
add_weapon ( "zombie_ppsh_upgraded");

or something like that if any one has any suggestions on what script type i should use i would love to know and if is kind of a long script then just comment that it is and ill just not try to add it no big deal  :-\
9 years ago
ugx standalone problem when i load up the map i  aim down the sites a few times and it backs out and says this error.

Error missing tag [tag_aim] on entity[30]

Double Post Merge: August 03, 2015, 07:10:13 pm
also when i did developer mode is said this
error
        loadedfx could not find the effects
     maps/zombie/fx_zombie_tesla_rail_veiw-ensure that effects is
     precached in the server script, and included in appropriate CSVs.
9 years ago
went through the wiki step by step a lot of times and i still cant fix the alien text when i load up waw please help thanks :derp:
9 years ago
I wanted to start scripting to make my maps more customized, and then I tryed out ZKs tut on a buildable power switch.
http://custom-zombies.com/Forums/index.php?topic=224.0 this is his tut. if anyone can look at it that know scripts really well can go over it to see if its even correct. I tryed it on a map i was working on for ever and messed it up then tryed it on a test map and still didnt seem to work. Any help would be appreciated.


Code Snippet
Plaintext
/******************************************************
// Buildable Power switch script
//******************************************************
#include common_scripts\utility;
#include maps\_utility;
#include maps\_zombiemode_utility;
#include maps\_anim;

//////////////////////////////////
//Credits
//////////////////////////////////
/*
ZK: This script
Don Goony: knuckle_crack()
~ Add yourself here
*/
//////////////////////////////////

main()
{
PrecacheShader( "buildable_panel_shader" );
PrecacheShader( "buildable_handle_shader" );
PrecacheShader( "buildable_wire_shader" );

level.power_build = 0;

power_switch_trig = getEnt("turn_power_on", "targetname");
power_switch_trig disable_trigger();

thread lets_build();
}

lets_build()
{
flag_wait("all_players_connected");

players = get_players();
for(i=0;i<players.size;i++)
{
players[i].part_hud = [];
}

//the panel
panel_pick = getEnt("panel_pick", "targetname"); //panel that you pick up
panel_pick_trig = getEnt("panel_pick_trig", "targetname"); //trigger to pick up panel

panel_build = getEnt("panel_build", "targetname"); //the panel that appears when built
panel_build_trig = getEnt("panel_build_trig", "targetname"); //trigger to build panel

//the handle
handle_pick = getEnt("handle_pick", "targetname"); //handle that you pick up
handle_pick_trig = getEnt("handle_pick_trig", "targetname"); //trigger to pick up handle

handle_build = getEnt("handle_build", "targetname"); //the handle that appears when built
handle_build_trig = getEnt("handle_build_trig", "targetname"); //trigger to build handle

//the wire
wire_pick = getEnt("wire_pick", "targetname"); //wire that you pick up
wire_pick_trig = getEnt("wire_pick_trig", "targetname"); //trigger to pick up wire

wire_build = getEnt("wire_build", "targetname"); //the wire that appears when built
wire_build_trig = getEnt("wire_build_trig", "targetname"); //trigger to build wire


//part 1
thread build_part(panel_pick, panel_pick_trig, panel_build, panel_build_trig, "buildable_panel_shader");

//part 2
thread build_part(handle_pick, handle_pick_trig, handle_build, handle_build_trig, "buildable_handle_shader");

//part 3
thread build_part(wire_pick, wire_pick_trig, wire_build, wire_build_trig, "buildable_wire_shader");
}

power_ready() //this is what runs when you add all the parts
{
power_switch_trig = getEnt("turn_power_on", "targetname");
power_switch = getEnt("handle_build", "targetname");

power_switch_trig enable_trigger();

power_switch_trig SetCursorHint( "HINT_NOICON" );
power_switch_trig UseTriggerRequireLookAt();
power_switch_trig setHintString("Press and hold &&1 to turn on power");

power_switch_trig waittill("trigger");
power_switch_trig delete();
power_switch MoveZ (-9, .5);
flag_set("electricity_on");
level notify("Pack_A_Punch_on");
level notify("sleight_on");
level notify("revive_on");
level notify("juggernog_on");
level notify("doubletap_on");
}

build_part(part, part_trig, place_part, place_part_trig, shader)
{
da_guy = undefined;

place_part hide();
        place_part_trig UseTriggerRequireLookAt();
        place_part_trig SetCursorHint( "HINT_NOICON" );
place_part_trig setHintString("Parts required");

part_trig UseTriggerRequireLookAt();
part_trig SetCursorHint( "HINT_NOICON" );
part_trig setHintString("Press &&1 to pick up part");

part_trig waittill("trigger", da_guy);
part_trig delete();
part delete();

hud = create_simple_hud( da_guy );
hud.foreground = true;
hud.sort = 1;
hud.hidewheninmenu = false;
hud.alignX = "middle";
hud.alignY = "bottom";
hud.horzAlign = "middle";
hud.vertAlign = "bottom";
hud.x = da_guy.part_hud.size * 45;
hud.y = hud.y - 80;
hud.alpha = 1;
hud SetShader( shader, 40, 40 );
da_guy.part_hud[ shader ] = hud;

place_part_trig enable_trigger();
place_part_trig sethintstring("Press &&1 to add part");
place_part_trig setvisibletoplayer(da_guy);

for(;;)
{
place_part_trig waittill("trigger", da_guy);

if( !isDefined(da_guy.is_adding_part) )
{
da_guy.is_adding_part = true;
place_part_trig delete();
da_guy thread crack_knuckles();

da_guy waittill("part_added");

hud destroy_hud();

place_part show();

level.power_build = level.power_build + 1;

if(level.power_build == 3)
{
thread power_ready();
}
wait 1.5;
da_guy.is_adding_part = undefined;
break;
}
wait .5;
}
}

crack_knuckles()
{
self DisableOffhandWeapons();
self DisableWeaponCycling();

self AllowLean( false );
self AllowAds( false );
self AllowSprint( false );
self AllowProne( false );
self AllowMelee( false );

if ( self GetStance() == "prone" )
{
self SetStance( "crouch" );
}

primaries = self GetWeaponsListPrimaries();

gun = self GetCurrentWeapon();
ammo = self GetWeaponAmmoStock( gun );
weapon = "zombie_knuckle_crack";
self GiveWeapon( weapon );
self SwitchToWeapon( weapon );
self waittill_any( "fake_death", "death", "player_downed", "weapon_change_complete" );
self EnableOffhandWeapons();
self EnableWeaponCycling();
self GiveWeapon( gun );
self SetWeaponAmmoStock( gun, ammo );
self SwitchToWeapon( gun );
self AllowLean( true );
self AllowAds( true );
self AllowSprint( true );
self AllowProne( true );
self AllowMelee( true );
self notify("part_added");
return gun;
}
}


maps\_buildables::main()

ps took screen shots but couldnt figure out to add then lol
9 years ago
ive been trying to make a custom map for soo long and i always could get the errors fixed but i ran in to a problem with radiant it wouldnt let me open my map and is was giving me the error ()=0 thing and i couldnt figure out what it was so i redownloaded every thing agian waw all mod tool patch and made another map.( then in radiant as i save the map it says its not responding and that you have to close out of the program and windows will find you a solution which it doesnt and thats how i losted my first map by it not letting it save for some reason). My wifi isnt the best to redownload ever thing agian so i dont know what to do.

  i dont want to give up mapping its a great learning experience and i was just starting to know scripts off the top of my head which was hard.           I know im not the only person that need an answer but if is possible to help me out please replie
Modify message
9 years ago
Loading ...