How to make a custom vehicle loadout?
#1
(09-29-2017, 04:45 AM)Redirect Left Wrote: I am currently working with a map where you win by kills and not score (i think its still on server, as no one has complained its broke).

The code is already done, it'd just need a new map and tanks adding to it. Tanks will work fine, and will act as normal when shot. However i'm not sure what kind of map would suit a tank vehicle, and offer enough cover and distance where you're instantly killed.

i want generate my map with tanks but there's no option on map generator, how to make the custom one?
[Image: fbcsErF.gif]
Reply
#2
Make the map on the generator using the NORMAL loadout. Then, when you have the map code from the generator, delete the line

Code:
#include <NORMAL> // This is your vehicle loadout. It's an include file in an arrayed format.

and replace it with all of the following (cut and paste if you like). Remember to save changes!

Code:
#define ALLOWED_FAV_TYPE 0
#define FAV_BIKE 0
#define FAV_INDUST 0
#define FAV_FAST 0
#define FAV_4X4 0
#define FAV_COACH_BUS 0
#define FAV_EMERGENCY 0
enum Vehicles
{
    vehid,
};

new vehiclearray[1][Vehicles] =
{
    {432}
};
Lead Administrator
Sumo Scripter
Sumo Map Creator
First Player to reach 100, 200, 250 and 300 recorded wins
First Player to reach 100 recorded duel wins

[Image: sig.php?name=Confucius]
Reply
#3
[Image: IgSpmsv.png]
[Image: 6jRckrM.png]

i have replaced the code, but i cant find the "submit modifications" button, i uses 2 different browsers, and same result
[Image: fbcsErF.gif]
Reply
#4
My apologies, I forgot the map generator doesn't allow modifications when a map is first created.

Log in to the map generator again, at the top left of the generator screen you'll see a link 'Edit Past Map'
[Image: Untitled.png]

Click on that, select your map from the list that appears and make your changes there. The 'Submit Modifications' button should be at the bottom.
Lead Administrator
Sumo Scripter
Sumo Map Creator
First Player to reach 100, 200, 250 and 300 recorded wins
First Player to reach 100 recorded duel wins

[Image: sig.php?name=Confucius]
Reply
#5
ohyeah, im found it, thankyou
[Image: fbcsErF.gif]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)