News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Show Posts

Messages | * Topics | Attachments

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - feliiperh

Pages: [1]
1
Mod Releases / BULLY ROLEPLAY RESPECT / FACTION SELECTOR MOD
« on: August 28, 2022, 11:22:36 PM »
BULLY ROLEPLAY RESPECT / FACTION SELECTOR MOD

Developers:
- me (Ardeloso) - Idea, clothes IDs
- SimonBestia - Making the script run perfectly


I remember when playing Bully: Canis Canem Edit in my PS2, I used to roleplay. Wear certain clothes and pretend to be part of a faction/clique. Now this is reality.
This mod works by identifying the clothing Jimmy are using. If you are using a clothe that are flagged as Jock clothe, the game will set respects and peds attitudes towards you accordingly. So on and so forth. But if you are not using any clothes related to a faction/clique, you will get neutral respects and attitude. This mod used the "The Eggs" and "Weed Killer" Missions by RockstarGames for inspiration and how to do it.
The mod detects torso clothing only. Didn't wanted to overcomplicate and mod hair, pants, shoes, etc.
- VIDEO -

- DOWNLOAD -


- UPDATE V1.1 -
Enhanced attitudes and emotions. Now it is not just your enemies (exemple: preps vs greasers) that will taunt you and bully you. If you're in a faction turf, they will do that, even if you're not they're enemy, instead of ignoring you in the v1. If you're a nerd/student, Bullies will bully you whenever they see you, as usual.

- HOW TO INSTALL -
Just extract Script.img and Script.dir in your Android/Data/com.rockstargames.bully/files/BullyOrig/Scripts folder. Or extract the STimeCycle.lur and replace in your script.img. You can use it with MSR I and MSR II.




Preps Clothes:
Aquaberry Vest(Blue)
Aquaberry Vest(White)

Nerds Clothes:
Astronomy Club Vest
Bullworth Zip-Up - Green

Jocks Clothes:
Gym Shirt (Player Wrestling Outfit Torso)
Bullworth Sport Jacket
LS Training Jacket
Bullworth Letterman Jacket
Team Football Jersey

