generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Re: How do Base Wars weapons work?

Previous Thread :: Next Thread 
complexo is not online. complexo
Joined: 07 Jan 2009
Total Posts: 1547
05 Jul 2017 08:03 PM
They work amazingly well. Usually, weapons work in ################ ## ################ ################## -Instant fire, delayed impact (Fires with a localscript) -Delayed fire, instant impact (No localscript) Either way, you can't consistently hit a moving target. The first type of weapon requires even raycasting weapons to be fired where the target will be instead of where they are. The second type of weapon requires you to instead aim where the target will be, because by the time the weapon fires the target will have moved. Base Wars weapons have instant fire and instant impact. But how?
Report Abuse
CodeLad is not online. CodeLad
Joined: 23 May 2017
Total Posts: 119
05 Jul 2017 08:05 PM
reycasting
Report Abuse
complexo is not online. complexo
Joined: 07 Jan 2009
Total Posts: 1547
05 Jul 2017 08:07 PM
I know they use raycasting, but it takes more than that.
Report Abuse
CodeLad is not online. CodeLad
Joined: 23 May 2017
Total Posts: 119
05 Jul 2017 08:08 PM
reycasting and click
Report Abuse
complexo is not online. complexo
Joined: 07 Jan 2009
Total Posts: 1547
05 Jul 2017 09:03 PM
Can deliberately boosting your post count by spamming useless messages be bannable already?
Report Abuse
HaydenSpernato is not online. HaydenSpernato
Joined: 06 Dec 2012
Total Posts: 2004
05 Jul 2017 09:04 PM
he's not lying, that's how they work.

do you want the script or something lmao?
Report Abuse
complexo is not online. complexo
Joined: 07 Jan 2009
Total Posts: 1547
05 Jul 2017 09:12 PM
That's like asking how a plane flies and saying "with wings".
It's blatantly obvious, and clearly not what the question sought to find out.

Anyway, what I want is not the contents of the scripts, but the types of the scripts.

I'm beginning to suspect that the weapons might be purely localscripts, because I can seem to create an instantaneous serverside effect with a weapon that uses only localscripts; which is exactly what Base Wars weapons do. I'll need to test it some more though.
Report Abuse
KamskyHusky is not online. KamskyHusky
Joined: 07 Apr 2010
Total Posts: 9707
05 Jul 2017 10:33 PM
Jesus, if all you wanted was a full paragraph on how the whole script works, you could’ve just asked nicely.
Report Abuse
complexo is not online. complexo
Joined: 07 Jan 2009
Total Posts: 1547
06 Jul 2017 04:33 AM
I don't need to understand the whole script, just the most basic structure of it.
Like, which types of script are used and where.
Report Abuse
RNApoint is not online. RNApoint
Joined: 25 Nov 2015
Total Posts: 50
06 Jul 2017 06:11 AM
It works by pew pew scripts


:^)
Report Abuse
CMVProduction is not online. CMVProduction
Joined: 12 Mar 2012
Total Posts: 136
06 Jul 2017 09:05 AM
local make_gun = true
local make_irl_guns = true

function shootWhenPlayerClicksOnMouse()
local make_raycast = true
local shootDirectionWherePlayerIsLooking = true
local makeDamageBetween1And100 = math.random(1, 100)
local contactServerWhenPlayerShootsBullet = true
end

function stopShootingWhenPlayerStopsHoldingOrClickingMouse()
local stop_shooting = true
end

~Siggy? What is a siggy?
Report Abuse
CodeLad is not online. CodeLad
Joined: 23 May 2017
Total Posts: 119
06 Jul 2017 07:09 PM
local script and server script

local script for mouse input server script for raycasting and damage

or

local script for mouse input and raycasting and server script for damage

depends on your guns and how much you trust the client

usually, you don't want to trust the client
Report Abuse
elgamerpro77777 is not online. elgamerpro77777
Joined: 21 May 2016
Total Posts: 2
06 Jul 2017 07:17 PM
oye yo te ayudo ya llevo tiempo haciendoles mejoras al mad murder y te puedo ayudar po ## robux te pareze
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image