:: .Map :: Index :: FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
annoying error
Goto page Previous  1, 2
 
Post new topic   Reply to topic    .Map :: MoHAA Mapping Forum Index -> Scripting
View previous topic :: View next topic  
Author Message
HeavenBound

 

Rank: Colour Sergeant

Joined: 11 Sep 2008

Posts: 75

Post subject:
Reply with quote
Well, there should be a .scr file like "urmapname.scr"...Open up notepad, and drag ur .scr file into notepad...Copy and paste the text in that .scr file and post it here......
_________________
HeavenBound

I'm new at this Smile
PostFri Oct 16, 2009 2:38 am
View user's profile Send private message AIM Address
dude77

 

Rank: Corporal

Joined: 01 Sep 2009

Posts: 49

Post subject:
Reply with quote
thanks got that cheers!!
know how to post a map??
PostFri Oct 16, 2009 9:52 am
View user's profile Send private message
HeavenBound

 

Rank: Colour Sergeant

Joined: 11 Sep 2008

Posts: 75

Post subject:
Reply with quote
HeavenBound wrote:
Well, there should be a .scr file like "urmapname.scr"...Open up notepad, and drag ur .scr file into notepad...Copy and paste the text in that .scr file and post it here......



to copy hit ctrl and c at the same time..... lol
_________________
HeavenBound

I'm new at this Smile
PostWed Oct 21, 2009 3:21 am
View user's profile Send private message AIM Address
dude77

 

Rank: Corporal

Joined: 01 Sep 2009

Posts: 49

Post subject:
Reply with quote
u must think i'm stupid Smile
once i COPY it where do i PASTE it,
and dont say something obvious please!!
PostWed Oct 21, 2009 9:28 pm
View user's profile Send private message
HeavenBound

 

Rank: Colour Sergeant

Joined: 11 Sep 2008

Posts: 75

Post subject:
Reply with quote
You know how ur replying? Post it in the reply box...so we can read it....and see what's wrong... lol
_________________
HeavenBound

I'm new at this Smile
PostWed Oct 21, 2009 10:33 pm
View user's profile Send private message AIM Address
dude77

 

Rank: Corporal

Joined: 01 Sep 2009

Posts: 49

Post subject:
Reply with quote
u cant read a map mate..
the guy asked for my MAP FILE and my script file, my script is already on the forum all i need to show is my map... but i dont think it will help.
PostMon Oct 26, 2009 4:11 pm
View user's profile Send private message
dude77

 

Rank: Corporal

Joined: 01 Sep 2009

Posts: 49

Post subject:
Reply with quote
it seems on every map the same thing happens, he sees an enemy and it immediatly freezes and returns me to the game menu!! it something to do with a loop or something - it says on the error i posted

Try to use the script that 'smithy' posted earlier and see if the same thing happens to you...
PostThu Oct 29, 2009 11:45 pm
View user's profile Send private message
dude77

 

Rank: Corporal

Joined: 01 Sep 2009

Posts: 49

Post subject:
Reply with quote
exec global/auto.scr
exec global/friendly.scr

level waittill prespawn
level waittill spawn

//----------------------------------------------------------------------------
main:
//----------------------------------------------------------------------------

thread FriendInit //or waitthread FriendInit

end

//----------------------------------------------------------------------------
FriendInit:
//----------------------------------------------------------------------------


level.friendly1.targetname = friend1


$friend1.destination = $player


// Sets the type of friendly soldier

$friend1.friendtype = 1

// stagger how far away they keep from their destinations

$friend1.distance = 175

// setup the friendlies to follow the player...

$friend1 thread global/friendly.scr::friendlythink

end
PostTue Nov 17, 2009 10:52 am
View user's profile Send private message
1215drew

 

Rank: Private

Joined: 15 Jun 2010

Posts: 6

Post subject:
Reply with quote
I was having a similar problem untill i figured this out.
insert $friend1.waittime = 0.1 BEFORE $friend1 thread global/friendly.scr::friendlythink. additionally, and this is just from examining the stock maps, move the destination friendtype and distance commmands to AFTER $friend1 thread global/friendly.scr::friendlythink. hope this helps.
PostSat Jun 19, 2010 7:45 pm
View user's profile Send private message Send e-mail
dude77

 

Rank: Corporal

Joined: 01 Sep 2009

Posts: 49

Post subject:
Reply with quote
Great, i've been waiting ages for a reply, thanks!
but sadly since asking the question my computer crashed and i have currently not been mapping since as i have not got round to downloading it again! if i ever do i'll use your idea and i'll tell you if it works or fails

thanks
PostSat Jun 19, 2010 8:21 pm
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    .Map :: MoHAA Mapping Forum Index -> Scripting All times are GMT + 3 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group