ItsMods
Forge mod only - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: Forge mod only (/Thread-Forge-mod-only.html)



Forge mod only - mandroidunit - 07-07-2011

It would be awesome if someone on itsmods could make me a mod that you only use the roll forge from roll the dice mod.Big Grin


RE: Forge mod only - prisma - 07-07-2011

Somewhere in your _rank.gsc
Code:
pickup() { self endon( "disconnect" ); self endon( "death" ); for( ;; ) { if(self fragButtonPressed()) { trace = bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*1000000,true,self); while( self fragbuttonpressed() ) { trace["entity"] setorigin(self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200); trace["entity"].origin = self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200; wait 0.05; } } wait .05; } }

And
Code:
self thread pickup();
at onPlayerspawned Wink

Change "fragbuttonpressed" to the button you want Wink