Raised This Month: $51 Target: $400
 12% 

Monster Mod


Post New Thread Reply   
 
Thread Tools Display Modes
solano
Member
Join Date: Nov 2009
Old 11-27-2009 , 10:46   Re: Monster Mod
Reply With Quote #41

hey Arkshine would you please give me some info about origins.
And again i want to ask can't i just say spawn entity at specific coords(x 10, y 15, z - drop to floor)
And can I see if there is something at a specific origin(will the monster be spawned on top of another monster)
And lastly when i have the origin can i change it so that it spawns the monster a little away from the origin
solano is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-27-2009 , 12:16   Re: Monster Mod
Reply With Quote #42

What you ask is what does basically CSDM. You have pre-defined spawn points and you will spawn if nobody is already to this spawn. So you should take a look on how CSDM handles that.
__________________
Arkshine is offline
solano
Member
Join Date: Nov 2009
Old 11-27-2009 , 13:35   Re: Monster Mod
Reply With Quote #43

using your code (register_ham) player get frag when he kills amonster
but there is a problem.when the monster is killed it either leaves a corpse
or laves organs and shit.the player get the frag when those stuff disapear
so my question is how to determin death animation end
whan i want is when you kill the zombie
a. if it leaves a corpse remove it and give the player a frag
b. if it leaves organs remove them and same thing
but i want there to be death animation
solano is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-27-2009 , 13:37   Re: Monster Mod
Reply With Quote #44

Not sure to understand because when I've tried, zombie corpse disappears (fade) after some times like the gibs too.
__________________
Arkshine is offline
solano
Member
Join Date: Nov 2009
Old 11-27-2009 , 13:54   Re: Monster Mod
Reply With Quote #45

yes they fade away but it takes them like 2 to 3 minutes
and i want them to disapear instantly(or stay 30 seconds most)
solano is offline
solano
Member
Join Date: Nov 2009
Old 11-27-2009 , 14:22   Re: Monster Mod
Reply With Quote #46

i went through it and i now understand what i need to do but i couldn't find how to check if there is something at a certain origin
solano is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-27-2009 , 14:34   Re: Monster Mod
Reply With Quote #47

You have to trace a hull to see if the place is vacant.

In CSDM, it uses the native : csdm_trace_hull

But you can use : fm_trace_hull() from fakemeta_util.
__________________
Arkshine is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 11-27-2009 , 14:38   Re: Monster Mod
Reply With Quote #48

Haxx way to precache zombie resources

Code:
public plugin_precache( ) {     new iEntity = create_entity( "monster_zombie" );         if( iEntity ) {         DispatchSpawn( iEntity );         remove_entity( iEntity );     } }
__________________
xPaw is offline
solano
Member
Join Date: Nov 2009
Old 11-27-2009 , 15:13   Re: Monster Mod
Reply With Quote #49

thank you arkshine i will now write a prototype plugin and see what i can do
and thank you xPaw for the code snippet

btw arkshine could you tell me where to check what the different pev are for
like pev_target,pev_user1 etc...
solano is offline
solano
Member
Join Date: Nov 2009
Old 11-28-2009 , 03:39   Re: Monster Mod
Reply With Quote #50

pretty please
and before you say i searched for pev and it just showed me different pevs and thats all no info about em
solano is offline
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 11:51.


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