|
Post by xyz on Jun 22, 2009 18:11:14 GMT 1
to max:
cg_ents.c
find this code if ( es->modelindex >= MODELINDEX_GAMETYPE_ITEM && es->modelindex <= MODELINDEX_GAMETYPE_ITEM_2 ) { cg.radarEntities[cg.radarEntityCount++] = cent; }
put under it
if ( item->giTag == WP_RPG7_LAUNCHER ) { cg.radarEntities[cg.radarEntityCount++] = cent; }
thats all u need to do....
|
|
|
Post by Charlie on Jun 22, 2009 18:56:29 GMT 1
Why just RPG? There's MM1 and M4 as well.
|
|
|
Post by xyz on Jun 22, 2009 19:11:45 GMT 1
yes, its a simple addition... max will know how to add them also, im just tellin max how to do it for ur mod!
|
|
|
Post by Charlie on Jun 22, 2009 19:52:51 GMT 1
Ah ok, well... that answers my question then, cheers. Thanks for sharing it.
|
|
|
Post by xyz on Jun 23, 2009 1:23:51 GMT 1
No problem, it was max's idea, i seen it somewhere on here a long time ago, but i guessed he didnt know how to do it so i done it for him
|
|
|
Post by amour on Jun 23, 2009 15:00:26 GMT 1
Is that C programming? =P
|
|
|
Post by xyz on Jun 23, 2009 16:26:57 GMT 1
no
|
|
|
Post by Charlie on Jun 23, 2009 17:54:53 GMT 1
That's X to the Y to the Z programming.
|
|
|
Post by xyz on Jun 23, 2009 18:27:55 GMT 1
lol
|
|
|
Post by max on Jun 23, 2009 23:02:10 GMT 1
I wanted to do it serverside (there was no clientside mod by then) by adding briefcases in the ground.
Client side it's easy indeed, added to suggestions list, thanks.
|
|
|
Post by xyz on Jun 25, 2009 12:26:35 GMT 1
oh i see...
so the briefcase is the rpg..?
always wondered what that was for..
max, if ur rpg runs out of ammo, someone dies and drops it.. it disapears or u keep it in game?
|
|
|
Post by o,O on Jun 25, 2009 12:43:41 GMT 1
Keep it in game, cuz you can still run faster with it.
|
|
|
Post by Charlie on Jun 25, 2009 14:00:08 GMT 1
oh i see... so the briefcase is the rpg..? always wondered what that was for.. max, if ur rpg runs out of ammo, someone dies and drops it.. it disapears or u keep it in game? It's always kept in the game unless someone drops it outside map. Unlike the M4 which disappears after all cages and stun bullets has been used.
|
|
|
Post by xyz on Jun 25, 2009 14:19:44 GMT 1
oh i see... so the briefcase is the rpg..? always wondered what that was for.. max, if ur rpg runs out of ammo, someone dies and drops it.. it disapears or u keep it in game? It's always kept in the game unless someone drops it outside map. Unlike the M4 which disappears after all cages and stun bullets has been used. what if someone jumps of roof with rpg? and its dropped out of map its gone? why not randomly give it to someone, or spawn at base..
|
|
|
Post by Charlie on Jun 25, 2009 14:42:25 GMT 1
It's always kept in the game unless someone drops it outside map. Unlike the M4 which disappears after all cages and stun bullets has been used. what if someone jumps of roof with rpg? and its dropped out of map its gone? why not randomly give it to someone, or spawn at base.. Because that's what Max decided the RPG's faith should be like . Don't ask me though.
|
|