Dropouts Clothes:
Skull Jammie Shirt (Jimmy's Pajamas Shirt)
Creepy Clown T-Shirt
 Rocker Hoodie
Rock On Shirt
Metal T-Shirt (Without Sleeves)
New Flannel Shirt
Worn Flannel Shirt

Students Clothes:
Bullworth Vest (Jimmy Uniform Vest)
Team Zip-Up (Red Bullworth Hoodie)
School Sweater (Students Uniform Vest)
Bullworth Hoodie - Blue

Bullies Clothes:
Bullworth Polo Shirt
Bullworth Hoodie - Gray

Greasers Clothes:
Leather Jacket
Old School Punk Vest
Jean Jacket
Punk Hoodie
Black Bomber Jacket

2
Hello guys,
I am trying to get a script to spawn a ped when i enter an interior, but i'm facing some problems.
I tried studying the lua files for bdorm and etc to try to understand how it spawns npcs but for now it's too complicated ... I can't manage to understand how the Spawnlocation and docklocation works.
So I did a simple lua script.
The problem is, If I get the script to run without a loop in the function or above the main loop, the game will only read my script once so If I don't load the game in the interior the ped is gone and it will not spawn again if I exit the interior. And if I put the script in a loop, the game will spawn too many npcs until the game crashes.

I tried to study Altamurenza's public sources and learn a way to do that but those scripts are something else xD I can't make sense of them. He made a mod with a public source exactly with the functionality I am looking for, he spawned preps in the prephouse, i'm trying to make a mod to make the hideouts populated.

How would you guys do it?

Code: [Select]
Populatedhideout_mod = function()
if AreaGetVisible() == 59 then
local x,y,z = GetPlayerPosXYZ()
local ped = PedCreateXYZ(ID,x,y,z)
PedMakeAmbient(ped)
end
end

3
Hey guys!
I found a youtube tutorial of how to script a basic attack mod, and the code is the following:

Code: [Select]
function main()
    -- Waiting for the game's appearing:
    while not SystemIsReady() or AreaIsLoading() do
        Wait(0)
    end
    LoadAnim()
    CreateThread("Basic_Attack")
    while true do
        Wait(0)
    end
end

function Basic_Attack()
while true do
Wait(0)
if PedIsPlaying(gPlayer, "/Global/Player/Attacks/Strikes/LightAttacks", "act/anim/Player.act") and PedHasWeapon(gPlayer, -1) then
PedLockTarget(gPlayer, -1)
PedSetAITree(gPlayer, "/Global/DarbyAI", "Act/AI/AI_DARBY_2_B.act")
PedSetActionNode(gPlayer, "/Global/G_Johnny/Offense/Short/Strikes/LightAttacks", "Act/Anim/G_Johnny.act")
repeat
Wait(0)
until not PedIsPlaying(gPlayer, "/Global/G_Johnny", true)
PedSetAITree(gPlayer, "/Global/PlayerAI", "Act/PlayerAI.act")
end
end
end

Ok, good. So, I wanted to make a mix style so, i adapted the script to apply random nodes from a table I created using daBOSS tutorial on a post about how to spawn peds random locations, and so my script is as follows:

Code: [Select]
function main()
    -- Waiting for the game's appearing:
    while not SystemIsReady() or AreaIsLoading() do
        Wait(0)
    end
    LoadAnim()
    CreateThread("Basic_Attack")
    while true do
        Wait(0)
    end
end

function Basic_Attack()
local basicnodes = {
{"/Global/G_Johnny/Offense/Short/Strikes/LightAttacks", "Act/Anim/G_Johnny.act", "/Global/G_Johnny"}, --1 and 2 for pedsetaction, 3 for pedmeplaying
{"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks/HeavyPunch2", "act/anim/Nemesis.act", "/Global/Nemesis"},
{"/Global/P_Striker_B/Offense/Short/Strikes/HeavyAttacks/Hook2", "act/anim/P_Striker_B.act", "/Global/P_Striker_B"},
{"/Global/P_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightCross/LeftDown", "act/anim/P_Grappler_A.act", "/Global/P_Grappler_A"},
{"/Global/P_Bif/Offense/Short/HeavyAttacks/RightHook", "act/anim/P_Bif.act", "/Global/P_Bif"},
{"/Global/G_Melee_A/Offense/Short/Strikes/LightAttacks/RightHook/LeftHook/RightStomach", "act/anim/G_Melee_A.act", "/Global/G_Melee_A"},
{"/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook/Uppercut", "act/anim/G_Grappler_A.act", "/Global/G_Grappler_A"},
{"/Global/G_Melee_A/Offense/Short/Strikes/HeavyAttacks", "act/anim/G_Melee_A.act", "/Global/G_Melee_A"}
}
local tableSize = table.getn(basicnodes)
local i = math.random(1,tableSize)
local node = basicnodes[i]
while true do
Wait(0)
if PedIsPlaying(gPlayer, "/Global/Player/Attacks/Strikes/LightAttacks", "act/anim/Player.act") and PedHasWeapon(gPlayer, -1) then
PedLockTarget(gPlayer, -1)
PedSetAITree(gPlayer, "/Global/DarbyAI", "Act/AI/AI_DARBY_2_B.act")
PedSetActionNode(gPlayer, node[1], node[2])
repeat
Wait(0)
until not PedIsPlaying(gPlayer, node[3], true)
PedSetAITree(gPlayer, "/Global/PlayerAI", "Act/PlayerAI.act")
end
end
end

But my player only does the regular jimmy punch and Sloppy kick (G_Melee_A).
Why is that happening??? I don't understand why it happens.
Anybody can help me?

4
Modding Questions/Help / [Help] How to change theme songs ?
« on: July 30, 2022, 11:13:35 AM »
Hey Guys!
I'm a newbie trying to make some simple mods.
Searching in the forum I managed to get a lot of lists of IDs and functions from the DaBOSS tutorial and the list of the songs that d0c posted.

I want to change the theme songs from fighting cliques, and the normal running song when it's free roam.

I know this command in lua: SoundPlayStream("song.rsm", volume)
But how do I code to identify i'm in a fight with a certain clique and change the song? And how to code to make the game understand i'm in free roam and change the song?

Thank you!

Edit: Found this post https://bully-board.com/index.php?topic=22578.0 and use the recommended command but the game is completely silent.. I'm modding STimecycle btw

5
Modding Questions/Help Archives / change ped fighting style
« on: April 19, 2015, 11:33:58 AM »
How to change a ped fighting style?
It's possible to change just the fighting style without change the faction just in ide.img?

6
it is possible to spawn kids, I've seen this a long time but I don't know how to do it, what about girls?
How to do it?How to spawn both of them?

7
Modding Questions/Help Archives / peds in everywhere
« on: April 15, 2015, 04:28:46 PM »
Ok, here is the deal.
I know how to edit with HxD to put all faction leaders in free roam and other peds when its FF FF FF FF in the hexa code.
But, I see some videos in youtube about bully mods and the preps,greasers and jocks in the boys dorm.
How to do it?
I want to put preps, greasers,bullies, everyone in the main building of the school and in the boys dorm,to the opinion that the school is not as deserted as the default.

Any help?

8
Modding Questions/Help Archives / fight style ide.img
« on: April 15, 2015, 12:22:39 PM »
I can change my fighstyle only if I do with Lefty.I copy the things and paste at the Jimmy and vice versa, but, I only can do it with Lefty, from greasers faction.
I Wanna do this with others caracters but when I try my game crash at the begginning.
I learn that from this video: https://www.youtube.com/watch?v=1ve3pS0Vutc
And from the Ultimate modding tutorial Thread.
Some help?

Pages: [1]