Jump to content

New game mode update


Recommended Posts

Things that are working properly:

I can start a server with my test map, choose a kit, and spawn into the game

Random spawn selection works

Random objective selection works

Objective icon appears at the proper randomly chosen objective

Smoke appears at randomly chosen objective (same location as objective icon)

Issues:

Entering area does not change smoke color (stays red)

Entering area does not trigger the capture event, so the next current (first) objective does not end, and the second objective does not display

I have ideas of where to start trouble shooting, so I will keep plugging along, but any help would be appreciated.

Link to comment
Share on other sites

Things that are working properly:

I can start a server with my test map, choose a kit, and spawn into the game

Random spawn selection works

Random objective selection works

Objective icon appears at the proper randomly chosen objective

Smoke appears at randomly chosen objective (same location as objective icon)

Issues:

Entering area does not change smoke color (stays red)

Entering area does not trigger the capture event, so the next current (first) objective does not end, and the second objective does not display

I have ideas of where to start trouble shooting, so I will keep plugging along, but any help would be appreciated.

Have you checked the HH script to see how the smoke changes in there?

<_<

Link to comment
Share on other sites

Okay, when I'm in the zone, I can see my team point counter alternate between 10 and 9 (points start at 10 and count down to zero), so I know that it is being reset every time the event runs (very second). Anyone know how to fix it? Here is the relevant section of code:

<event name="update_side_1_capture">

<element type="Calculate">

<sub target="side_1_time_in_zone" source="1" />

</element>

<element type="SetSideScore" score_a="side_1_time_in_zone" score_b="side_2_time_in_zone" from_var="true" />

<element type="ColorSmoke" side="1" name_id="hh_smoke" />

<element type="TriggerEventIfVar" var="side_1_time_in_zone" equal="0" event="side_1_capture_objective_1" />

</event>

I think I need to remove the "SetSideScore..." line.

Link to comment
Share on other sites

*thinking out loud*

:hmm: Removing SetSideScore changes both scores to "50", but it still does not count down...somehow scores are being added in to equal "50"...smoke always shows as opposing team (doesn't matter which team I spawn in as)...rebel points counter seems to constantly fluctuate....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...