HomeFAQSearchRegisterMemberlistUsergroupsLog in

Share | 
 

 Original respawn !!

View previous topic View next topic Go down 
AuthorMessage
Mehdness



Number of posts : 7
Registration date : 2009-01-17

PostSubject: Original respawn !!   Sat Jan 17, 2009 10:17 am

hi all !

sry for my bad english langage lol !!

i'm mehdness, clan D-KliK (french team) ! we play in rifle only, and i modded a coutdown mod, i need your help for one thing please !!

For my script, i just want to delete the originals respawns on a map, but i can't find the script for remove it !

I believe it begin :

removeclass PlayerAlliedDeathmatchStart ?
removeclass PlayerAxisDeathmatchStart ?
removeclass PlayerDeathmatchStart ?

or removeclass info_player_axis ?

i think i make an error !! but can you help me for have the good script ?

thx !
Back to top Go down
View user profile
[PP]Reddvers



Number of posts : 8
Registration date : 2008-11-20

PostSubject: Re: Original respawn !!   Sun Jan 18, 2009 10:47 am

This is a script (not mine) I have used to block original spawn points from mp_Holland.

First I had to log the spawn points, not sure of a quick method but I found them.


// Test

main:

waitthread newspawnpoints
waitthread blockingSpawnpoints

level waitTill prespawn




level waittill spawn


end

waitframe

end

blockingSpawnpoints:

$spawn_axis1 disablespawn
$spawn_axis2 disablespawn
$spawn_axis3 disablespawn
$spawn_axis4 disablespawn
$spawn_allied1 disablespawn
$spawn_allied2 disablespawn
$spawn_allied3 disablespawn

//axis

thread blockSpawnPoint ( 3206 -2018 0.13 )
thread blockSpawnPoint ( 1894 -2182 0.13 )
thread blockSpawnPoint ( 4346 -536 -143.88 )
thread blockSpawnPoint ( 2530 -1000 127.13 )
thread blockSpawnPoint ( 2726 -1530 0.13 )
thread blockSpawnPoint ( 3454 336 0.13 )
thread blockSpawnPoint ( 3646 -1688 -143.88 )
thread blockSpawnPoint ( 2582 -1432 152.13 )
thread blockSpawnPoint ( 2124 338 108.26 )
thread blockSpawnPoint ( 2462 -660 5.13 )
thread blockSpawnPoint ( 2744 -638 5.13 )
thread blockSpawnPoint ( 2232 -869 5.12 )

//allies

thread blockSpawnPoint ( -2976 -892 366.68 )
thread blockSpawnPoint ( -3568 -3660 8.87 )
thread blockSpawnPoint ( -3024 -2440 8.25 )
thread blockSpawnPoint ( -3032 -2976 8.13 )
thread blockSpawnPoint ( -2404 -3772 8.25 )
thread blockSpawnPoint ( -2462 745 29.13 )
thread blockSpawnPoint ( -2384 -3284 14.39 )
thread blockSpawnPoint ( -3576 -3504 5 )
thread blockSpawnPoint ( -3064 -4108 8.26 )
thread blockSpawnPoint ( -3320 -4164 8 )
thread blockSpawnPoint ( -2992 -3236 16 )


end

blockSpawnPoint local.origin:
local.trig = spawn trigger_multiple "targetname" "dummy"
local.trig.origin = local.origin
local.trig setsize ( -4 -4 -4 ) ( 4 4 4 )
local.trig wait 0.2
local.trig delay 0.0
local.trig.dummy = spawn fx/dummy.tik "targetname" "dummy"
local.trig.dummy.origin = local.origin
local.trig.dummy setsize ( -5 -5 -1 ) ( 5 5 60 )
local.trig.dummy solid
local.trig setthread doSpawnPointBlock
end

doSpawnPointBlock:
local.player = parm.other
self.dummy notsolid
while (local.player istouching self)
waitframe
wait 1
self.dummy solid
end

newspawnpoints:

level.axis = spawn info_player_axis origin ( 341 -698 209 ) targetname axis1 angle ( 330.320 )
level.axis = spawn info_player_axis origin ( 1320 729 1 ) targetname axis1 angle ( 10.926 )
level.axis = spawn info_player_axis origin ( 275 -339 16.13 ) targetname axis1 angle ( -47.108 )
level.axis = spawn info_player_axis origin ( 2232 -869 0.12 ) targetname axis1 angle ( -163.111 )
level.axis = spawn info_player_axis origin ( -99 419 208.13 ) targetname axis1 angle ( 91.360 )

level.allied = spawn info_player_allied origin ( 341 -698 209 ) targetname allies2 angle ( 330.320 )
level.allied = spawn info_player_allied origin ( 1320 729 1 ) targetname allies2 angle ( 10.926 )
level.allied = spawn info_player_allied origin ( 275 -339 16.13 ) targetname allies2 angle ( -47.108 )
level.allied = spawn info_player_allied origin ( 2232 -869 1 ) targetname allies2 angle ( -163.111 )
level.allied = spawn info_player_allied origin ( -99 419 208.13 ) targetname allies2 angle ( 91.360 )

level.allied = spawn info_player_allied origin ( -3294 233 -3.58 ) targetname allies1 angle ( 25.690 )
level.allied = spawn info_player_allied origin ( 1648 -3209 -143.88 ) targetname allies1 angle ( 106.200 )
level.allied = spawn info_player_allied origin ( -1617 -958 248 ) targetname allies1 angle ( -10.900 )
level.allied = spawn info_player_allied origin ( 1920 1285 2.13 ) targetname allies1 angle ( -177 )
level.allied = spawn info_player_allied origin ( 243 -2548 2 ) targetname allies1 angle ( 90 )
level.allied = spawn info_player_allied origin ( 1513 -2464 2 ) targetname allies1 angle ( -177 )

