-
Content count
77 -
Joined
-
Last visited
Everything posted by Jumpy
-
Heres my gsc script btw: bo1() { trig = getEnt("bo1_trig","targetname"); for(;;) { trig waittill("trigger", user); user TakeAllWeapons(); user GiveWeapon("m1911_mp"); user switchToWeapon("m1911_mp"); } } nithing happens. If i write /give m1911_mp i would get nothing, or if i wrote /give colt45_mp i would get the default colt
-
I doesn't work... So I copied these folders: images material_properties materials sound xanim xmodel xmodelparts xmodelsurfs in py raw folder. Then I copied three IWI files from the images folder from the downloaded weapon and pasted in my IWD. I opened my mp_dr_wealth.csv and added this: sound,bo2_m1911,,all_mp material,bo2_mtl_t6_wpn_pistol_m1911 xmodel,bo2_t6_wpn_pistol_m1911_view xmodel,bo2_t6_wpn_pistol_m1911_world xanim,ndr_m1911_idle xanim,ndr_m1911_fire xanim,ndr_m1911_fire_ads xanim,ndr_m1911_ads_up xanim,ndr_m1911_ads_down xanim,ndr_m1911_reload xanim,ndr_m1911_reload_empty xanim,ndr_m1911_pullout xanim,ndr_m1911_putaway xanim,ndr_m1911_sprint_in xanim,ndr_m1911_sprint_out xanim,ndr_m1911_sprint_loop xanim,ndr_m1911_first_raise and i precached: PreCacheItem("m1911_mp"); PreCacheItem("mtl_t6_wpn_pistol_m1911"); PreCacheItem("colt45_mp"); P.S it's the m1911 from bo2
-
I've seen that tut numerous of times.... He made a mod. He didnt put the weapon in his map. Correct my stoopid ass if im wrong
-
...and it worked?
-
Have u done it before?
-
So I do it like this: 1. Paste all the folders in the raw folder 2. Put the IWI files from the images file to my IWD/images folder 3. And I add this: material,mtl_plr_dnf_duke_body material,mtl_plr_dnf_duke_glasses material,mtl_plr_dnf_duke_glasses_lens material,mtl_plr_dnf_duke_hand material,mtl_plr_dnf_duke_head xmodel,viewhands_dnf_duke xmodel,playermodel_dnf_duke to my maps csv?
-
Can you atleast point out to a GOOD tutorial that shows how to do that? I've watched hundreds of them but they're either for charachters or modding...
-
Idk, I followed a tutorial... There are a lot of things I don't know in scripting
-
So your're basically saying: Fuck off and find out for yourself you noob faggit...
- 27 replies
-
-4
-
I have some questions about things in radiant and some scripts: 1. Randomizer script? For example I want to make like a mini RTD in my dr map. Like: player giveWeapon("ak47_mp"); or player freezecontrols(true); and other stuff. How do I make it so things in my script would be given at random? When I say RTD I mean just a trigger somewhere thats going to be triggered... not pressing N and stuff... 2. Why does my custom texture look like this? (It's a wall trap thats moving and the texture looks fucked...) I have a light there because it looks so dark if there is no light... I have had this problem before aswell, my custom textures looked all blurred and pixelated. 3. How do I make the player face the way the origin is facing? Thank you and I hope you can help :D
-
Thanks Sentrex. You really helped me :D
-
No. Would you give all your IQ in order to achieve physical possesions?
-
Heres my new RTD script: rtd() { trigger = getEnt("rtd_trig","targetname"); while(1) { trigger waittill("trigger", user); { { user iprintLnBold("^1Roll ^7the ^9Dice ^7activated..."); wait 0.1; user iprintLnBold("^11"); wait 1; user iprintLnBold("^22"); wait 1; user iprintLnBold("^33"); wait 1; user iprintLnBold("^44"); wait 1; random = randomInt(6); if(random == 1) { user TakeAllWeapons(); user GiveWeapon("deserteagle_mp"); user giveMaxAmmo("deserteagle_mp"); user switchToWeapon("deserteagle_mp"); user iprintLnBold("You got a ^3Desert Eagle!"); } if(random == 2) { user TakeAllWeapons(); user GiveWeapon("ak47_mp"); user giveMaxAmmo("ak47_mp"); user switchToWeapon("ak47_mp"); user iprintLnBold("You got an ^3ak47"); } if(random == 3) { user TakeAllWeapons(); user GiveWeapon("remington700_mp"); user giveMaxAmmo("remington700_mp"); user switchToWeapon("remington700_mp"); user iprintLnBold("You got a ^3Sniper"); } if(random == 4) { //user braxi\_rank::giveRankXP("", 200); user iprintLnBold("You got ^3200 XP!"); } if(random == 5) { user TakeAllWeapons(); user GiveWeapon("knife_mp"); user iprintLnBold("You got ^3Nothing!"); } if(random == 6) { user iprintLnBold("You got ^3WTF!"); user suicide(); user playSound("rtd_wtf"); } } } } } everything works apart from 6. Nothing happens... Any help?
-
No. Do you like snakes, Jimmy?
-
Omg I am so dumb
-
I commented it out becasue if it's not it will give me an error saying couldnt find some plugin that I have almost everywhere... I mean, isn't this how you add your custom XP? Why did you say 1/3 of the time? I have 6 random things to be givenat arandom, not 3.
-
Sometimes. Ooops... Did I mess this up?
-
Yes. If someone dropped the soap, would you give a fuck?
-
No. Do you give a fuck about giving fucks when needed?
-
No. Can we stop asking about stopping asking if that is going to be the last post?
-
Ok so I managed the script and it works. But how can I do so the player who activates the RTD can't activate it more than once while other player can activate it once without the trigger being deleted? Hope you understand what I mean Here's the script: P.S I will be adding more stuff rtd() { trigger = getEnt("rtd_trig","targetname"); trigger waittill("trigger", user); { { user iprintLnBold("^1RTD ^7Activated!"); wait 5; random = randomInt(6); if(random == 1) { user TakeAllWeapons(); user GiveWeapon("deserteagle_mp"); user giveMaxAmmo("deserteagle_mp"); user switchToWeapon("deserteagle_mp"); user iprintLnBold("You got a ^3Desert Eagle!"); } if(random == 2) { user TakeAllWeapons(); user GiveWeapon("ak47_mp"); user giveMaxAmmo("ak47_mp"); user switchToWeapon("ak47_mp"); user iprintLnBold("You got an ^3ak47"); } if(random == 3) { user TakeAllWeapons(); user GiveWeapon("remington700_mp"); user giveMaxAmmo("remington700_mp"); user switchToWeapon("remington700_mp"); user iprintLnBold("You got a ^3Sniper"); } if(random == 4) { //user braxi\_rank::giveRankXP("", 200); user iprintLnBold("You got ^3200 XP!"); } if(random == 5) { user TakeAllWeapons(); user iprintLnBold("You got ^3Nothing!"); } if(random == 6) { //user braxi\_rank::giveRankXP("", 20); user iprintLnBold("You got ^320 XP!"); } } } Is there anyhow I can improve my script? Does it look ok in general?
-
Oh shiet thanks dude! Your reply was the most heplful, I was looking for a website where they explained everything about scripts you know. Thanks again!
-
I mean, I am not familiar with these kinds of scripts so that's why I asked for help. Otherwise how the fuck am I supposed to learn? I know how to make scripts for traps, endrooms and other stuff... It just seemed cool to have a mini RTD in my map and it would be cool to mess around with it. If you so don't want me to have XP given in my RTD I will gladly remove it. Thanks for atleast a replying...
-
Thanks but how and where do I add my scripts and stuff? Like, can you make the complete script with the thing I want in my mini RTD? Thanks and sorry for being a noob... Things I want: player giveWeapon("ak47_mp"); player freezecontrols(true); player.maxhealth = 500; player braxi\_rank::giveRankXP("", 200); player braxi\_rank::giveRankXP("", 1000);