Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with modding
#1
Hello all,
I'm trying to make my own mods by following Aosma8's tutorial.
So I do the same as he in his tutorial but when i test my mod nothing happens.. Undecided
PHP Code:
onPlayerSpawned()
{
    
self endon("disconnect");

    for(;;)
    {
        
self waittill("spawned_player");
        
Self giveWeapon " famas_reflex_dualclip_silencer_mp "0false );
        
self setPerk("specialty_Lightweight");
        }
        }
        if(!
isdefined(self.hud_rankscroreupdate)) 
Why nothing happens when I start my mod?
Help please!
Reply

#2

U mustn't place a Space in the function. Becuase then its an unknown weapon.
do it like this:
PHP Code:
Self giveWeapon ("famas_reflex_dualclip_silencer_mp"0false ); 

and it would be nice to set the function called takeAllWeapons(); above this. Then u only have one wep.
Reply

#3
Also,
PHP Code:
if(!isdefined(self.hud_rankscroreupdate)) 
is outside the thread. that'll cause you an error.
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#4
I changed my code but I'm still doing something wrong..
PHP Code:
onPlayerSpawned()
{
    
self endon("disconnect");

    for(;;)
    {
        
self waittill("spawned_player");
        
takeAllWeapons();
        
Self giveWeapon ("famas_reflex_dualclip_silencer_mp"0false ); 
        
self setPerk("specialty_Lightweight");
        
        if(!
isdefined(self.hud_rankscroreupdate)) 
        } 
still nothing happens Huh
Reply

#5
Are you sure your loading it right?

insert key etc?
--
Reply

#6
(03-24-2011, 16:40)cash13 Wrote: I changed my code but I'm still doing something wrong..
PHP Code:
onPlayerSpawned()
{
    
self endon("disconnect");

    for(;;)
    {
        
self waittill("spawned_player");
        
takeAllWeapons();
        
Self giveWeapon ("famas_reflex_dualclip_silencer_mp"0false ); 
        
self setPerk("specialty_Lightweight");
        
        if(!
isdefined(self.hud_rankscroreupdate)) 
        } 
still nothing happens Huh

No Space between giveWeapon ?
Dont know. Try it.
Reply

#7
(03-24-2011, 17:07)Eekhoorn Wrote: Are you sure your loading it right?

insert key etc?
Yes i'm sure I'm loading it right but I extracted all the maps in BO gamescript in my mods folder, maybe i do something wrong with that? In the other mods I downloaded there were less files in the maps/mp/gametypes directory, and all the other files like clientscripts, codescripts, mpbody, mphead etc. also stands in my mods folder
Reply

#8
(03-24-2011, 17:16)cash13 Wrote:
(03-24-2011, 17:07)Eekhoorn Wrote: Are you sure your loading it right?

insert key etc?
Yes i'm sure I'm loading it right but I extracted all the maps in BO gamescript in my mods folder, maybe i do something wrong with that?
o.0
LOL. No u dont need this^^
U only need the scripts which u have prepaired.
Reply

#9
(03-24-2011, 17:13)Tomsen1410 Wrote:
(03-24-2011, 16:40)cash13 Wrote: I changed my code but I'm still doing something wrong..
PHP Code:
onPlayerSpawned()
{
    
self endon("disconnect");

    for(;;)
    {
        
self waittill("spawned_player");
        
takeAllWeapons();
        
Self giveWeapon ("famas_reflex_dualclip_silencer_mp"0false ); 
        
self setPerk("specialty_Lightweight");
        
        if(!
isdefined(self.hud_rankscroreupdate)) 
        } 
still nothing happens Huh

No Space between giveWeapon ?
Dont know. Try it.

fukken {'s how do they work?
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#10
he forgot one } in the end to close self endon
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] Request for Assistance with Modding COD: BO using Mod Tools one1lion 9 6,722 09-17-2013, 21:04
Last Post: one1lion
  Help Modding Zombie Mode DarthKiller 3 4,919 07-09-2013, 21:08
Last Post: Nekochan
  Why there are no modding for Frostbite Engine RaZ 2 3,359 03-30-2013, 17:14
Last Post: Pozzuh
  Modding online custom classes? jarniboi 0 2,601 03-12-2013, 00:21
Last Post: jarniboi
  [Tutorial] Modding Terraria Pozzuh 5 10,828 01-12-2013, 22:27
Last Post: Xeramon
  How or why did you start modding COD games? Bloodfocus 12 7,739 12-25-2012, 13:08
Last Post: alvarogt95
Thumbs Down Help help Modding new fingerweak 1 2,179 10-11-2012, 23:18
Last Post: Rendflex
  Bo modding help needed SamuelGrund 6 4,310 08-30-2012, 15:39
Last Post: SamuelGrund
  Modding tools for BF3 are a scary business Pozzuh 12 8,780 08-18-2012, 15:35
Last Post: Arteq
  Not sure if glitch or modding :S Arteq 5 3,852 08-11-2012, 13:08
Last Post: Metro-Police#45

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.