Page 1 of 1

crosshair??

Posted: February 19th, 2010, 9:25 pm
by Enlightment
hey guys...

i dunno if i can do this but is there any way to change the crosshair from the thick white cross to maybe a sniper chrosshair or nothing or anything just wondering cuz i dont really like it that much n thought maybe i could change it or something?? :| if not tis ok

another question:
is it possible to script when you press left click it creates a platform... at your position and make it so if that platform hits ya you die.. cuz im thinking of creating a bullet and making that the model of the platform and have it move at a fast speed but then dissapear when it is at the end... im not askin for code just wondering if its possible..

one more:
i wanna make it so when i jump in water the water pushes me as though its a rapid river of some sort.... is there any way possible of doing that...

thank you in advance... :D

EDIT:
theres one last thing thats bugging me and i dunno how to do it... i wanna make 2 textures overlap.. like bellow and have spent the last hour trying to find out how to do it... as you can see the grass sorta disapears and changes into that rocky texture... n thats what i wanna doif anyone can tell me how it would be much appreaciated :)
Image

Re: crosshair??

Posted: February 20th, 2010, 3:41 am
by Runescapedj
I don't know the first, second, and last question, but I think I know the 3rd

Maybe you can use jumppad?

and the second: I know how to make a platform that makes you die when you hit it, but I don't know how to make it move, it's the same as making lava, glass or water, but then create respawn. (esc, edit materials, respawn)

Re: crosshair??

Posted: February 20th, 2010, 3:47 am
by Enlightment
yay finally a reply thank god..

thank you for your ideas maybe ill give em a try... thanks ;)
ill post back if they work or not but one problem would be the annoying boing sound that plays

Re: crosshair??

Posted: February 20th, 2010, 3:50 am
by Runescapedj
anoying sound?

Re: crosshair??

Posted: February 20th, 2010, 4:37 am
by Enlightment
you know the boing sound that plays when you use a jump pad..
yea the jumpad thing works very well thank you :)
although the platform thing doesnt the model itself needs to be respawn.... and faster.. and non reboundable lol

Re: crosshair??

Posted: February 20th, 2010, 5:00 am
by Runescapedj
oh that sound, but sorry, I can't help you futher with that bullet, the only code stuff is with respawn points and run_mode, and that was just an other engine

Re: crosshair??

Posted: March 21st, 2010, 6:43 am
by Leo_V117
First question is easy, i modified my crosshairs in both the RPG and Edit Mode. Simply go to this URL: http://www.quadropolis.us/node/2295 and download that file, this is for preset crosshairs, or, if you want to make your own, go into "PlatinumArtsSandbox2.5/data" select the "crosshair" file and edit it. then save it. It works fine considering i did it with mine. It works the same for the "edit" crosshair too. I should publish them to let you take a look. to add your own, select a crosshair type and rename it to "crosshair" copy and paste it into "PlatinumArtsSandbox2.5/data" and replace the existing file.

I think I know the jumppad one too. rename the sound "boing_x" from "PlatinumArtsSandbox2.5/packages/sounds/free" to "boing" and create a blank sound and call it "boing_x" and it should clear it.

And the bullet one. How about a Platform entity and a respawn wall infront of it. so it will just push you into it. then behind the respawn wall, preferably a wall behind the respawn blocks, set it for noclip, then behind that, place a teleport entity and below your map in a small room that is large enough for the platform to slide through it, place a teledest entity and tag both the teleport and the teledest entity as 5. hopefully the bullet will push you into the respawn and the bullet will teleport below your map and never show up again.

- Leo

Re: crosshair??

Posted: March 21st, 2010, 9:16 pm
by Venima
the crosshair thing just edit data\crosshair.png

the bullet thing, try using rpg mode as a spell without any effects but just a bullet like model

Re: crosshair??

Posted: March 22nd, 2010, 12:20 am
by Hirato
the path is done via blendmaps, define a texlayer for the texture (you can use /vlayer in SVN or post 2.5.0 versions), and use blendmap brushes to paint the layer over a texture. you can change the paint mode by pressing P.

and as far as bullets go, they're not really active yet, the SSP and the RPG have the closest to working bullets right now in sandbox.

to change the crosshair, use /loadcrosshair "path" "type, where type is a number, 0 - default, 1 - team, 2 - hit, 3 - edit

and you can try to fake rapids by using jumppads, I'll consider a pusher ent that's smoother as far as velocity goes, and without the noise to boot

Re: crosshair??

Posted: March 22nd, 2010, 1:48 pm
by Leo_V117
That would be handy, yet i have a simpler way to load crosshairs. through a complex code called autoexec in the root folder. Ill submit it for you all to use. it allows you to select from about 20 or so preset crosshairs, then load your own too. It also lets you set the size. Check "Crosshairs Menu" In "Tutorials and Resources" and follow the link to the download site. Also, Ill supply a few more crosshairs and allow you guys from the Sandbox Project to program it into sandbox. under my name of course. ^^ that okay with you?