Spawn Mod / Builder Mod?

Posts 1630 of 39 · Page 2 of 3
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
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 );
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
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
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.
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
jus post up yer mod here in a code and ppl here will help u fix it ;D
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
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?
Quote Originally Posted by mabistarz View Post
whut does this have to do with anything on this topic?
They need destroyable creates I think
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.
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
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.
do as killingdyl in v2 save the maps or cordinates in a .gsc in the folder maps
ladda ned modden för mer info
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 =)
Posts 1630 of 39 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?