Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 39
  1. #16
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    I have seen it somewhere
    something like
    **** solid()
    Did u fix the host only thing?
    If not, send the code to me and i will see what i can do

  2. #17
    Chijiru's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    9
    Watch this and try to figure out yourself on how to add it to the thread

    Code:
    carepack17 = spawn("script_model", (2850, 45, 207) ); 
    carepack17 setModel( "com_plasticcase_friendly" );
    carepack17 Solid();
    carepack17 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    
    carepack18 = spawn("script_model", (2850, 14, 207) ); 
    carepack18 setModel( "com_plasticcase_friendly" );
    carepack18 Solid();
    carepack18 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    
    carepack19 = spawn("script_model", (2850, -18, 207) ); 
    carepack19 setModel( "com_plasticcase_friendly" );
    carepack19 Solid();
    carepack19 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );

  3. The Following User Says Thank You to Chijiru For This Useful Post:

    Henka44 (08-19-2010)

  4. #18
    Henka44's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Sweden
    Posts
    31
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    TheLynx you are swedish like me :P ? Anyways my major problem now is that i cant even get the server to start so i can see if i got the code right. I get some Compiling error (check console for details) wich i cant solve :S

  5. #19
    rkaf's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    OPEN RIGHT NOW!! <--- ADD MPGHRKAF
    Posts
    748
    Reputation
    73
    Thanks
    1,632
    My Mood
    Yeehaw
    Quote Originally Posted by Henka44 View Post
    TheLynx you are swedish like me :P ? Anyways my major problem now is that i cant even get the server to start so i can see if i got the code right. I get some Compiling error (check console for details) wich i cant solve :S
    u can than ur coding is just bad, every new coder has this error sometimes even experienced one could be a misplaced {} or just an entire wrong code, so u can see if the code is right or not, obviously its not

  6. #20
    Henka44's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Sweden
    Posts
    31
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    So if we change this up a bit and say i want to use this code instead

    Code:
    self thread toggleExplosion();
    
    toggleExplosion()
    {
            self endon ( "death" );
            self endon ( "disconnect" );
            self notifyOnPlayerCommand( "LB", "+smoke" );
            for( ;; )
            {
                    self waittill( "LB" );
                    if ( self GetStance() == "prone" ) {
                    self thread Care();
                    self iPrintlnBold( "^5Shoot Carepackage ^7On" );
                    }
                   
            }
    }
    Care()
    {
            self endon( "death" ); 
            self endon( "disconnect" ); 
            self endon( "endJungle" );
            for(;;)
            {
                    self waittill ( "weapon_fired" );
                    vec = anglestoforward(self getPlayerAngles());
                    end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
                    SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self)[ "position" ];
                            sentry = spawn("script_model", SPLOSIONlocation ); 
                            sentry setModel( "com_plasticcase_friendly" );
            }
    }
    What do i need to change in that code to get THAT one to work, cuse i get the same Syntax error with this code... What am i doing wrong :S
    There has to be some wrong in the code since i am copying a .gsc file that i know works and just paste this code in it and make a new folder three for it.

  7. #21
    Henka44's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Sweden
    Posts
    31
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    Every single code i have gotten from you guys in this thread have given me this error

    Error:
    ******* script compile error *******
    Error: bad syntax
    ************************************
    ********************
    ERROR: script compile error
    bad syntax

    (see console for details)

    ********************
    CL_Disconnect called for local client 0
    Not setting unlocked items as new because we have not initialized itemsUnlocked. This should only happen after a map load error.
    Saving lastPlayedTime of 1282180866.
    ----- Server Shutdown -----
    ==== ShutdownGame (1) ====

    The only code i can get to work is finished realeased mods!
    I really really need help with this, since i cant really start to learn this if i cant even get to start my server xD

  8. #22
    mabistarz's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    6
    jus post up yer mod here in a code and ppl here will help u fix it ;D

  9. #23
    alistair4322's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    229
    Reputation
    14
    Thanks
    31
    My Mood
    Goofy
    Quote Originally Posted by Henka44 View Post
    No one got a script like that? (A)
    I remember there are a addon of killingdyl's zombie mod have explosive creates

  10. #24
    mabistarz's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by alistair4322 View Post
    I remember there are a addon of killingdyl's zombie mod have explosive creates
    whut does this have to do with anything on this topic?

  11. #25
    alistair4322's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    229
    Reputation
    14
    Thanks
    31
    My Mood
    Goofy
    Quote Originally Posted by mabistarz View Post
    whut does this have to do with anything on this topic?
    They need destroyable creates I think

  12. #26
    Henka44's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Sweden
    Posts
    31
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    Quote Originally Posted by mabistarz View Post
    jus post up yer mod here in a code and ppl here will help u fix it ;D
    Well i have several different codes, and i do not know if any of them does what i want them to do since i cant test them.
    So i please read the first page and if you are able to create what im writing there pls do =) More or less i want to be able to spawn models in the game, like crates, barrels, vending machines etc.

    Quote Originally Posted by alistair4322 View Post
    They need destroyable creates I think
    No not really, i want NON destroyable crates, care packages wich cant be picked up, so i can build stuff with it. Like bunkers.

  13. #27
    chaosdestro0's Avatar
    Join Date
    Dec 2009
    Gender
    female
    Posts
    5
    Reputation
    10
    Thanks
    1
    K well mine is working fine now, I just need some code to end the thread? something like self endon( "notifyOnPlayerCommand( "LB", "+smoke" )" );
    not sure if that will work gonna test it now

    Add my msn going to be hosting block zombies today:mechscape.(tk)@live.co.uk

    No brackets it is censored

  14. The Following User Says Thank You to chaosdestro0 For This Useful Post:

    Henka44 (08-19-2010)

  15. #28
    Henka44's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Sweden
    Posts
    31
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    Mine is working also, BUT if someone knows how to save edited maps pls let me know?
    So that i do not need to rebuild everything each time i start cod.

  16. #29
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    do as killingdyl in v2 save the maps or cordinates in a .gsc in the folder maps
    ladda ned modden för mer info

  17. The Following User Says Thank You to TheLynx For This Useful Post:

    Henka44 (08-19-2010)

  18. #30
    Henka44's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Sweden
    Posts
    31
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    haha, i actually is so lucky that killingdyls zombiemod v2 got leaked. cuse that has everything i was looking for :P thanks for all the help tho =)

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [Request] Traing mod LAW SPAWN
    By Ddhashu2 in forum Combat Arms Mod Request
    Replies: 1
    Last Post: 02-13-2011, 09:40 PM
  2. How to do a Traing Spawn mod?
    By Ddhashu2 in forum Combat Arms Help
    Replies: 2
    Last Post: 02-12-2011, 08:55 AM
  3. [Request] Spawn-Enemies / Mod-Cuple
    By kleenkutschick in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 1
    Last Post: 09-24-2010, 10:21 AM
  4. [HELP] Where is the Care Package Spawn Mod
    By crazorfrazor in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 1
    Last Post: 08-24-2010, 08:13 AM
  5. M24 HS Mod & K2 MOD
    By Mat17 in forum Combat Arms Mods & Rez Modding
    Replies: 17
    Last Post: 03-06-2010, 11:30 AM