Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] (solved) how to change (twick) the hook in a map?

#1
Is it possible to reduce the usage time on the hook as they gather in a map? I wish that time is of about 10 seconds before disappearing.
Reply

#2
Enable the real hook (?).
Code:
g_grappling_hook 1
[Image: 21.png]
IRC (QuakeNet): #bot.xonotic | #xonotic.pickup | #xonotic | #xonotic.cup
Steam | Twitch.tv | YouTube
Movies: Mirification #1 | #2 | Mirificaption #1 | #3 | #4 | [BOT] Clan #3 | #5 | #6 | #7 | [BOT] Clan #4 | #8 | #9

Reply

#3
(08-10-2011, 11:26 AM)Mirio Wrote: Enable the real hook (?).
Code:
g_grappling_hook 1
No my friend, I mean I am doing a map in which I put a hook as a weapon. I want the player who picks up the hook can use it only for a few seconds. By default the hook can be used more than one minute I think. In this map the function of the hook is just to avoid falling into a deep pit, that's all.
Reply

#4
You want to tweak the hook weapon balance settings, the relevant cvars start with g_balance_hook_primary_. I guess you're after g_balance_hook_primary_hooked_time_max.
Reply

#5
(08-12-2011, 04:11 AM)Mr. Bougo Wrote: I guess you're after g_balance_hook_primary_hooked_time_max.
It is probably that.
So do you know how the setting into a map? The only parameters that I can change using the "N" key are ammo_cells, respawntime, respawntimejitter, team, cnt. Do I have to do a script?
Reply

#6
You do indeed, in the mapinfo file. I suggest you read Docs/mapping.txt, it's a very important step in mapping, if you want to do things right. What you want is explained in Appendix A.

Now for my opinion in this subject... I would not do this if I were you, modified balance settings is something not everybody likes on their server (be it players or admins), so admins have the possibility to disable map-specific modifications using the g_mapinfo_settemp_acl cvar.
So, don't count on settemp to make your map playable.
Reply

#7
(08-13-2011, 02:55 AM)Mr. Bougo Wrote: Now for my opinion in this subject... I would not do this if I were you, modified balance settings is something not everybody likes on their server (be it players or admins), so admins have the possibility to disable map-specific modifications using the g_mapinfo_settemp_acl cvar.
So, don't count on settemp to make your map playable.

thank you, I think I'll follow your advice, it's a shame because in this map there was a place for this tool to use as a portable teleporter. And thank you for that reference it will be very instructive for me to read it.
Reply

#8
Hook uses fuel, and you likely have nothing else on your map that provides fuel. So, just setting ammo_fuel low may be good enough. Then the hook itself won't time out, but you can only use it once.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#9
(08-14-2011, 05:46 AM)divVerent Wrote: Hook uses fuel, and you likely have nothing else on your map that provides fuel. So, just setting ammo_fuel low may be good enough. Then the hook itself won't time out, but you can only use it once.

Thank you, this is what I have done and I put the var in the .mapinfo and it works as I wanted. I did set up the fuel to 30 that give about less than 5 seconds of use.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [NEED HELP] Change mapinfo to make a CTF map a CTS map. Bhagwa-Yodhak-69 3 782 09-08-2020, 06:03 AM
Last Post: _para
  [NEED HELP] Need old rifle model(solved) Kotangens 8 760 08-27-2020, 01:42 AM
Last Post: Kotangens
Question [NEED HELP] How to create warpzones? (solved) Kotangens 10 1,313 08-19-2020, 07:05 AM
Last Post: Kotangens
Question [NEED HELP] How to use textures for radiant(win version)? (solved) Kotangens 4 1,001 08-12-2020, 01:33 AM
Last Post: Kotangens
  Change campaign last level beat permanently Pallama 2 1,596 02-07-2020, 02:22 PM
Last Post: DarkFox
Question [NEED HELP] can't build netradiant (SOLVED) bananovenc 8 1,413 12-25-2019, 10:07 PM
Last Post: Lyberta
  [NEED HELP] Xonotic change data directory Bla1 2 918 06-26-2019, 12:45 AM
Last Post: Bla1
  [NEED HELP] How to change dualshock gamepad sensitivity? NEOalquimista 2 2,377 09-04-2017, 11:25 AM
Last Post: It'sMe
  [BUG] Grappling hook breaks if no new key is pressed while it is midair (new since 8.2) reth 2 1,636 05-13-2017, 06:52 AM
Last Post: reth
  [SOLVED] How can I change my name here on the forum? wannawin 7 3,172 08-23-2016, 06:52 PM
Last Post: wannawin

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-