banimod / etpro / ettv forums Forum Index banimod / etpro / ettv forums
Bani's Discussion Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

no obj

 
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Server Admins
View previous topic :: View next topic  
Author Message
c0m4r



Joined: 12 Oct 2005
Posts: 22

PostPosted: Mon Jun 25, 2007 4:55 am    Post subject: no obj Reply with quote

Hi,

I'll eliminate objectives on my server.
But I have a problem. Map Frostbite.

There we have etpro mapscript and line when map is end.


Quote:

trigger allies_transmit
{
wm_announce "The Allies have transmitted the Supply Documents!"
wm_setwinner 1
wait 1500
wm_endround
}


I've removed these lines:

Quote:
wm_setwinner 1
wait 1500
wm_endround


But sometimes obj finish map, and sometimes not.
I don't know what is wrong. Any idea?

p.s. sorry for my poor english.
Back to top
View user's profile Send private message Visit poster's website
Igloo



Joined: 07 Jan 2006
Posts: 81
Location: Poland

PostPosted: Mon Jun 25, 2007 8:43 am    Post subject: Reply with quote

Hello,

If you have the newest frostbite mapscript, change this:

Code:
transmitter
{
   death
   {
      trigger game_manager allies_transmit
   }
}


to that:

Code:
transmitter
{
   spawn
   {
      remove
   }
}


MAYBE also remove the icon which shows on command map that here's transmitter, the TOI area ("you are near transmitter"), even delete the docs permanently. Depends on what do you want to have Wink Hope I wrote you this correctly^^

Greetings,
Igloo
Back to top
View user's profile Send private message Visit poster's website
c0m4r



Joined: 12 Oct 2005
Posts: 22

PostPosted: Mon Jun 25, 2007 7:07 pm    Post subject: Reply with quote

nothing
Back to top
View user's profile Send private message Visit poster's website
Igloo



Joined: 07 Jan 2006
Posts: 81
Location: Poland

PostPosted: Tue Jun 26, 2007 2:49 am    Post subject: Reply with quote

This command should remove the area to "transmit" the obj. If not, remove the docs and they won't exist:

Code:
docs
{
   spawn
   {
      remove
   }
}


You need to replace the standard code Wink

And I hope it's executed:

Code:
set b_mapscriptdirectory "etpromapscripts"


Greetings,
Igloo
Back to top
View user's profile Send private message Visit poster's website
c0m4r



Joined: 12 Oct 2005
Posts: 22

PostPosted: Tue Jun 26, 2007 4:23 am    Post subject: Reply with quote

Igloo wrote:
This command should remove the area to "transmit" the obj. If not, remove the docs and they won't exist:

Code:
docs
{
   spawn
   {
      remove
   }
}



Nothing too Smile

Quote:

You need to replace the standard code Wink

And I hope it's executed:

Code:
set b_mapscriptdirectory "etpromapscripts"


Greetings,
Igloo



I removed wm_endround and change set winner. That's is helped.
Back to top
View user's profile Send private message Visit poster's website
Igloo



Joined: 07 Jan 2006
Posts: 81
Location: Poland

PostPosted: Tue Jun 26, 2007 4:36 am    Post subject: Reply with quote

Quote:
I removed wm_endround and change set winner. That's is helped.


So, if not removed on spawn, then by delete it would work:

Code:
      delete
      {
         scriptname "transmitter"   
      }


Many possibilities to remove the objective Wink

Greetings,
Igloo
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Server Admins All times are GMT - 8 Hours
Page 1 of 1

 
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