level.axis = spawn info_player_axis origin ( -3294 233 -3.58 ) targetname axis2 angle ( 25.690 )
level.axis = spawn info_player_axis origin ( 1648 -3209 -143.88 ) targetname axis2 angle ( 106.200 )
level.axis = spawn info_player_axis origin ( -1617 -958 248 ) targetname axis2 angle ( -10.900 )
level.axis = spawn info_player_axis origin ( 1920 1285 2.13 ) targetname axis2 angle ( -177 )
level.axis = spawn info_player_axis origin ( 243 -2548 2 ) targetname axis2 angle ( 90 )
level.axis = spawn info_player_axis origin ( 1513 -2464 2 ) targetname axis2 angle ( -177 )

$axis1 enablespawn
$allies2 disablespawn
$axis2 disablespawn
$allies1 enablespawn


end


Back to top Go down
View user profile
DeZee
Member


Number of posts : 945
Registration date : 2007-07-10

PostSubject: Re: Original respawn !!   Sun Jan 18, 2009 12:59 pm

good work buddy

DZ
Back to top Go down
View user profile
{PP}arcafab(fr)

avatar

Number of posts : 120
Age : 48
Localisation : france
Registration date : 2007-10-10

PostSubject: Re: Original respawn !!   Sun Jan 18, 2009 7:58 pm

Redvers you're always the best!!!!
greets arca
Back to top Go down
View user profile
=S|G=Wutchman
Member
avatar

Number of posts : 174
Age : 55
Localisation : South Wales U.K
Registration date : 2007-07-13

PostSubject: Re: Original respawn !!   Sun Jan 18, 2009 10:33 pm

I take my hat off to each and every modder who bring us our player maps .... cheers cheers (and there was me thinking it was easy Razz )

Ian

_________________
Back to top Go down
View user profile
Mehdness



Number of posts : 7
Registration date : 2009-01-17

PostSubject: Re: Original respawn !!   Sun Jan 18, 2009 10:52 pm

ok thx mate !

but i want to know if this script for holland, you had just create a scr file or you had make a compilation with mohbuilder?
Back to top Go down
View user profile
[PP]Reddvers



Number of posts : 8
Registration date : 2008-11-20

PostSubject: Re: Original respawn !!   Sun Jan 18, 2009 11:51 pm

Hey, this ain't my script. Some clever person wrote it and I just adpated it for my use. No skill on my part. It is people like Harf that do the hard work and kindly share it for the un-trained to use.

What map are you trying to disable the spawns ? Maybe I have a version with the spawns blocked. This script is part of the MP_Holland_DM scr file so i only used notepad to open and add info, no work with any other programme.

I can pm you the full version but it has other messsy stuff included.

RR
Back to top Go down
View user profile
Mehdness



Number of posts : 7
Registration date : 2009-01-17

PostSubject: Re: Original respawn !!   Mon Jan 19, 2009 2:52 am

ok mate !
i want to disablespawn on malta !
i don't want axis spawns in the streets, i want add spawn near the bridge ! because it's so long when we want to join the bridges with axis spawns!! i want make a face to face !! i can't remember the positions on the hud, but for example, i want all axis on the south of the bridge and all allies on the north ! you see ? lol !
i can add spawns, its not a prob for me, but really, i break my head to delete original spawns !
really, you are a very nice camarade for help me !
thank you very much !
Back to top Go down
View user profile
Mehdness



Number of posts : 7
Registration date : 2009-01-17

PostSubject: Re: Original respawn !!   Mon Jan 19, 2009 2:57 am

last question, the blockingspawnpoints are the original spawn?
Back to top Go down
View user profile
[PP]Reddvers



Number of posts : 8
Registration date : 2008-11-20

PostSubject: Re: Original respawn !!   Mon Jan 19, 2009 10:38 am

I did do a version of Malta once where I blocked all the spawns. I'll try to find it, not sure whether i kept it but i will look tomorrow.

RR
Back to top Go down
View user profile
Mehdness



Number of posts : 7
Registration date : 2009-01-17

PostSubject: Re: Original respawn !!   Tue Jan 20, 2009 3:03 am

thx mate for the script !

it works !!

i tryed it on malta and it work !! Thx you very very very much mate !!
Back to top Go down
View user profile
[PP]Reddvers



Number of posts : 8
Registration date : 2008-11-20

PostSubject: Re: Original respawn !!   Tue Jan 20, 2009 4:46 am

No problem. Although I have given up playing MoH I still think it is a great game and glad people still get pleasure from it.

Happy to help.

RR
Back to top Go down
View user profile
Mehdness



Number of posts : 7
Registration date : 2009-01-17

PostSubject: Malte !   Fri Jan 23, 2009 12:42 am

Hi mates ! how are you ?

Thx for the last script, it work great ! But one thing, on malta, much servers clan have the walls break in axe's fortress ( near the big door axes bridge ) . Because mine the walls are clean ! you see?

how can i make the breaked wall ? ( Sry for bad english )

thx !
Back to top Go down
View user profile
[PP]Reddvers



Number of posts : 8
Registration date : 2008-11-20

PostSubject: Re: Original respawn !!   Fri Jan 23, 2009 5:19 am

I sent you some script in a pm. I hope it works for you. Let me know.

RR
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Original respawn !!   

Back to top Go down
 
Original respawn !!
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» What is ur respawn point?
» Original Fable just pwns
» pokemon original character
» Alex Kidd, Sega's Original Mascot
» McDonald's Original Happy Disc (Parappa and Ape Escape collab)

Permissions in this forum:You cannot reply to topics in this forum
 :: Tech Section :: Mods & Scripting-
Jump to: