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-10-03 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
October 03, 2009, 12:44:13 PM *
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: Question about the Night Elf, Trueshot SFX  (Read 73 times)
XxNoMercyxX
Level 0 Beginner

Offline Offline

United States United States

Posts: 3




grimreaperz3
grimreaperz3
« on: September 29, 2009, 06:18:07 AM »

Hey guys I was wondering if someone could give a detailed explanation on the Trueshot SFX for the Night Elf race.

Code
GeSHi (eventscripts):
"skill3_sfx"        "if (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker);if (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (server_var(wcs_dice) <= 30) then est_effect 3 #a 0 sprites/physbeam.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 5 5 0 255 0 255"

First thing I wanted to ask is why when I shoot someone. The beam travels from my feet to where I shoot them. I was wondering if I could maybe make it so it shoots from my waste or something so it isn't so strange looking lol  Smiley

My second question is when I do see the beam. It appears to be in segments and not one solid line (which I have seen in other servers) and I was just wondering how to make that happen with the Trueshot. I did mess around with it a little but I didn't have any success Tongue

So if anyone can give a detailed explanation I would appreciate it a lot Cheesy

Another question I have is why everytime I get hit or shoot someone my screen very briefly flashes white and it is quite annoying  Undecided

Thanks in advance Smiley
« Last Edit: September 30, 2009, 01:44:38 AM by XxNoMercyxX » Logged
XxNoMercyxX
Level 0 Beginner

Offline Offline

United States United States

Posts: 3




grimreaperz3
grimreaperz3
« Reply #1 on: September 30, 2009, 05:29:28 AM »

Is no one even able to at least tell me why the .vmt is going from my feet to their feet?  Sad
Logged
LoganLoganLo
Level 0 Beginner

Offline Offline

United States United States

Posts: 17




loganloganlo
« Reply #2 on: September 30, 2009, 04:49:51 PM »

Although I might be wrong but in the ES Wiki it says that *Coordinates are always taken at the bottom of the player's model, rather than the middle or the player's perspective. There for it might always come from the ground beacuse of the coordinates you might have to figure out a way to get the coordinates from the middle or some way to place that sprite in the middle of the body, There for you have the coordinates that are in your script at your feet so the beam comes from your feet. Correct me if I am wrong please.
« Last Edit: September 30, 2009, 04:54:31 PM by LoganLoganLo » Logged
DisturbeD
Level 0 Beginner

Online Online

Germany Germany

Posts: 10



« Reply #3 on: September 30, 2009, 05:12:45 PM »

yeah so just add a lil bit to the z-coord -> es_xmath
Logged
XxNoMercyxX
Level 0 Beginner

Offline Offline

United States United States

Posts: 3




grimreaperz3
grimreaperz3
« Reply #4 on: October 01, 2009, 12:06:54 AM »

Ok thanks, I will try it out Smiley

Just a quick question though.. Where can I find es_xmath for the cordinate? This is all I could find for the es_xmath thing

Edit:

I fixed the feet to feet problem; however, my other question still stands. Thanks for the help guys!
« Last Edit: October 01, 2009, 01:43:44 AM by XxNoMercyxX » Logged
LoganLoganLo
Level 0 Beginner

Offline Offline

United States United States

Posts: 17




loganloganlo
« Reply #5 on: October 01, 2009, 11:40:41 AM »

Another question I have is why everytime I get hit or shoot someone my screen very briefly flashes white and it is quite annoying.

Make sure your skill works. Usualy this is a endication that it isnt working or at least it was when I mess around with skills and my screen flashed and nothing happens to the other player. If you cna set up another computer and hit your other char in no clip see if anything happens to his screen or anything like that. Or get some one to put it on there server where they can test it with more that just a bot.(Make sure you have a block in the block area if there is one!!)
Logged
Yiyas
Level 6 Experienced
*****
Offline Offline

United Kingdom

Posts: 144




no1yiyas
no1yiyas
« Reply #6 on: October 01, 2009, 01:33:56 PM »

thats some setting in 0.77, cant remember what its called but it'll have flash in it somewhere Tongue look in the cfgs for wcs
Logged

LoganLoganLo
Level 0 Beginner

Offline Offline

United States United States

Posts: 17




loganloganlo
« Reply #7 on: October 01, 2009, 04:49:47 PM »

Thanks Yiyas that helps out alot
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 08:57:40 AM
stop spamming...
Today at 07:57:23 AM
October 02, 2009, 08:45:24 PM
October 02, 2009, 08:24:30 PM
Zawmbee Huh
Steam please ?
October 02, 2009, 07:51:43 PM
i agree with zawmbee..it's annoin
October 02, 2009, 07:10:13 PM
Recent
[Today at 11:48:00 AM]

[Today at 11:41:03 AM]

[Today at 11:24:40 AM]

by Narb
[Today at 06:34:50 AM]

[October 02, 2009, 10:25:17 PM]

[October 02, 2009, 09:19:29 PM]

by Skan
[October 02, 2009, 07:09:17 PM]

[October 02, 2009, 06:23:04 PM]

[October 02, 2009, 05:49:33 PM]

[October 02, 2009, 05:19:48 PM]
Theme switch

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