Search found 58 matches

by digitac
Fri Feb 20, 2004 7:14 am
Forum: Scripting
Topic: How do i give all my players the Silenced pistol
Replies: 41
Views: 1720

Maybee, this is just an idea, open the silencedpistol.tik copy all the text
now open for example colt45.tik then paste the text,

you can also do this for p38.tik

meanwhile i am checking how to add the second pistol :)
by digitac
Thu Feb 19, 2004 10:08 pm
Forum: Scripting
Topic: How do i give all my players the Silenced pistol
Replies: 41
Views: 1720

Btw. Do u want to use the pistol instead of the standard pistol ?
or do u want to add this ?
by digitac
Thu Feb 19, 2004 7:52 pm
Forum: Scripting
Topic: team balancing
Replies: 3
Views: 201

maybee you can try this

For counting players on each teams

for ( local.n = 1 ; local.n <= $player.size ; local.n ++ )
{
if ( $player[local.n].dmteam == "axis" )
{
local.onaxis++
}
if ( $player[local.n].dmteam == "allies" )
{
local.onallies++
}
}


Here we gonna make the players swap ...
by digitac
Thu Feb 19, 2004 7:34 pm
Forum: Scripting
Topic: waittill ??
Replies: 0
Views: 120

waittill ??

Hi,

When there are no players in the server and when i kill myself how can i reset a value then ?

waittill roundstart i try'd prespawn and spawn neither one of them worked

:S

any1 any id ?
by digitac
Thu Feb 19, 2004 6:29 pm
Forum: Scripting
Topic: can't stop the loop
Replies: 1
Views: 125

can't stop the loop


for ( local.n = 1 ; local.n <= $player.size ; local.n++ )
{
if ( $player[local.n].dmteam == "axis" )
{
if ( !isalive $player[local.n] )
{
level.prisax++
}
level.as++
}
else if ( $player[local.n].dmteam == "allies" )
{
if (!isalive $player[local.n] )
{
level.prisal++
}
level.al ...
by digitac
Thu Feb 19, 2004 11:15 am
Forum: Scripting
Topic: How do i give all my players the Silenced pistol
Replies: 41
Views: 1720

Can't u try this ?

edit the weapon/thompsonsmg.tik and add this line ?

dm startitem "weapons/silencedpistol.tik"
by digitac
Sun Feb 01, 2004 1:50 pm
Forum: Scripting
Topic: some commands
Replies: 1
Views: 106

some commands

Hi can someone help me

i was trying to make a screenshot mod like in conde security

I want to do this

toggleconsole
path
wait 2
screenshot
wait 2
toggle console

but the console won't open
by digitac
Mon Jan 26, 2004 1:23 am
Forum: Scripting
Topic: A running AI
Replies: 4
Views: 170

if it's for a stock map you can't get him to walk along a new route as pathnodes can't be spawned, otherwise if you have the .map file just add them in and name them as normal

if there are no pathnodes in the map the entity can't find it's starting position and therefore can't determine it's ...
by digitac
Mon Jan 26, 2004 1:21 am
Forum: Scripting
Topic: $player question
Replies: 5
Views: 235

In the game if u type the command status you get the current map then the player info

know what i want to do but i don't think it works is to output the strings from that command into an array
by digitac
Sun Jan 25, 2004 3:27 pm
Forum: Scripting
Topic: $player question
Replies: 5
Views: 235

I have one little question to all script masters :)

i am trying to use the command status and put the output in a array
:)

i think somehome this must work ?

not


greetz DigitaC


pls let me know if u found something
by digitac
Sun Jan 25, 2004 3:18 pm
Forum: Scripting
Topic: $player question
Replies: 5
Views: 235

I hope there are still people there that are trying to get $player info like name and so

i am working on something else

I am trying to go use the command getstatus

this works while using php

so i think there must be an option to use it in console or by using the script

Greetz DigitaC
by digitac
Sun Jan 25, 2004 2:50 pm
Forum: Scripting
Topic: $player question
Replies: 5
Views: 235

$player question

Hi guys,

Can someone tell me how to get the clientid of a player ?

i hope someone can tell me this

Thnx

DigitaC
by digitac
Fri Jan 23, 2004 10:32 am
Forum: Scripting
Topic: Judgement day
Replies: 1
Views: 199

Judgement day

Hi guys, what do u think of my script ?

please all comments and compliments are welcome :oops:


main:

setcvar "sv_screenshot" "off"
setcvar "sv_idcheck" "off"
setcvar "broadcast" ""
level waittill prespawn
thread screenshot
thread array_check
thread mod_showplayers
thread instant_message
level ...
by digitac
Fri Jan 23, 2004 7:26 am
Forum: Scripting
Topic: A running AI
Replies: 4
Views: 170

How can i make the ai walk to an location then ?

and don't tell me it isn't possible

everything is possible in the world :)
by digitac
Fri Jan 23, 2004 6:40 am
Forum: Scripting
Topic: respawn option
Replies: 5
Views: 137

is it possible to do the following
main:
thread check_players
end

check_players:
for ( local.n = 1 ; local.n <= $player.size ; local.n++ )
{
$player[local.n].prisoner = 1
$player[local.n] thread capture $player[local.n].dmteam
}
end

capture local.team:

while (( isalive self ) && ( self ...