Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2013-09-05 (original capture). Home · Forum · All archived topics · Downloads
September 05, 2013, 04:45:17 PM

Author Topic: Building  (Read 198 times)

Offline Mr.Malinka

  • WCS Developer
  • Level 7 Expert
  • *****
  • Posts: 262
Building
« on: August 30, 2013, 12:35:15 PM »
Hello.

Requires:
    -> spe alpha
    -> esc color
   
Installation:
    -> download the archive
    -> Unpack the archive into a directory addons/eventstsripts/
    -> add autoexec.cfg line es_load skills

Items are stored in a file props.ini.
Weapon damage in the file weapons.ini.

Command example:
     
Code: [Select]
es skills build <userid> <prop from props.ini> <[health]>     
Code: [Select]
es skills build 2 gift - player 2 creates a gift prop (standatr health)
     
Code: [Select]
es skills build 3 gift 2 - player 3 creates a gift prop (2 health)

how to add the prop to props.ini:
     [the name of the prop to call]
         name = your name for the output - optional string
         type = the prop type
         model = way to model
         scale = the size of the prop
         health = prop health

example:
    [test]
         name = gift
         type = dynamic
         model = models/items/cs_gift.mdl
         scale = 2.0
         health = 5
    call:
         es skills build <userid> test

photo:
     
Show content
« Last Edit: August 31, 2013, 12:09:31 PM by Mr.Malinka »

Offline Lukas320

  • Level 7 Expert
  • *****
  • Posts: 456
  • <3 WCS :)
Re: Building
« Reply #1 on: August 30, 2013, 01:23:50 PM »
Very cool! +1

Might be very usefull for building races (so you can destroy the props).

Offline garry

  • Level 7 Expert
  • *****
  • Posts: 284
  • RUSSIAN GUY
    • StrikeArena
Re: Building
« Reply #2 on: August 30, 2013, 02:00:16 PM »
Пили вкс новый

379 рас|IP - css2.strikearena.ru:27016|На Surf картах включается DeathMatch мод|Fast XP|Fast DL|Нет VAC|No Steam|WCS: DM Сервер - css3.strikearena.ru:27020

Offline Mr.Malinka

  • WCS Developer
  • Level 7 Expert
  • *****
  • Posts: 262
Re: Building
« Reply #3 on: August 30, 2013, 02:51:02 PM »
Прости, но я этим более не занимаюсь...

Offline DoCNL

  • Level 7 Expert
  • *****
  • Posts: 214
    • 5* website
Re: Building
« Reply #4 on: August 30, 2013, 03:03:53 PM »
oh thanks google translate!

"Пили вкс новый
Прости, но я этим больше не занимаюсь ..."

translates into

"They drank aerospaceplane new
I'm sorry, but I do not do this anymore ..."
Questions about wcs/map making?
I'll answer whatever i have answers to! (In English and Dutch!)

Join us!
http://steamcommunity.com/groups/5starz
www.5-starz.webs.com


Offline garry

  • Level 7 Expert
  • *****
  • Posts: 284
  • RUSSIAN GUY
    • StrikeArena
Re: Building
« Reply #5 on: August 30, 2013, 03:54:07 PM »
Бля, а чё так? :C
Инфа то есть будет версия новая или нет? предз и муерте хуй положили наверное уже давно и на этот и на варфаре к ксгоу который.
я ещё какого-то типа видел девелопера, ты знаком с ним?



379 рас|IP - css2.strikearena.ru:27016|На Surf картах включается DeathMatch мод|Fast XP|Fast DL|Нет VAC|No Steam|WCS: DM Сервер - css3.strikearena.ru:27020

Offline Mr.Malinka

  • WCS Developer
  • Level 7 Expert
  • *****
  • Posts: 262
Re: Building
« Reply #6 on: August 31, 2013, 02:51:18 AM »
Информации нет. Все: смерть, предз, ками - заняты модом на cs:go. Другой (новый) разработчик ничем не занимается (скорее всего), да  и сайт уже вымирает потихоньку. Так что, скорее всего не стоит ничего ожидать.

Offline WindCube

  • Level 1 Trained Beginner
  • *
  • Posts: 32
  • Каждый думает в меру своей испорченности.
    • Energy-Games.ru
Re: Building
« Reply #7 on: August 31, 2013, 03:29:54 AM »
Все очень плохо:(



Offline Mr.Malinka

  • WCS Developer
  • Level 7 Expert
  • *****
  • Posts: 262
Re: Building
« Reply #8 on: August 31, 2013, 06:00:02 AM »
Upd 1.1:
    Removed ServerVar variables: build_remove_index_old, build_remove_classname_old
    Added events: build_create and build_remove
    Removed unnecessary code
    Added ServerVar variables: skills and skills_build
    Added class Event in skills.py
    Added build.res file

Example of new events:
    def build_create(args):
         print args['userid'], args['index']
    def build_remove(args):
         print args['userid'], args['index'], args['classname'], args['origin']

Offline 미유키

  • Level 7 Expert
  • *****
  • Posts: 232
  • I'm a strange creature.
Re: Building
« Reply #9 on: August 31, 2013, 06:59:30 AM »
oh thanks google translate!

"Пили вкс новый
Прости, но я этим больше не занимаюсь ..."

translates into

"They drank aerospaceplane new
I'm sorry, but I do not do this anymore ..."

not part of the russian forum, so theres no need to go full retard xD

aside from that, had a similar idea to this, while this may/may not be what i want. but i wouldn't use it regardless. i'd rather code my failures myself c:

Offline Mr.Malinka

  • WCS Developer
  • Level 7 Expert
  • *****
  • Posts: 262
Re: Building
« Reply #10 on: August 31, 2013, 12:17:18 PM »
upd:
    Added file strings.ini
    skills.py (1.1):
        Added cvar lang - (standart logs and strings language)
        Added translate logs
    build.py (1.2):
        Update strings.
        Removed unnecessary code

en logs:
Show content

es skills build

*******************************An error occurred*******************************
SkillError: Not enough arguments, to execute command *build*...
*******************************************************************************


es skills build 2 3

*******************************An error occurred*******************************
Permission unknown item name: *3*\nThe available items are stored in the file: *skills/build/props.ini*
*******************************************************************************

ru logs:
Show content

es skills 2

*******************************Обнаружена ошибка*******************************
Ошибка skills: Введена неизвестная команда: *2*
*******************************************************************************

es skills build 2 3

*******************************Обнаружена ошибка*******************************
Введено неизвестное название предмета: *3*\nВсе доступные предметы хранятся в файле: *skills/build/props.ini*
*******************************************************************************

es skills build

*******************************Обнаружена ошибка*******************************
Ошибка skills: Недостаточно аргументов, чтобы выполнить команду *build*...
*******************************************************************************

« Last Edit: August 31, 2013, 12:20:37 PM by Mr.Malinka »