Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 26
Search took 0.00 seconds.
Search: Posts Made By: Boikinov
Forum: Plugins 06-04-2009, 21:55
Replies: 105
Views: 126,703
Posted By Boikinov
Re: [L4D] Left FORT Dead builder

Maybe prop_physics_create will load some data from the model file to set MAX HP on entity
You can change the code to set the max HP property, it can be destroyed if it is not 0

But I don't know...
Forum: Plugins 06-03-2009, 21:06
Replies: 105
Views: 126,703
Posted By Boikinov
Re: [L4D] Left FORT Dead builder

Good Idea, try it now
Forum: Plugins 06-02-2009, 21:30
Replies: 105
Views: 126,703
Posted By Boikinov
Re: [L4D] Left FORT Dead builder

You can download the L4D Dedicated Server Tool in a few minutes if you already downloaded L4D Game.
They will be put in the same folder and most of the file are shared between them.

Too bad, The...
Forum: Plugins 06-02-2009, 01:59
Replies: 105
Views: 126,703
Posted By Boikinov
Re: [L4D] Left FORT Dead builder

You can create a local dedicated server and join to test as a client
Forum: Plugins 06-01-2009, 21:27
Replies: 105
Views: 126,703
Posted By Boikinov
Re: [L4D] Left FORT Dead builder

That is exactly what I want to do, so any new joined player can build some default item without binding shortcut key

But I don't know what to do yet, some advice?
Forum: Plugins 06-01-2009, 07:55
Replies: 105
Views: 126,703
Posted By Boikinov
[L4D] Left FORT Dead builder

Description:
You may already known a plugin called Build_Enabler which removed cheat flag of these commands required to spawn item

This plugin also allow you build item without cheat enable...
Forum: Scripting 05-28-2009, 21:16
Replies: 4
Views: 1,463
Posted By Boikinov
Re: Preventing door from being opened

Oh, and for your question
Just found a key for you

to lock a door

AcceptEntityInput( doorindex, "Lock" );


to unlock it
Forum: Scripting 05-28-2009, 21:12
Replies: 4
Views: 1,463
Posted By Boikinov
Re: Preventing door from being opened

It works now

I set these following entities on a spawned door


SetEntProp( index, Prop_Data, "m_spawnflags", 8192 );
SetEntProp( index, Prop_Data, "m_bForceClosed", 0 );
SetEntProp( index,...
Forum: Scripting 05-28-2009, 21:07
Replies: 19
Views: 10,581
Posted By Boikinov
Forum: Scripting 05-28-2009, 14:00
Replies: 19
Views: 10,581
Posted By Boikinov
Re: The annoying "loose indentation" warning, how to get rid of them?

No, I'm not using Pawn Studio
I'm simply working on TextPad

What will Indent Code do?
How can I do it without Pawn Studio?
Forum: Scripting 05-28-2009, 12:54
Replies: 19
Views: 10,581
Posted By Boikinov
The annoying "loose indentation" warning, how to get rid of them?

Everytime I use trace handle, I will get bunch of "warning 217: loose indentation" while compiling

here is the line initially cause the warning

new Handle:trace = TR_TraceRayFilterEx( _origin,...
Forum: Scripting 05-28-2009, 12:50
Replies: 5
Views: 2,226
Posted By Boikinov
Re: Can anyone explain the difference between datamap properties and network properti

So what kind of property stored in datamap?
And what kind of property stored in netprop?

When I want to change a certain property, how can I know if I should change it in datamap or in netprop?
Forum: Scripting 05-28-2009, 07:27
Replies: 5
Views: 2,226
Posted By Boikinov
Can anyone explain the difference between datamap properties and network properties?

I am just confused
Every property of an entity may only available in datamap or network or both of them

When using GetEntProp/SetEntProp, we have to set a parameter either Prop_Data or Prop_Send...
Forum: Scripting 05-28-2009, 04:55
Replies: 4
Views: 1,463
Posted By Boikinov
Re: Preventing door from being opened

I also have a problem with prop_door_rotating_checkpoint

I manually spawned a safe door, but it will always auto close after I opened it.
I found a key value called "forceclosed"
But I never...
Forum: Scripting 05-24-2009, 21:40
Replies: 1
Views: 984
Posted By Boikinov
Is there any matrix calculation implemented in sourcemod?

Try to manipulator the angle vector easily.
Didn't find anything in sourcemod SDK
Do I have to write my own matrix operator?
Forum: Scripting 05-22-2009, 12:18
Replies: 2
Views: 1,042
Posted By Boikinov
Re: Anyway to update the bounding/collision box of model?

Same thing happened, when I change the modelindex of an prop_dynamic entity
The appearance of the item is changed, but the collision still only apply on the old model
Forum: Scripting 05-22-2009, 11:50
Replies: 2
Views: 1,042
Posted By Boikinov
Anyway to update the bounding/collision box of model?

After I use


SetEntPropVector( index, Data_Send, "m_angRotation", angles )
to change the angle of an entity, the collision area isn't follow the rotated model

e.g. A Door is used to be open,...
Forum: Scripting 05-21-2009, 12:33
Replies: 2
Views: 829
Posted By Boikinov
Re: How to know if a client is playing on server???

Left 4 Dead

When I play in Single Player mode, or host a game with console command "map xxxxxxxx"
The client index passed in is always 0, consider I'm a server, not a client

But anyway, I just...
Forum: Scripting 05-21-2009, 11:36
Replies: 5
Views: 1,707
Posted By Boikinov
Forum: Scripting 05-21-2009, 11:32
Replies: 2
Views: 829
Posted By Boikinov
How to know if a client is playing on server???

When the console command callback function pass in the "client index"
0 means the command is from the server side

But if a client is playing on server ( the host that open a map with "map"...
Forum: Scripting 05-21-2009, 07:42
Replies: 5
Views: 1,707
Posted By Boikinov
Re: Where can I find a list of KeyValue name?

I still can't find the page in that wiki :(
Forum: Scripting 05-21-2009, 06:29
Replies: 5
Views: 1,707
Posted By Boikinov
Where can I find a list of KeyValue name?

in DispatchKeyValueXXX() function, there is a string parameter defined the name of the key, like "Origin", "Angles"

So where can I find a list of such name?
Forum: Scripting 05-17-2009, 12:26
Replies: 1
Views: 4,130
Posted By Boikinov
How can I create an item like prop_dynamic_create did?

I use CreateEntityByName( "prop_dynamic" ) to add some wall/fence/barricade or any other item into game.
But neither of them is collided, I can walk through all of them.

so I use cl_pdump command...
Forum: Scripting 05-17-2009, 06:31
Replies: 2
Views: 2,876
Posted By Boikinov
Re: How to implement a self made "ent_teleport" command?

thx pal,

I made some change


decl Float:origin[3], Float:angles[3];
GetClientEyePosition( client, origin );
GetClientEyeAngles( client, angles );

new Handle:trace =...
Forum: Scripting 05-17-2009, 03:06
Replies: 5
Views: 1,680
Posted By Boikinov
Re: Randomly Generate Numbers?

I will do it like this


new RGN1, RGN2, RGN3;
GenerateRandomNums()
{
RGN1 = GetRandomInt( 2, TopValue - 1 );
RGN2 = GetRandomInt( 1, RGN1 - 1 );
RGN3 = GetRandomInt( RGN1 + 1,...
Showing results 1 to 25 of 26

 
Forum Jump

All times are GMT -4. The time now is 09:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode