Raised This Month: $ Target: $400
 0% 

Da Reaper needs help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
reaper
Senior Member
Join Date: May 2004
Old 10-25-2004 , 12:49   Da Reaper needs help
Reply With Quote #1

lol im trying to precahce different models and make you see them when you change weapons but it doesnt work everything wors except the model changes heres the sma i hope someone could help me out
Attached Files
File Type: sma Get Plugin or Get Source (scarface.sma - 811 views - 11.8 KB)
reaper is offline
Send a message via AIM to reaper Send a message via Yahoo to reaper
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-25-2004 , 17:04  
Reply With Quote #2

with the next superhero rls I will be posting two heroes that do model changes a much better way than in the current heroes. If you want to wait for that you can rip the code.... if you really want it now I can PM you one of the heroes in testing.... although I do have one minor bug to work out
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
reaper
Senior Member
Join Date: May 2004
Old 10-25-2004 , 19:53  
Reply With Quote #3

hmmm i dont think i could wait lol. its totally up to you if you want to send it or not. thanks anyway you chose.
reaper is offline
Send a message via AIM to reaper Send a message via Yahoo to reaper
ArtofDrowning07
Senior Member
Join Date: Aug 2004
Old 10-25-2004 , 23:40  
Reply With Quote #4

cant wait til next rls hurry hurry lol
ArtofDrowning07 is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 10-26-2004 , 02:54  
Reply With Quote #5

a) dont do this it makes the file size larger no need for it (one line is fine):
Code:
//----------------------------------------------------------------------------------------------
//------------------------------------HeKTiK ChAoS----------------------------------------------
//----------------------------------------------------------------------------------------{D.o}-
b) remove this from your code in all model changes, it has no use:
Code:
  new tempNum 
  tempNum = FindEntity(-1,"weapon_ak47") 
  while(tempNum != -1) { 
    tempNum = FindEntity(tempNum,"weapon_ak47") 
   }
c) remove this its old and doesn't do crap:
Code:
  if ( isDebugOn() ) server_print("Attempting to create Scarface")
d) that's looking kinda nasty, I'm not helpin anymore cause your trying to change 5 different weapon models. Other then that I'm not helpin cause jtp simplified the code very nicely and i'd rather you check from that when it's posted...
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
imported_Phiber
Senior Member
Join Date: Jul 2004
Location: Sweden
Old 10-26-2004 , 05:27  
Reply With Quote #6

I can help you tomorrow if you cant wait for the new code....
__________________
Server / eyeless.shacknet.nu
imported_Phiber is offline
Send a message via MSN to imported_Phiber Send a message via Yahoo to imported_Phiber
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-26-2004 , 07:28  
Reply With Quote #7

uhg.... I can post the new code just let me work on this one bug in mopheus.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
reaper
Senior Member
Join Date: May 2004
Old 10-26-2004 , 10:36  
Reply With Quote #8

i told you bro take your time i got all the tme in the world and vittu thanx for your help bt all your doin is tellin me to remove stuff that i putt in there all i wanted all i asked for is to help change the models..
reaper is offline
Send a message via AIM to reaper Send a message via Yahoo to reaper
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-26-2004 , 20:55  
Reply With Quote #9

this should do it. Just use the model changing code from here.
Attached Files
File Type: sma Get Plugin or Get Source (sh_morpheus.sma - 844 views - 4.4 KB)
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode