|
|
Server / Mod Support Discuss our servers - Questions, requests, complaints, etc.. Need help with your server? Have any amxx questions/suggestions? |
Views: 963 - Replies: 14
|
Share | LinkBack | Thread Tools |
|
|||
Enitity Help
I have been trying to learn how to switch some things around in the bsp file using bsp edit and been successful but can't figure out two things. How to use a models from another map or custom model. Also how to use the trigger_mulitiple to make things happen in order such as the kickass bombing flyby you have on your server I assume it has something to do with func_mortar_fields and I have looked at other code from some other maps but can't get it to work. Some example code would be greatly appreciated.
|
|
||||
its really simple to add models, just use the env_model entity.. just put in the xyz for the origin and this will create an entity of the grandfather clock model with the pendulum swinging... Code:
a possible problem with just 'copying' them from other maps and such might be the targetname... ..i cant really remember as its been a while.. but i think models you add thru ripent/bspedit must have a targetname key/value, otherwise they dont show up ingame.. i could be wrong tho.. but at least i think thats how it works.. Also how to use the trigger_mulitiple to make things happen in order such as the kickass bombing flyby you have on your server I assume it has something to do with func_mortar_fields
well i dont think im currently using any trigger entities for anything anymore.. the mortar/airstrikes whatever you want to call them on ava is done with just func_buttons and func_mortar_field.. I would much rather use a trigger on it as i could probably make it better then it is now.. but it seems to lose the id of the person who hit the button when the task is passed thru a trigger and and they dont get credit for killing anyone.. and im not totally sure.. but i think trigger_multiple is a brush entity.. so if your 'adding' one thru bspedit you have to replace the entity on a brush thats already there.. and i think the best way to make things happen in order and such is thru the multi_manager | AvaMods | dodplugins | amxx plugins | Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.
Last edited by diamond-optic; May 20th, 2007 at 05:23 PM. |
|
|||
Thank You
Thank you for taking the time to explain this I really appreciate everything you do for the dod community hope to see many more thing. Its people like yourself that have kept this game alive with the always changing plugins and new idea's.
Hat's Off Killemall4u |
|
|||
That worked Great
The model works no pendulum Swing
The problem im having now is I can walk threw the clock how do I make it solid also a problem with ambience sound when I put the code in for it I hear the sound when I first join the game trying to trigger this to a event why is this happening. Also one more request and I'll leave you alone can you post example code for func_buttons and func_mortar_field tied together I'm having a hard time understanding it even after reading on VERC sorry its all new to me but I am trying to learn how instead of just asking for someone to do it for me lol { "origin" "815 -223 -123" "message" "ambience/ae_radio.wav" "pitchstart" "100" "pitch" "100" "health" "3" "spawnflags" "2" "targetname" "airstrike" "classname" "ambient_generic" } Last edited by Killemall4u; May 20th, 2007 at 10:35 PM. |
|
||||
oh ya my mistake forgot the default model that comes with dod i dont think has the animation.. :-\ forgot i had a custom one The problem im having now is I can walk threw the clock how do I make it solid
there isnt really a way to do this thru just editing the entities in the bsp file.. tho you can write an amxx plugin to make it solid.. (well bounding box solid) problem with ambience sound when I put the code in for it I hear the sound when I first join the game trying to trigger this to a event why is this happening.
set the spawnflags on the ambient_generic to include 16
an example would be 49 = play everywhere, start silent, and is not looped.. ................. and for hooking a button and mortar field together.. only a few keys are really of concern to have the button trigger the mortar field func_button: "target" "whatever_name_you_want" func_mortar_field: "targetname" "same_name_as_button_target" thats all that needs to be matched up to have them work together | AvaMods | dodplugins | amxx plugins | Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.
|
|
|||
Thanks Again
What am I doing wrong just trying to get flyby sound then followed up by some mortars with explosions what triggers this walking in a certain location im lost please help this is what im trying to use the origins on this are not correct just example
{ "rendermode" "5" "target" "flyby" "delay" "3" "targetname" "flyby" "spawnflags" "3" "wait" "3" "speed" "5" "angles" "0 0 0" "rendercolor" "0 0 0" "spawnflags" "256" "classname" "func_button" } { "origin" "482 240 -39" "targetname" "flyby" "m_iDamage" "50" "m_iCount" "1" "m_flSpread" "64" "rendercolor" "0 0 0" "classname" "func_mortar_field" } { "origin" "-220 3260 268" "targetname" "flyby" "renderamt" "50" "rendermode" "5" "scale" "1" "model" "sprites/mapsprites/kexplosion1.spr" "framerate" "10" "angles" "0 0 0" "rendercolor" "0 0 0" "spawnflags" "2" "classname" "env_sprite" } { "origin" "-243 3227 235" "message" "ambience/forestmortar.wav" "targetname" "flyby" "spawnflags" "56" "pitchstart" "100" "pitch" "100" "health" "10" "classname" "ambient_generic" } { "origin" "-243 3227 235" "message" "ambience/flyby.wav" "targetname" "flyby" "spawnflags" "56" "pitchstart" "100" "pitch" "100" "health" "10" "classname" "ambient_generic" } Whats the chance of that plugin I know I'm not the only one that would want that plugin if you have the time Last edited by Killemall4u; May 21st, 2007 at 12:39 AM. |
|
|||
Figured it out
Thanks for your help is there a way to pin point where the mortars start? How do I delay the next airstrike it just keeps going no stop lol cant even walk
Also any chance in you making that model plugin and sending me the thing for shrikebots? Last edited by Killemall4u; May 21st, 2007 at 11:51 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|