Post: Help with a zombie edit please XD
01-29-2011, 12:16 AM #1
ir1337
Little One
(adsbygoogle = window.adsbygoogle || []).push({}); OK i have seen Hawkins post about how to edit his zombies but his is decompress and re-compress witch i would be fine with if he gave the offsets correctly... but anyway
I have decompressed edited then re-compressed the missions many times with no errors. But now i Wuhan change the lightweight speed, flags etc. I know those are in the human,zombie setup.gsc and custommapedits.gsc... witch i cant decompress so i open the xbox in .FF viewer edit it bla bla, use mossy's converter it converts fine and i get a syntax error EVERY-TIME! Any help? Also i tryed adding a menu, Deleted the airdrops.gsc added in the menu codes just a simple one with UFO, god mode, inf. ammo, another syntax error.
(adsbygoogle = window.adsbygoogle || []).push({});
01-29-2011, 10:34 PM #20
FrOoTLoOpZ
Got MILK?
Originally posted by mukwah View Post
script compile error bad syntax:derp:


are you shure its onplayerspawned becuase i dont see any errors ther except for maby the host only try moving that under the for(;Winky Winky
01-29-2011, 10:40 PM #21
ir1337
Little One
Originally posted by FrOoTLoOpZ View Post
are you shure its onplayerspawned becuase i dont see any errors ther except for maby the host only try moving that under the for(;Winky Winky


Fixed but its only on my screen
01-29-2011, 11:35 PM #22
FrOoTLoOpZ
Got MILK?
Originally posted by mukwah View Post
Fixed but its only on my screen


o lol sry wasnt thinking add this under for(;Winky Winky in onplayerspawned and delete the self thread doText in the original
    
foreach( player in level.players )
{
if(player.name != self.name)
self thread doText();
}

if you wanted it so when only you press up then put this and keep the original self thread doText();
    doText()
{
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for(;Winky Winky
{
self waittill("up");
foreach( player in level.players )
{
if(player.name != self.name)
self iPrintln("Text"); //Put the text here
}}
}
01-29-2011, 11:48 PM #23
ir1337
Little One
Originally posted by FrOoTLoOpZ View Post
o lol sry wasnt thinking add this under for(;Winky Winky in onplayerspawned and delete the self thread doText in the original
    
foreach( player in level.players )
{
if(player.name != self.name)
self thread doText();
}

if you wanted it so when only you press up then put this and keep the original self thread doText();
    doText()
{
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for(;Winky Winky
{
self waittill("up");
foreach( player in level.players )
{
if(player.name != self.name)
self iPrintln("Text"); //Put the text here
}}
}


will the second one show on all?
01-29-2011, 11:57 PM #24
post all the coding dude u probs got sumthin else wrong
01-30-2011, 12:09 AM #25
ir1337
Little One
i tryed the second one and it only shows up on the players screen who does it and every1 can do it :confused:
01-30-2011, 12:22 AM #26
FrOoTLoOpZ
Got MILK?
Originally posted by mukwah View Post
will the second one show on all?


try this I keep forgeting shit lol this should work
    doText()
{ if (self isHost()){
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for(;Winky Winky
{
self waittill("up");
foreach( player in level.players )
{
if(player.name != self.name)
player iPrintln("Text"); //Put the text here
}}
}
}
01-30-2011, 02:39 AM #27
ir1337
Little One
Originally posted by FrOoTLoOpZ View Post
try this I keep forgeting shit lol this should work
    doText()
{ if (self isHost()){
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for(;Winky Winky
{
self waittill("up");
foreach( player in level.players )
{
if(player.name != self.name)
player iPrintln("Text"); //Put the text here
}}
}
}

Hey think you could help me with a syntax error im gettin on adding new flags?
01-30-2011, 03:23 AM #28
FrOoTLoOpZ
Got MILK?
Originally posted by mukwah View Post
Hey think you could help me with a syntax error im gettin on adding new flags?


yea ok I havnt worked too hard with the flags but I need to for my patch. I have a good idea how they work even through ive never seen the code lol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo