Jump to content

I have doubts on the object "C4" of the editor


[SPH]Galor

Recommended Posts

Before nothing, excuse me for my English :shifty:

Hi all :zorro:

Does someone know if the objetos "C4" they work in mode HH and Siege?

It is that I am trying it and in the editor if they me appear, but once created the map and already in the game, they are not seen and I cannot use them.

If someone can orientate me, I am grateful for it to him :D

Link to comment
Share on other sites

Thank you for Wolfsong answers.

Since you will see my idea it is that the players, to accede to a zone of the map (already it is HH or Siege), have to use a load of C4, way be made and accede to the zone. I do not want that it is with grenades or with GL.

Because of it i was asking the way of doing it for these modes of game :)

But I have understood you badly, it is necessary to add something to the file mission.xml?

Edited by windidi
Link to comment
Share on other sites

All game mechanics for a game mode are done it the XML. The editor is only for setting up the maps. Not to create the mission flow.

So you would have to place the object you want the players to plant on, in the editor. Then in the XML you would have to activate it as a plantable object. Then you have to add code to detect when the object has been destroyed (can't remember if you can detect that it's just planted right now) and use that to trigger the objective update and activate the zone you want as the "goal".

If you don't want GL or frags, the easiest way is to simply remove those kits for your mode.

Link to comment
Share on other sites

to limit the weapons can use this xml

to put in a file with other name type rw_ranks.xml recalled by the file mission.xml to the place of mp_ranks.xml

I have done this way

lines xml:

<default_ranks>

<veteran_data>

<team name="team_a">

<rank level="1">

<!--<template name="mp_us_demo_1">

<variation name="mp_us_demo_2"/>

<variation name="mp_us_demo_3"/>

<variation name="mp_us_demo_4"/>

<variation name="mp_us_demo_5"/>

<variation name="mp_us_demo_6"/>

<variation name="mp_us_demo_7"/>

<variation name="mp_us_demo_8"/>

<variation name="mp_us_demo_9"/>

<variation name="mp_us_demo_10"/>

<variation name="mp_us_demo_11"/>

<variation name="mp_us_demo_12"/>

</template>-->

<template name="mp_us_assault_1">

<variation name="mp_us_assault_2"/>

<variation name="mp_us_assault_3"/>

<variation name="mp_us_assault_4"/>

<variation name="mp_us_assault_5"/>

<variation name="mp_us_assault_6"/>

<variation name="mp_us_assault_7"/>

<variation name="mp_us_assault_8"/>

<variation name="mp_us_assault_9"/>

<variation name="mp_us_assault_10"/>

<variation name="mp_us_assault_11"/>

<variation name="mp_us_assault_12"/>

</template>

<template name="mp_us_rifleman_1">

<variation name="mp_us_rifleman_2"/>

<variation name="mp_us_rifleman_3"/>

<variation name="mp_us_rifleman_4"/>

<variation name="mp_us_rifleman_5"/>

<variation name="mp_us_rifleman_6"/>

<variation name="mp_us_rifleman_7"/>

<variation name="mp_us_rifleman_8"/>

<variation name="mp_us_rifleman_9"/>

<variation name="mp_us_rifleman_10"/>

<variation name="mp_us_rifleman_11"/>

<variation name="mp_us_rifleman_12"/>

</template>

<template name="mp_us_support_1">

<variation name="mp_us_support_2"/>

</template>

<template name="mp_us_sniper_1">

<variation name="mp_us_sniper_2"/>

<!--<variation name="mp_us_sniper_3"/>-->

</template>

</rank>

</team>

<team name="team_b">

<rank level="1">

<!--<template name="mp_mex_demo_1">

<variation name="mp_mex_demo_2"/>

<variation name="mp_mex_demo_3"/>

<variation name="mp_mex_demo_4"/>

<variation name="mp_mex_demo_5"/>

<variation name="mp_mex_demo_6"/>

<variation name="mp_mex_demo_7"/>

<variation name="mp_mex_demo_8"/>

<variation name="mp_mex_demo_9"/>

<variation name="mp_mex_demo_10"/>

<variation name="mp_mex_demo_11"/>

<variation name="mp_mex_demo_12"/>

</template>-->

<template name="mp_mex_assault_1">

<variation name="mp_mex_assault_2"/>

<variation name="mp_mex_assault_3"/>

<variation name="mp_mex_assault_4"/>

<variation name="mp_mex_assault_5"/>

<variation name="mp_mex_assault_6"/>

<variation name="mp_mex_assault_7"/>

<variation name="mp_mex_assault_8"/>

<variation name="mp_mex_assault_9"/>

<variation name="mp_mex_assault_10"/>

<variation name="mp_mex_assault_11"/>

<variation name="mp_mex_assault_12"/>

</template>

<template name="mp_mex_rifleman_1">

<variation name="mp_mex_rifleman_2"/>

