Newbie question regarding resnodes

Discussion in 'Mapping' started by Marshall Mash, Nov 29, 2009.

  1. Marshall Mash

    Marshall Mash 3D Artist

    Messages:
    590
    Likes Received:
    0
    Trophy Points:
    0
    So I thought I'd try out some Empires mapping, however there is one thing I can't understand.
    On the wiki - http://wiki.empiresmod.com/index.php?title=Resource_nodes it says that I should add two new fields in the Outputs page, 1)OnEnable, target=(name of emp_resource_point_prop), action = Enable 2)OnDisable, target=(name of emp_resource_point_prop), action = Disable

    The thing is, I can't understand where these lines are supposed to go.

    [​IMG]

    If someone could point out where and how on this image, I'd be eternaly grateful.
     
  2. Demented

    Demented Member

    Messages:
    2,337
    Likes Received:
    0
    Trophy Points:
    0
    Make an emp_resource_point_prop first and give it a name. Let's say its name is "Fred The Fantabulous".
    Then you go back to the outputs of your emp_resource_point.

    1

    In,
    "My output named" you select "OnEnable".
    "Targets entities named" you select "Fred the Fantabulous".
    "Via this input" you select "Enable"

    2

    In,
    "My output named" you select "OnDisable".
    "Targets entities named" you select "Fred the Fantabulous".
    "Via this input" you select "Disable"
     
  3. Marshall Mash

    Marshall Mash 3D Artist

    Messages:
    590
    Likes Received:
    0
    Trophy Points:
    0
    Hey, that worked.


    Thanks a bunch.
    Can't seem to get the prop to disappear when being build on though.
     
    Last edited: Nov 29, 2009
  4. Metal Smith

    Metal Smith Member

    Messages:
    4,520
    Likes Received:
    3
    Trophy Points:
    0
    I believe you can set the prop to move with the resource node in that it auto enables / disables if you set it up right, but I can't remember for sure.

    If all else fails, just set it so that when the res node is ENABLED, prop is ENABLED.

    Enabled res nodes CAN be built upon, so while it's ENABLED, you want to have the prop ENABLED.

    All conditions are based upon what condition the res node is in. Make sure you are naming your res nodes and res node props in a way to make it easier for you to remember what is what.

    res_node_1, res_node_prop_1, res_node_smoke_1 is a good naming scheme to start with.
     
  5. Marshall Mash

    Marshall Mash 3D Artist

    Messages:
    590
    Likes Received:
    0
    Trophy Points:
    0
    It doesn't seem to work, I've enabled everything and I can place the refs, but the resnode prop refuse to go away when a ref is placed.
    Here is a picture of the resnode/point properties:
    [​IMG]

    Here is the Output channel:
    [​IMG]

    Here is the point prop:
    [​IMG]

    And here is the point prop input:
    [​IMG]
     
  6. Varbles

    Varbles Simply Maptastic. Staff Member

    Messages:
    2,093
    Likes Received:
    26
    Trophy Points:
    0
    well the black arrow pointing at the dot with the red line means your input is broken and black arrow pointing away from the dot with the red line means your output is broken.

    anything with a red line means theres a problem :(
     
  7. Icely

    Icely Member

    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    0
    The red text indicates Hammer doesn't think it is valid (the Enable input shown in this case). If you look at the drop down menu you'll see an InputEnable and InputDisable for the emp_resource_point_prop. For some reason a lot of the the entities in Empires have that instead of a simple Enable/Disable. That will at least make Hammer happy with it, weather or not it'll work I don't know.
     
  8. Marshall Mash

    Marshall Mash 3D Artist

    Messages:
    590
    Likes Received:
    0
    Trophy Points:
    0
    Thanks alot Icely, this solved my problem.

    Someone should update the wiki with this information since others will probably run into the same problem.
     
  9. Solokiller

    Solokiller Member

    Messages:
    4,861
    Likes Received:
    7
    Trophy Points:
    0
    Most likely, since the resource point code is probably still from V1.0, the hammer input was named inputEnable/Disable instead of just Enable/Disable.
     
  10. Metal Smith

    Metal Smith Member

    Messages:
    4,520
    Likes Received:
    3
    Trophy Points:
    0
    >_> that was your problem?

    I was just always selecting it from the drop down menu :P
     

Share This Page