.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Metamod and metamod plugins (http://forums.bots-united.com/forumdisplay.php?f=15)
-   -   Adding Weapons in a CS map (e.g. cs_italy) (http://forums.bots-united.com/showthread.php?t=3283)

DiWoWo 28-12-2004 02:27

Adding Weapons in a CS map (e.g. cs_italy)
 
I want to add some Weapons in cs_italy but it doesnt work.

this is my cs_italy_str.cfg

Code:

[add]
{
  classname/weapon_sg552
  angle/90
  delay/0
  origin/5 356 298
}

// Add the teleporter...
{
  classname/trigger_teleport
  target/teleport_2
  origin/142 273 23 // auf der Markise bei den Kisten
  bbox_min/-20 -20 -20
  bbox_max/20 20 20
}

// Add the teleporter destination
{
  classname/info_teleport_destination
  targetname/teleport_2
  angle/45
  origin/-92 334 254  // auf dem obersten Balkon
}

The teleporter works correctly, but the weapon is not on the place.

Here is my stripper2.cfg
Code:

weapon_sg552
env_sprite
trigger_teleport
info_teleport_destination

What is wrong?

sfx1999 28-12-2004 21:43

Re: Adding Weapons in a CS map (e.g. cs_italy)
 
I don't think you can spawn weapons that way in CS. I think you have to do it with an armory_entity or something like that.

DiWoWo 28-12-2004 22:26

Re: Adding Weapons in a CS map (e.g. cs_italy)
 
Yes that worked, but the Weapon "spawns" only when the map is loaded! When you PIck up the Weapon it not Spawns again

I use now:
Code:

{
  classname/armoury_entity
  count/1
  item/3 // still searching the right Weapon i want
  origin/5 356 298
}

How can i make the weapon respawn e.g. 120 seconds after you picked it up?

BTW: Excuse my English it isnt good i know! Im from Germany ;)

sfx1999 28-12-2004 23:21

Re: Adding Weapons in a CS map (e.g. cs_italy)
 
Doesn't it spawn at a new round? Anyway:

0: "weapon_mp5navy"
1: "weapon_tmp"
2: "weapon_p90"
3: "weapon_mac10"
4: "weapon_ak47"
5: "weapon_sg552"
6: "weapon_m4a1"
7: "weapon_aug"
8: "weapon_scout"
9: "weapon_g3sg1"
10: "weapon_awp"
11: "weapon_m3"
12: "weapon_xm1014"
13: "weapon_m249"
14: "weapon_flashbang"
15: "weapon_hegrenade"
16: "item_kevlar"
17: "item_assaultsuit"
18: "weapon_smokegrenade"

Count should always be 1. Some weapons are not coded to spawn this way, so if it is not on that list, there is not much you can do.

DiWoWo 29-12-2004 01:24

Re: Adding Weapons in a CS map (e.g. cs_italy)
 
When i use
count/99
i can PickUp the weapon 99 times and then its gone
my Server is an 24/7 Italy Only Server with no time limit so people will pick up it more than 99 times

is there no way to let spawn it again after a few seconds when picked up?

sfx1999 29-12-2004 01:49

Re: Adding Weapons in a CS map (e.g. cs_italy)
 
No, but anyway, does it come back after the round restarts? You can always put one on each spawn point.

DiWoWo 29-12-2004 12:46

Re: Adding Weapons in a CS map (e.g. cs_italy)
 
It come only back when i cause a mapchange.
For example when the level restart after CT or T win the weapon is not there

sfx1999 29-12-2004 18:37

Re: Adding Weapons in a CS map (e.g. cs_italy)
 
I think the problem is that Stripper doesn't mix well with CS. You might need to look for an AMX plugin to equip players.

Pierre-Marie Baty 02-01-2005 15:35

Re: Adding Weapons in a CS map (e.g. cs_italy)
 
Yes, Stripper is not equipped to reload the map configuration at round start, because it doesn't know how to catch the new round event in CS - the reason is that this event is mod-specific.


All times are GMT +2. The time now is 04:39.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.