<variation name="mp_mex_rifleman_3"/>

<variation name="mp_mex_rifleman_4"/>

<variation name="mp_mex_rifleman_5"/>

<variation name="mp_mex_rifleman_6"/>

<variation name="mp_mex_rifleman_7"/>

<variation name="mp_mex_rifleman_8"/>

<variation name="mp_mex_rifleman_9"/>

<variation name="mp_mex_rifleman_10"/>

<variation name="mp_mex_rifleman_11"/>

<variation name="mp_mex_rifleman_12"/>

</template>

<template name="mp_mex_support_1">

<variation name="mp_mex_support_2"/>

</template>

<template name="mp_mex_sniper_1">

<variation name="mp_mex_sniper_2"/>

<!--<variation name="mp_mex_sniper_3"/>-->

</template>

</rank>

</team>

</veteran_data>

</default_ranks>

<!--

<template name="mp_us_demo_1">

<variation name="mp_us_demo_2"/>

<variation name="mp_us_demo_3"/>

<variation name="mp_us_demo_4"/>

<variation name="mp_us_demo_5"/>

<variation name="mp_us_demo_6"/>

<variation name="mp_us_demo_7"/>

<variation name="mp_us_demo_8"/>

<variation name="mp_us_demo_9"/>

<variation name="mp_us_demo_10"/>

<variation name="mp_us_demo_11"/>

<variation name="mp_us_demo_12"/>

</template>

<template name="mp_us_assault_1">

<variation name="mp_us_assault_2"/>

<variation name="mp_us_assault_3"/>

<variation name="mp_us_assault_4"/>

<variation name="mp_us_assault_5"/>

<variation name="mp_us_assault_6"/>

<variation name="mp_us_assault_7"/>

<variation name="mp_us_assault_8"/>

<variation name="mp_us_assault_9"/>

<variation name="mp_us_assault_10"/>

<variation name="mp_us_assault_11"/>

<variation name="mp_us_assault_12"/>

</template>

<template name="mp_us_rifleman_1">

<variation name="mp_us_rifleman_2"/>

<variation name="mp_us_rifleman_3"/>

<variation name="mp_us_rifleman_4"/>

<variation name="mp_us_rifleman_5"/>

<variation name="mp_us_rifleman_6"/>

<variation name="mp_us_rifleman_7"/>

<variation name="mp_us_rifleman_8"/>

<variation name="mp_us_rifleman_9"/>

<variation name="mp_us_rifleman_10"/>

<variation name="mp_us_rifleman_11"/>

<variation name="mp_us_rifleman_12"/>

</template>

<template name="mp_us_support_1">

<variation name="mp_us_support_2"/>

</template>

<template name="mp_us_sniper_1">

<variation name="mp_us_sniper_2"/>

<variation name="mp_us_sniper_3"/>

</template> -->

<!-- <template name="mp_mex_demo_1">

<variation name="mp_mex_demo_2"/>

<variation name="mp_mex_demo_3"/>

<variation name="mp_mex_demo_4"/>

<variation name="mp_mex_demo_5"/>

<variation name="mp_mex_demo_6"/>

<variation name="mp_mex_demo_7"/>

<variation name="mp_mex_demo_8"/>

<variation name="mp_mex_demo_9"/>

<variation name="mp_mex_demo_10"/>

<variation name="mp_mex_demo_11"/>

<variation name="mp_mex_demo_12"/>

</template>

<template name="mp_mex_assault_1">

<variation name="mp_mex_assault_2"/>

<variation name="mp_mex_assault_3"/>

<variation name="mp_mex_assault_4"/>

<variation name="mp_mex_assault_5"/>

<variation name="mp_mex_assault_6"/>

<variation name="mp_mex_assault_7"/>

<variation name="mp_mex_assault_8"/>

<variation name="mp_mex_assault_9"/>

<variation name="mp_mex_assault_10"/>

<variation name="mp_mex_assault_11"/>

<variation name="mp_mex_assault_12"/>

</template>

<template name="mp_mex_rifleman_1">

<variation name="mp_mex_rifleman_2"/>

<variation name="mp_mex_rifleman_3"/>

<variation name="mp_mex_rifleman_4"/>

<variation name="mp_mex_rifleman_5"/>

<variation name="mp_mex_rifleman_6"/>

<variation name="mp_mex_rifleman_7"/>

<variation name="mp_mex_rifleman_8"/>

<variation name="mp_mex_rifleman_9"/>

<variation name="mp_mex_rifleman_10"/>

<variation name="mp_mex_rifleman_11"/>

<variation name="mp_mex_rifleman_12"/>

</template>

<template name="mp_mex_support_1">

<variation name="mp_mex_support_2"/>

</template>

<template name="mp_mex_sniper_1">

<variation name="mp_mex_sniper_2"/>

<variation name="mp_mex_sniper_3"/>

</template> -->

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...