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 2009-03-06 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
March 06, 2009, 02:25:47 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as... HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Can things fall from the sky?  (Read 39 times)
-|FPS|- The Dead Guy
Level 0 Beginner

Offline Offline

United States United States

Posts: 9



« on: March 04, 2009, 12:03:29 AM »

I am starting a group of races that i will be coming back probably a lot for help on, and here is the first question. How can i make an ultimate that simultaneously make a powerful earthquake (i know how to code earth shaking stuff) and also make activated grenades or explosive barrels fall randomly around the map for a certain amount of time? help would be greatly appreciated, and i will also try to work on this myself while im waiting. 
Logged
SynDraXx
Level 4 Intermediate
****
Offline Offline

Germany Germany

Posts: 89


- Junior Coder -


« Reply #1 on: March 04, 2009, 12:15:09 AM »

There is a race called ' Earth quake '
You could take his ultimate, its an earthquake ;P

For the barrelspawning thing, i guess u could
getplayerlocation
math the coordinates e.g. x +50/y +65
spawn barrel
math the coordiantes again e.g. x -25/y -25
spawn barrel
math again Tongue

the more you try the better you get xD

i only want to give you a help, i won't code it for you, thats your part Wink

Logged
-|FPS|- The Dead Guy
Level 0 Beginner

Offline Offline

United States United States

Posts: 9



« Reply #2 on: March 04, 2009, 12:30:42 AM »

thx yes i am happy that you are letting me code it, i like to code. Smiley

either the barrels or how could i do that with activated grenades (the active grenade code)
Logged
iLLuSion
Level 2 Apprentice
**
Offline Offline

Australia Australia

Posts: 42



« Reply #3 on: March 04, 2009, 05:19:22 AM »

I don't think you can spawn activated grenades.
Logged
freddukes
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United Kingdom

Posts: 292



« Reply #4 on: March 04, 2009, 09:12:44 AM »

Quote from: iLLuSion
I don't think you can spawn activated grenades.

You're right.

For the barrel spawn, I've got a good way but it's written in python... My idea is to spawn entities from the maximum of the map to the minimum part of the map going in a S direction if you like... All you'd do is create lots of barrels and store each one in a dictionary, then after X seconds, remove all the indexes... This would be possible using keygroups, but it'd be too slow IMO...

-freddukes
Logged

-|FPS|- The Dead Guy
Level 0 Beginner

Offline Offline

United States United States

Posts: 9



« Reply #5 on: March 04, 2009, 03:28:08 PM »

Yea, our server still uses wcs v.75 so that is what ive got to work with.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 01:27:15 AM
diraiba is right, people are got scared of low internet in most times wrongfully. IMO 2 mbit is enough for 30 ppl
March 05, 2009, 11:07:35 PM
u can do it with 1MB up easily... dont worry about that...
March 05, 2009, 07:19:57 PM
ty
March 05, 2009, 06:37:30 PM
for 20 slots u need a minimum of 15mbit i think...
March 05, 2009, 10:45:11 AM
ure wrong darkshadow
March 05, 2009, 08:49:33 AM
thats not what i asked Tongue
March 05, 2009, 05:42:19 AM
Maxxi, that's almost close to impossible, unless you have a SICK internet. The providers of CSS servers have 2000gb internet bandwit, while you at home would have, let's say 10mb Wink
Recent
[Today at 12:11:45 AM]

[March 05, 2009, 11:55:51 PM]

[March 05, 2009, 11:15:05 PM]

[March 05, 2009, 10:35:44 PM]

[March 05, 2009, 05:41:59 PM]

[March 05, 2009, 04:59:04 PM]

[March 05, 2009, 04:58:05 PM]

[March 05, 2009, 09:16:49 AM]

[March 05, 2009, 09:16:12 AM]

[March 05, 2009, 09:14:34 AM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.04 seconds with 24 queries.