You dont get an entity using spawnstruct. Gotto spawn(), but you cant spawn something with a custom classname.
As such, maybe try moving your existing spawnpoints? Also, you could just hijack the...
Type: Posts; User: IzNoGoD
You dont get an entity using spawnstruct. Gotto spawn(), but you cant spawn something with a custom classname.
As such, maybe try moving your existing spawnpoints? Also, you could just hijack the...
1. Monitor if the player switches weapons
2. Replace unused slot with the "third weapon", saving the old info as the new "third weapon".
3. Done.
Ah, so no technical limitations in there, just convinience for the player
Why is there a distance check in there?
That should work most of the time.
Keep in mind that if you're using a login system, do not let the player spawn until the bar() function has completed with success. If no success, re-try the...
Async requires in-depth knowledge of how your mod works. Basically, you want to block all future calls before the results are returned, but you do want a time-out in case the mysql server has gone...
I use something like this for my download url:
<?php
if(substr($_GET["file"], 0, strlen('/JumpersHeaven')) === '/JumpersHeaven')
{
if(substr($_GET["file"], 0,...
tl;dr:
https://github.com/voron00/libcod/blob/master/libcod.cpp#L1230
Voron's libcod deletes anything that's inside your library folder. So, dont put your mod in your library folder (nor your...
>If i put 000empty.iwd and zzzmod.iwd in the maps folder then the physical copies in the server fs_game folder get deleted when i start the cod2 servers
Please specify this a bit. Are you putting...
Yeah, probably a song snippet made specifically for the movie.
Tough luck.
Thread editted to reflect that this method works on basically any ubuntu version
- 12.04 untested
- 14.04 thoroughly tested (10+ servers running for multiple years)
- 16.04 tested
- 18.04...
Try config.hpp setting COMPILE_BOTS to 0 and recompiling libcod.
There's a hook for bot movement that gets compiled in by default, it might be messing with meatbot stuffs.
look if the follownext/followprev stuff shows up in the clientcommand callback, if so, hijack it properly.
Better to just hijack the follownext/followprev stuff in-engine.
This tutorial is a quick and dirty write-up of how to set up a .ff creating thingy for your cod4 mod.
1. Make a new directory
2. Download cod4 mod tools...
Setalive() turns stuff (script_brushmodel for example) into a trigger_damage with a damage notify.
Have you checked whether the playlocalsound script is actually being called?
Make your own trigger_use_touch by using a trigger_multiple with a hud element ("Press F to activate") and a custom script.
please refer to my signature.
WHAT does not work? Did your pc explode? Did you not hear any sound? Did it not play randomized? Did it only start another, randomized, song after respawn? Is it not...
Try triggeroff() and triggeron() in _utility.gsc at map start and report back.
which
is
what
the
sequence
thing
is
for
Why not load this at the start of a map, and just not get new changes until after?
Do you savemodel after you setmodel at spawn?
download some mod that has sprint in it. Look at how it's handled there.
Most mods do it by giving the user a different weapon with no model/potatoe.
Which is why you see your gun disappear.
For libcod, you can set a per-player speed (player setg_speed(newspeed))....