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 2010-01-26 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 26, 2010, 08:44:17 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Hall of Fame
Must Visit it
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: skins for races other than head crab or crow  (Read 374 times)
Greed
Level 1 Trained Beginner
*
Offline Offline

Australia Australia

Posts: 35




amosmonk
« on: December 21, 2008, 01:03:08 AM »

Hi i didn't realy know which section to put this in, but anyway. The title pretty much says it all, how do i have a skin thats not head crab or crow, more specifically a pot plant. i kinda sused out its somthing to do with:

"player_spawn_cmd" ;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 3) then est_SetModel event_var(userid) headcrab;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 2) then est_SetModel event_var(userid) headcrabblack;es est_SetHealth event_var(userid) 40"

but i dont realy know what to change, because i dont think chaging the word head crab to pot plant will do a lot. Anyway please help,

Thanks
Logged
Maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 1494



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #1 on: December 21, 2008, 01:20:01 AM »

Hi i didn't realy know which section to put this in, but anyway. The title pretty much says it all, how do i have a skin thats not head crab or crow, more specifically a pot plant. i kinda sused out its somthing to do with:

"player_spawn_cmd" ;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 3) then est_SetModel event_var(userid) headcrab;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 2) then est_SetModel event_var(userid) headcrabblack;es est_SetHealth event_var(userid) 40"

but i dont realy know what to change, because i dont think chaging the word head crab to pot plant will do a lot. Anyway please help,

Thanks
first you need to know the model you want to use
Logged

Namolem
Level 7 Expert
*****
Offline Offline

Russian Federation

Posts: 203




Namolem
« Reply #2 on: December 21, 2008, 01:26:48 AM »

You can try models from
\srcds\hl2\models
where crow and headcrab are. For example there is file pigeon.mdl so you can replace crow with pigeon.
mdl files can be opened in Source SDK, but there isn't 100% guarantee that in game it will be look like in SDK
« Last Edit: December 21, 2008, 01:28:39 AM by Namolem » Logged
Greed
Level 1 Trained Beginner
*
Offline Offline

Australia Australia

Posts: 35




amosmonk
« Reply #3 on: December 21, 2008, 01:30:21 AM »

Quote
first you need to know the model you want to use
didn't i say pot plant?
Logged
Maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 1494



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #4 on: December 21, 2008, 01:52:18 AM »

Quote
first you need to know the model you want to use
didn't i say pot plant?
do you know the name of te texture then?
Logged

Greed
Level 1 Trained Beginner
*
Offline Offline

Australia Australia

Posts: 35




amosmonk
« Reply #5 on: December 21, 2008, 02:01:52 AM »

nope, any idea where i can find it?
Logged
Petru
Guest
« Reply #6 on: December 21, 2008, 02:37:20 AM »

nope, any idea where i can find it?

source sdk -> HLMV (Half Life model viewer)

edit: u can view it in ther and u see the path..
« Last Edit: December 21, 2008, 03:13:08 AM by Petru » Logged
Greed
Level 1 Trained Beginner
*
Offline Offline

Australia Australia

Posts: 35




amosmonk
« Reply #7 on: December 21, 2008, 05:27:35 AM »

lol i dunno how to use hlmv =/ can you get the file path for the potplant for me someone?
Logged
Greed
Level 1 Trained Beginner
*
Offline Offline

Australia Australia

Posts: 35




amosmonk
« Reply #8 on: December 21, 2008, 05:31:52 AM »

wait i think i got it, the file path is:

 models\props\cs_office\plant01.mdl

so now i got the file path, what do i add to the spawn cmd?
Logged
Maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 1494



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #9 on: December 21, 2008, 12:57:40 PM »

;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 3) then est_SetModel event_var(userid) headcrab;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 2) then est_SetModel event_var(userid) headcrabblack;

thats the code for head crab, do i just do somthing like this for a pot plant?

;es es_xif(server_var(wcs_game) = server var(wcs_game_css)) then est_SetModel event_var(userid) models\props\cs_office\plant01.mdl;

??

please help =/
http://www.eventscripts.com/pages/Est_SetModelthis probably explains it better then i can and post your code in code tags Tongue
Logged

Petru
Guest
« Reply #10 on: December 21, 2008, 03:20:21 PM »

es est_SetModel event_var(userid) models\props\cs_office\plant01.mdl
Logged
Greed
Level 1 Trained Beginner
*
Offline Offline

Australia Australia

Posts: 35




amosmonk
« Reply #11 on: December 21, 2008, 05:17:36 PM »

ok i added the code petru put in but it comes up as an error on the server, its only a pot plant so it shouldn't do that, right? well any ideas why or how to fix it?

Greed
Logged
Petru
Guest
« Reply #12 on: December 29, 2008, 12:15:45 AM »

es est_SetModel event_var(userid) props\cs_office\plant01.mdl

you do not need the models part...

If this doesn't work then you probably do not have the files... Tongue

the server does has the models...
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 08:21:13 PM
What are my own benefits please explain? The only benefit from the new .net site is a nice quiet peacful active adminning community which I benefit no different than every other community member will. please mssage me on there I do not come to this site much anymore
Today at 08:17:51 PM
i still think ur out of ur mind trying to devide the whole communtiy for ur own benefits TC. Have u ever tought about working from what exists instead of tryeing to brake and start all over?
Today at 04:13:46 PM
krypt can we talk on msn?
Today at 03:39:04 PM
Thank you - that is my focus always. You should check out the new forum it has a nice tutorial section and it is starting to really grow- www.warcraft-source.net
Today at 03:04:36 PM
yes it's really silly...and we need to find a solution for us all. we should not scare the community with that kind of fighting
Today at 02:59:01 PM
We renamed it officail support forum not offical forum to appease certain people so we can all go on with our life as a community, I feel like teh community has been fighting for many months and it is silly.
Today at 02:55:54 PM
Did you talk to Danny? Cause basically he told me no worries he spoke with u and he thinks forum is a great idea! as do I and many others!
Recent
[Today at 08:38:15 PM]

[Today at 07:52:39 PM]

[Today at 07:49:21 PM]

[Today at 07:42:51 PM]

[Today at 02:39:35 PM]

[Today at 01:22:36 PM]

[Today at 08:41:38 AM]

[Today at 07:33:39 AM]

[Today at 01:53:20 AM]

[Today at 01:14:24 AM]
Theme switch

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